[AndyB] Thread starter reply only

[AndyB] Thread starter reply only 2.3

没有下载权限
XF 兼容性
  1. 2.2.x
  2. 2.3.x
摘要
Allows only thread starter and selected user groups to reply. Features include convenient threadstarterreplyonly prefix, default allows Moderating and Administrative groups, requires enabling Development mode for customizations like adding more allowed user groups. Edit config.php with $config['development']['enabled'] = true; then add visitor.isMemberOf([3,4,newgroup_id]) in Template modifications. Enable Development mode and remove line once done.
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
浏览
445
扩展类型
zip
文件大小
16.2 KB
首次发布
上次更新
评分 0.00 星 0 个评分
链接失效了吗? 发送消息 给 NP 团队,我们会尽快为您处理!
支持开发者 如果您对测试满意或项目已成功盈利,可点击「更多信息」按钮,通过购买来支持开发者!

最新更新

  1. 2.3 - changelog
    Now compatible with XF 2.3.0.
  2. v2.1 - changelog
    Now compatible with XF 2.2.12 and newer.
  3. 1.9 - starter reply only v1.9 changes:
    Updated template modification variable. Now works with article thread types

来自 anne 的更多资源

JustFans - 高端内容创作者SaaS服务平台 A
一个功能齐全的PHP平台,允许你创建自己的高级内容基于的社交媒体
浏览
1,031
已更新
戈雅 - 现代WooCommerce主题 A
果戈里是一个现代且简约的主题,具有您下一个在线商店所需的所有必要功能。
房地产7 - 房地产WordPress主题 A
最後一個你需要買的實體房地产wordpress主題!

相似的资源

[AndyB] Reply ban thread A
When a thread ban is issued, a new thread is automatically created for staff members.
浏览
518
已更新
[AndyB] Thread starter edit delete limit A
Allows increasing the edit and delete time limit for thread starter in selected forums.
浏览
483
已更新
[AndyB] Thread starter user banner A
浏览
530
已更新
顶部