Answer the question
In order to leave comments, you need to log in
How to prevent a group from posting news on the homepage in DLE?
Hello.
Help solve the problem.
Created a group of moderators.
In the group settings:
In the "Admin panel" tab, everything is disabled, except: "Editing all news"
In the "News" tab, it is enabled: "Allow to add news from the site"
In the "News" tab, it is disabled : "Allow to publish on the main page"
The group does not have access in the admin panel, there is no access to quick editing of news.
The quick edit button is hidden like this:
[group=1][edit]<i class="fa fa-cog" style="margin-left: 5px;"></i>[/edit][/group]
Answer the question
In order to leave comments, you need to log in
In general, I solved the problem.
In the file engine/modules/addnews.php on line 167 is:
if( ! $user_group[$member_id['user_group']]['moderation'] ) {
$approve = 0;
$allow_comm = 1;
$allow_main = 1;
$allow_rating = 1;
$news_fixed = 0;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question