The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Custom Post New Thread Link
In 3.8 I was able to use conditionals in certain forums based on the forumid to change the URL of the new thread button. I've tried to rewrite the conditionals for vb 4.2 and just doesn't seem to work, any thoughts?
Code:
<vb:if condition="$show['newthreadlink']"> <vb:if condition="$foruminfo['forumid'] == 70"><a href="/forums/forms.php?do=form&fid=1" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a> <vb: else /> <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> </vb:if> </vb:if> Trying to use the Easy Forms plugin to control the new thread options for certain forums. I can't understand why this isn't working. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|