- Posts: 1457
- Thank you received: 71
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question [Merged topic] How can I make ONLY moderators to be able open new threads?
Please Log in or Create an account to join the conversation.
I want that button doesn't appears for ordinary users in a specific fórum.
Please Log in or Create an account to join the conversation.
btw that was only the view.php file you would need to edit teh other file the same way too to make it so that only moderators can post on any category
Please Log in or Create an account to join the conversation.
Actually, it should be possible to selectively disallow "ordinary users" having access for some categories, but you need to write PHP to do it.Thats not possible you can disbale it for ALL categories or NONE there is no way to do only some categories and not others.
The current code in view.php is
I haven't tested the idea and I have no way of knowing if it works. That's for you to discover. Good luck.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
we dont need to make it so hard, this one is very simple to do
Function $is_Moderator already check if user have permission in that category and we need to stop check on the User id.
As I said before changes should be done in two files view.php (line 274) and showcat.php (line 251).
You'll find that code
You need to delete red code like thatif ($is_Moderator || ($forumLocked == 0 && ($kunena_my->id > 0 || $fbConfig->pubwrite)))
that's all. :laugh:if ($is_Moderator || ($forumLocked == 0 && ($fbConfig->pubwrite)))
After that your GLOBAL MODERATORS (without assigned categories) are available to make new topic in whole forum, your MODERATORS (with assigned categories) can make a new topics ONLY in categories where they are moderators.
Regards
Please Log in or Create an account to join the conversation.
micheltl wrote:
(Emphasis added by me) See the difference?I want that button doesn't appears for ordinary users in a specific fórum.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Hi guys,
we dont need to make it so hard, this one is very simple to do
Function $is_Moderator already check if user have permission in that category and we need to stop check on the User id.
As I said before changes should be done in two files view.php (line 274) and showcat.php (line 251).
You'll find that codeYou need to delete red code like thatif ($is_Moderator || ($forumLocked == 0 && ($kunena_my->id > 0 || $fbConfig->pubwrite)))
that's all. :laugh:if ($is_Moderator || ($forumLocked == 0 && ($fbConfig->pubwrite)))
After that your GLOBAL MODERATORS (without assigned categories) are available to make new topic in whole forum, your MODERATORS (with assigned categories) can make a new topics ONLY in categories where they are moderators.
Regards
thats exactly what i did in my post LOLOL
Please Log in or Create an account to join the conversation.
The solution is close to being found from the suggestion of sozzled.
Your tip, @aquila, would be the most charming, but my forum have two categories. One, free, where any user can start threads. And the other one, where only moderators can start threads. Your solution would be perfect if I have only the second.
Please Log in or Create an account to join the conversation.