![]() |
Conditional "New Thread" for especific forum
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 =) |
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']"> |
Thank you =)
Works like a charm =) |
All times are GMT. The time now is 05:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|