![]() |
Remove Reputation from Certain Forums
I wish to remove all users ability to place reputation in Certain Forums.
I had this working in 3.8 using an array conditional however it appears all this has changed in vB4 and I'm at a loss after searching around for the last few hours. The following code is where I am at but it is turning off the rep icon in all Forums: In Postbit Code:
<vb:if condition="$show['reputationlink'] AND in_array($foruminfo['forumid'], array(5,14))"> Cheers Simon |
Instead of $foruminfo['forumid'], try $threadinfo['forumid'] or $thread['forumid']
|
Still turns the button off in all forums with either the $thread or $ threadinfo versions.
In Postbit Code:
<vb:if condition="$show['reputationlink'] AND in_array($thread['forumid'], array(5,14))"> Simon |
Have you tried spitting out the $show['reputationlink'] variable to see if it's true or false? It could be that part of your condition that is set incorrectly. (I always spit out all the variables when having condition problems, so do that and see which variable is incorrect that way.)
|
No idea how to do that... sorry
Cheers Simon |
All times are GMT. The time now is 12:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|