View Full Version : Carrying vbulletin variable out of its default place

21 Mar 2009, 01:24
<tr valign="bottom">
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>

I want to carry some variable in bold above to my vb-powered page show that the newthread button will work correctly out of its default place in forumdisplay. Could anyone show me how?

Thanks in advanced.

22 Mar 2009, 06:29
Just replace $foruminfo[forumid] with an actual ID in your custom template (and remove the conditional around it).