So,
I own a gaming site and I wanna do modification to it, I use PHP in templates conditional plugin by Zyngaburga FYI.
I want to add some codes some way that I can hide the REPUTATION on postbit in some forums.
How may I achieve that? Thank you.
1. Go to Admin CP > Templates & Style > Templates > Post Bit Templates > postbit_rep_button.
2. Find:
<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});"><img src="{$theme['imglangdir']}/postbit_reputation.gif" alt="{$lang->postbit_reputation}" title="{$lang->postbit_reputation}" /></a>
3. Replace with:
<if in_array($GLOBALS['forum']['fid'], array(1,2,3,4,5)) then>
<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});"><img src="{$theme['imglangdir']}/postbit_reputation.gif" alt="{$lang->postbit_reputation}" title="{$lang->postbit_reputation}" /></a>
</if>
4. Replace 1,2,3,4,5 with the fids of the forums you want the rep button to show in.
Great, aha works, but you told wrong template, I was asking for postbit Rep link, not button.
Anyways did that, thank you.