avalanch submitted a new resource:
New post & reply buttons in threads - Adds reply and new thread buttons to threads.
This code is amp html friendly.
Read more about this resource...
New post & reply buttons in threads - Adds reply and new thread buttons to threads.
This code is amp html friendly.
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.
Go to: ACP --> Template --> thread_view and find:
<xf:breadcrumb source="$forum.getBreadcrumbs()" />
Add this code directly below that line:
PHP:<xf:if is="{$xf.visitor.user_id} AND in_array({$xf.visitor.user_group_id}, [2, 3, 18, 4, 5])"> <xf:pageaction> <xf:button href="{{...
Read more about this resource...