The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi, is there a way to create a conditional where a different "new thread" button is displayed just for a specific forum?
Something like: "If this is http://www.********.com/forumdisplay.php?f=324 then use "different button image and different vbphrase" else display "default button and default vbphrase". I just want that if someone enter this specific forum the "new thread" button and the "vbphrase" for the button be different from the rest of the forum. Thanks =) |
#2
|
||||
|
||||
![]()
Yep, I do this on my site.
In FORUMDISPLAY, find (in two places!): HTML Code:
<td class="smallfont"><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></td> HTML Code:
<td class="smallfont"><if condition="$show['newthreadlink']"> <!-- added upload page link --> <if condition="in_array($foruminfo[forumid], array(x,y,z))"> <a href="otherlink.php" rel="nofollow"><img src="$stylevar[imgdir_button]/otherimage.gif" alt="Other Link" border="0" /></a> <else /> <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> </if> <else /> </if></td> |
#3
|
|||
|
|||
![]()
Thank you =)
Works like a charm =) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|