Answer the question
In order to leave comments, you need to log in
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
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>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question