• We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us
  • You need minimum 5 good posts for download files. Don´t push posting-counter with posts copy paste, thx, good, smileys..... Read This.
  • Note: don´t push posting-counter with messages like thx, good, haha, only use reactions! threads will be deleted without any comment or notification. Read Rules.
Ali Raza

AndyB Thread starter reply only 1.5

No permission to download
Compatible XF Versions 2.x
2.0, 2.1
Description:

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

(Example of Options page)

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic001-jpg.205854%2F&hash=25e7d079cb0a11455a0a7b4ae2c75df8



(Example of Template modifications)


proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fpic002-jpg.205855%2F&hash=fe1391471019bc3245f5182b57225532



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-1.5.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 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
Ali Raza
Downloads
10
Views
210
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Ali Raza

Latest updates

  1. See description

    Thread starter reply only v1.5 changes: Fixed issue with secondary user group selection.
  2. See description

    Thread starter reply only v1.4 changes: Added Secondary user groups to options page.
  3. See description

    Thread starter reply only v1.3 changes: The "Please reply by conversation" button is now a...
  4. See description

    Thread starter reply only v1.2 changes: Moderators are now allowed to reply.
Top

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock