New post & reply buttons in threads

New post & reply buttons in threads

XF Compatibility
  1. 2.2.x
  2. 2.3.x
Short Description
xf:if is="$xf.visitor.userid AND inarray($xf.visitor.usergroupid, [2, 3, 18, 4, 5])" xf:pageaction xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--primary" icon="write" rel="nofollow"{{ phrase('postthread') }} xf:button href="{{ link('threads/reply', $thread) }}" data-xf-click="overlay" class="button--primary" icon="reply" rel="nofollow"{{ phrase('postreply') }}
You can use this to show it members of certain usergroups. Simply edit the "in_array" below to add usergroups to it.
This will add a "reply" button next to the newthread button.
Even if a bot is aware of the newthread & new post buttons, they...
You do not have permission to view the full content of this resource. Log in or register now.
Author
axtona
Views
201
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

More resources from axtona

Data Tables A
Data Tables 1.4.6
create stand-alone, fully customizable data tables within XenForo
Consent Manager (IAB TCF 2.2) A
a fully-featured IAB TCF 2.2 compliant Consent Management Platform
Advanced Traffic Statistics: From Insight to Active Defense A
with a comprehensive and visually appealing Traffic Counter & Statistics Widget.
Top