The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
How to add button next to post new thread button
How do I add a button next to the "post new thread" button on the forumdisplay template? Also, how do I add a conditional to only show it on certain forums?
--------------- Added [DATE]1364339041[/DATE] at [TIME]1364339041[/TIME] --------------- For whoever wants to know... on template forumdisplay, add this <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newurl.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newselllink_top" style="margin-left:160px"><span>+</span> New Button</a> after this <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a> You may have to change margin-left:160px based on your setup, but that's the general idea. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|