Thread starter reply only

Thread starter reply only 2.0

No permission to download
Note
Compatible XF 2.x versions: 2.2.6 and newer.
Description:

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.
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.
Author
Andy
Downloads
110
Views
1,442
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. See description

    Thread starter reply only v2.0 changes: Fixed template modification variable name typo.
  2. See description

    Thread starter reply only v1.9 changes: Updated template modification variable. Now works with...
  3. See description

    Thread starter reply only v1.8 changes: Now compatible with XF 2.2.6 and newer.

Latest reviews

Great add-on for controlling post padding.

Similar resources

Thread starter user banner Andy
Displays thread starter user banner.
5.00 star(s) 1 ratings
Downloads
64
Updated
Approval queue thread manager Andy
Changes approval queue to physically delete threads.
0.00 star(s) 0 ratings
Downloads
15
Updated
Ban thread Andy
When a ban is issued, a new thread is automatically created for staff members.
5.00 star(s) 1 ratings
Downloads
166
Updated
Birthday thread Andy
Automatically creates birthday threads for your members.
5.00 star(s) 2 ratings
Downloads
213
Updated
Delete thread redirects Andy
Deletes all thread redirects.
0.00 star(s) 0 ratings
Downloads
19
Updated
Top