[AndyB] Thread starter reply only

[AndyB] Thread starter reply only 2.3

Зарегистрируйтесь или войдите для бесплатной загрузки
Совместимость с XF
  1. 2.2.x
  2. 2.3.x
07202130_21.jpg


Description:

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

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.
Автор
anne
Просмотры
468
Тип расширения
zip
Размер файла
16.2 КБ
Первый выпуск
Последнее обновление
Оценки 0.00 звезды 0 оценок
Больше Ресурсов от anne
Classima - Тема для объявления WordPress
Classima - Тема для объявления WordPress
Classima ist ein kreativ gestalteter, sauberer, moderne und klassischer Werbungstypen-Thema für WordPress.
FluentCRM Pro
FluentCRM Pro
Email Marketing Automation специализируется на WordPress, и вам!
WooCommerce Shipment Tracking
WooCommerce Shipment Tracking
Add shipment tracking information to your orders

Последние обновления

  1. changelog

    Now compatible with XF 2.3.0.
  2. changelog

    Now compatible with XF 2.2.12 and newer.
  3. starter reply only v1.9 changes:

    Updated template modification variable. Now works with article thread types

Похожие ресурсы

[AndyB] Reply ban thread A
When a thread ban is issued, a new thread is automatically created for staff members.
Просмотры
539
Обновлено
[AndyB] Thread starter edit delete limit A
Allows increasing the edit and delete time limit for thread starter in selected forums.
Просмотры
513
Обновлено
[AndyB] Thread starter user banner A
Просмотры
561
Обновлено
Назад
Вверх