The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding a custom button on show/view forum
I have a review section and when viewing the forum next to where it says 'post new thread' I would liek to add a button next to it which says 'Post new review'.
I can't imagine it being hard to add the button as that's probably just editing the template but, how can I get this button to only show on one forum that I select i.e the reviews forum not every other forum. And this should only be viewable to usergroups I choose. I'd love your help --------------- Added [DATE]1341832354[/DATE] at [TIME]1341832354[/TIME] --------------- Ok I'm using this in the forum display template - <vb:if condition="$forum[forumid] == 7"><a href="http://www.midwiferyonline.co.uk/productforums.php?do=addproduct" rel="nofollow" class="newcontent_textcontrol" id="postbook"><span>+</span>Post New Book</a></vb:if> right above <vb:if condition="$show['threadslist']"> where the new thread button sits but it's not showing! |
#2
|
|||
|
|||
Try checking for "$forumid == 7".
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|