Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Disable new thread option for user

More
16 years 5 months ago #35538 by manjunath123
I do not want registered user to create new threads. I have created few categories and few threads under that. I want all the user to only reply to the posts created by admin.
How do i do it?? Any suggestions??

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #35549 by xillibit
Hello,

open the file components\com_kunena\template\default_ex\view.php and remove this line 277 :
Code:
$thread_new = CKunenaLink::GetPostNewTopicLink($catid, isset($fbIcons['new_topic']) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['new_topic'] . '" alt="' . _GEN_POST_NEW_TOPIC . '" title="' . _GEN_POST_NEW_TOPIC . '" border="0" />' : _GEN_POST_NEW_TOPIC);

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #35595 by manjunath123
hello..

open the file components\com_kunena\template\default_ex\view.php and remove this line 277 :

Code:
$thread_new = CKunenaLink::GetPostNewTopicLink($catid, isset($fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons . '" alt="' . _GEN_POST_NEW_TOPIC . '" title="' . _GEN_POST_NEW_TOPIC . '" border="0" />' : _GEN_POST_NEW_TOPIC);


Thank you for your post..

It works but this will stop even admin from creating new threads.
When login to site as a super admin I dont see new thread option. How I get that for admin users??

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #35599 by xillibit
In lines 274 to 278 change this code :
Code:
if ($is_Moderator || ($forumLocked == 0 && ($kunena_my->id > 0 || $fbConfig->pubwrite))) { //this user is allowed to post a new topic $thread_new = CKunenaLink::GetPostNewTopicLink($catid, isset($fbIcons['new_topic']) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['new_topic'] . '" alt="' . _GEN_POST_NEW_TOPIC . '" title="' . _GEN_POST_NEW_TOPIC . '" border="0" />' : _GEN_POST_NEW_TOPIC); }

by this:
Code:
if ($is_Moderator) { //this user is allowed to post a new topic $thread_new = CKunenaLink::GetPostNewTopicLink($catid, isset($fbIcons['new_topic']) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['new_topic'] . '" alt="' . _GEN_POST_NEW_TOPIC . '" title="' . _GEN_POST_NEW_TOPIC . '" border="0" />' : _GEN_POST_NEW_TOPIC); }

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #35601 by manjunath123
Thanks a lot. It worked fine.

It was still coming on show category page so I changed same thing in components\com_kunena\template\default_ex\showcat.php Line: 250

It worked fine..

Thank you :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.279 seconds