[AndyB] Thread starter reply only

XF2 Addons [AndyB] Thread starter reply only 2.0
Allows only the thread starter and selected user groups to make replies.

Compatible versions
2.2
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

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.
  • Like (+1)
Reactions: notgabry
FateKid
Author FateKid
Level
11
5,910 pts
2.0 Version
0 Downloads
192 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[AndyB] Thread starter reply only provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom