Log in

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


biocyberman
03-21-2009, 12:24 AM
<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>
</tr>

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.

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