The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Should be possible. I imagine it would mean copying the button and using conditonals many times in the templates.
Look for this code (there are two instances of this in SHOWTHREAD): Code:
<if condition="$show['newthreadlink']"> <a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"> <img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /> </a> <else /> </if> And you'll need to replace with this: Code:
<if condition="$show['newthreadlink']"> <a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"> <img src="$stylevar[imgdir_button]/ <if condition="$forumid == X">newthreadX.gif</if> <if condition="$forumid == Y">newthreadY.gif</if> <if condition="$forumid == Z">newthreadZ.gif</if> <if condition="$forumid == A">newthreadA.gif</if> <if condition="$forumid == B">newthreadB.gif</if> <if condition="$forumid == C">newthreadC.gif<else /> newthread.gif</if> " alt="$vbphrase[post_new_thread]" border="0" /> </a> <else /> </if> Hope this helps. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|