AndyB Thread Starter Reply Only

XF 2 Add-on AndyB Thread Starter Reply Only 1.6

Compatible With XenForo
2.0, 2.1
Visible Branding
No
Allows only the thread starter and selected user groups to make replies.

(Example of Options page)

pic001.jpg


(Example of Template modifications)

pic002.jpg


Features:
  • Only the thread starter and selected secondary user groups are allowed to reply.
  • All phrases start with threadstarterreplyonly_ for your convenience.
Installation:
  1. Download Andy-ThreadStarterReplyOnly.zip and unzip it.
  2. Copy the src/addons/Andy/ThreadStarterReplyOnly directory to your server.
  3. From the Admin Control Panel Install the add-on.
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 the development mode line in your config.php file once you finished editing your template modifications.
Author
XenFun
Downloads
0
Views
39
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenFun

Top