Compatibility with XenForo: 2.1
Prohibit reactions in certain forums and/or for specific user groups.
Edit Template: post_macros
Find near Line: 138 -> <xf:contentcheck>
after <xf:contentcheck> and before
insert:
under the following line of code
insert:
After you have saved this, the button "Like" is missing in the forums with the registered node_ids.
The same applies globally to the user groups whose IDs are entered in isMemberOf.
Of course, only one of the two modifications can also be used.
If now also the same user groups, and / or in the same forums already forgiven reactions are to be hidden, search the following line of code in the same template: (arround the Linenumber 272)
before add:
after </div> add:
Prohibit reactions in certain forums and/or for specific user groups.
Edit Template: post_macros
Find near Line: 138 -> <xf:contentcheck>
after <xf:contentcheck> and before
PHP:
You must log in to view
(1 lines)
insert:
PHP:
You must log in to view
(3 lines)
under the following line of code
PHP:
You must log in to view
(1 lines)
insert:
PHP:
You must log in to view
(2 lines)
After you have saved this, the button "Like" is missing in the forums with the registered node_ids.
The same applies globally to the user groups whose IDs are entered in isMemberOf.
Of course, only one of the two modifications can also be used.
If now also the same user groups, and / or in the same forums already forgiven reactions are to be hidden, search the following line of code in the same template: (arround the Linenumber 272)
PHP:
You must log in to view
(1 lines)
before add:
PHP:
You must log in to view
(3 lines)
after </div> add:
PHP:
You must log in to view
(2 lines)