The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm trying this but the image isn't showing, why not? (edit in header template)
Original code: Code:
<div id="header" class="floatcontainer doc_header"> {vb:raw ad_location.ad_header_logo} <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"> <img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a> </div> Code:
<div id="header" class="floatcontainer doc_header"> {vb:raw ad_location.ad_header_logo} <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"> <!-- if VIP forum --> <vb:if condition="$forum[forumid] == 30"><img src="images/vbulletin4_logoVIP.gif"> <vb:else /> <img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a> </vb:if> <!-- /if VIP forum --> </div> |
#2
|
||||
|
||||
![]()
$forum is not registered for use in the header template. You will have to preregister it if you wish to use it there - or maybe try $GLOBALS[forumid], but if not, you'll have to preregister it for use.
|
#3
|
||||
|
||||
![]()
$GLOBALS[forumid] worked, thank you!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|