• 本站招聘各个版块版主共同发展,有意可私聊站长
资源图标

Thread starter reply only 2.1

没有下载权限

庆祝国庆中秋本站暂时关闭邀请码注册 https://t.me/tearcc

Description:

Allows only the thread starter and selected user groups to make replies.



(Example of Options page)



pic001-jpg.205854





(Example of Template modifications)



pic002-jpg.205855





Features:


Only the thread starter and selected secondary user groups are allowed to reply.
All phrases start with threadstarterreplyonly_ for your convenience.
Template modifications:

By default the Moderating and Administrative user groups are allowed to reply. If you want to allow another user group, you will need to edit the Template modifications. In order to edit Template modifications, you need to enable Development mode.



Add the following code to your config.php file:

$config['development']['enabled'] = true;



Once you have enabled Development mode, edit the Template modification. Look for this code:

<xf:elseif is="{{$xf.visitor.isMemberOf([3,4])}}" />



add additional user group IDs after the 3,4. Be sure to separate each number with a comma. Do this for both Template modifications.

Note: be sure to remove development mode line in your config.php file once you finished editing your template modifications.



Questions and Answers:

Q: How can I alert users they need to be the thread author to reply?

A: Create a Notice.
作者
无名
下载
0
查看
5
首次发布
最后更新

Ratings

0.00 星 0 星

来自无名的更多资源

后退
顶部