The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom New Topic button
Welcome.
I have a question. Only in one forum, wants to change the button New Topic to the one which will lead to a specific location. It's about changing the link to the button will be passed. FINE I mean to change the button link: /newthread.php?do=newthread&f=167 to /forms.php?do=form&fid =1 as easy to do? I saw on one forum as a button to create a new thread leads to the external form. |
#2
|
|||
|
|||
Just under {vb:raw poll}, Use a conditional like the green part
Code:
<div id="above_postlist" class="above_postlist"> <vb:if condition="$show['largereplybutton']"> <vb:if condition="$thread['forumid'] == 100"> <a href="YOUR NEW URL HERE" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> <vb:else /> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a> </vb:if> <img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" /> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|