A
A
Andrey Frolov2016-01-27 22:18:33
DLE
Andrey Frolov, 2016-01-27 22:18:33

How to block access to unauthorized users in DLE?

How to do it in dle:
If the user is not authorized, only registration and authorization are available. All other sections of the site are prohibited.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Tutubalin, 2016-01-31
@Kennius

main template needs to be fixed

<body>
{AJAX}
[group=5]
<div class="guest">
<a href="/index.php?do=register">Регистрация</a> <a href="#">Авторизация</a>
</div>
[/group]
[group=1,2,3,4]
тут все остальное
[/group]
</body>

this is so offhand
there is also a tag [not-group=x] text [/not-group]
PS Authorization in the pop-up window make modules full
https://dle-news.ru/extras/online/index.html?start. .. everything is written here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question