MyBB Community Forums
[How To?] Removing rep button in special sub-forum - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Removing rep button in special sub-forum (/thread-145977.html)



Removing rep button in special sub-forum - Toledo - 2013-09-27

How would I remove the rep button or disable it in a sub-forum.

I have a sub-forum for off-topic stuff. And posts does not count there, and I would like for it to not be able to rep there neither.


RE: Removing rep button in special sub-forum - Toledo - 2013-10-01

bump?


RE: Removing rep button in special sub-forum - .m. - 2013-10-01

there are two simple methods to make a button invisible
one is using template conditionals plugin and other is css trick

method using the plugin :
open postbit templates (both postbit & postbit_classic templates)
find the code for reputation button {$post['button_rep']} and use code like below for it

<if $fid <> X then>
{$post['button_rep']}
</if>

where X is the forum id (number) of your sub-forum where you do not need the reputation button


RE: Removing rep button in special sub-forum - Bala - 2013-10-02

If you plan to do more of such special things consider template conditionals. Its actually a terrific mod without which even my themes will fail.
It always you to insert a condition ie an if and else statement. Using this you can hide certain thing s from guest while making it available to users.