By Edgar on Sunday, 26 February 2017
Posted in General Issues
Likes 0
Views 478
Votes 0
Hello,

I'm creating a forum where I want users can change post status. I checked in "Post Status" and set all on yes. But it works only if I give users the autorisation to lock/unlock topics.

How can I do to give them only the power to change post status and not to lock/unlock the topics ?

Thanks for your help,

Edgar
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

I've checked the code, it seems like that is default checking of this, if the user can able to lock the thread, mean this user should have the permission to moderate discussion thread.


<?php if (($post->canFeature() && $post->isQuestion()) || ($post->canLock() && $post->isQuestion())) { ?>


By the way, the checking file is located at JoomlaFolder/components/com_easydiscuss/themes/wireframe/post/default.actions.php
·
Sunday, 26 February 2017 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, Thanks for your answer, it will help to solve the problem.
·
Sunday, 26 February 2017 20:13
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Monday, 27 February 2017 00:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post