The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
||||
|
||||
@scoyote:
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF" <!--background="images/misc/topback.png"--> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="<if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png<else />$stylevar[titleimage]</if>" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#32
|
|||
|
|||
Sigh......I'm not really sure what you just said.
I'm guessing that something is wrong with the way my logo is being called and I cannot show a different logo on one of the forums? |
#33
|
||||
|
||||
I just posted an edited version of your header template. Disregard what I'm saying to nando99.
|
#34
|
|||
|
|||
Yeah... I had to use $GLOBALS[forumid] and it worked fine. Thanks.
|
#35
|
|||
|
|||
Dismounted.....thank you very much.
That is working perfectly.....! I almost hate to ask this question....but.... Now, if I want to add another logo for forum ID 9 Do I need to enter that whole line again or add a comma and the other forum id???? if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png, if condition="$foruminfo['forumid'] == 9">images/misc/ftm.png <else />$stylevar[titleimage]</if> Does it work like that? |
#36
|
||||
|
||||
Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF" <!--background="images/misc/topback.png"--> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="<if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png<else /><if condition="$foruminfo['forumid'] == 9">images/misc/ftm.png<else />$stylevar[titleimage]</if></if>" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] |
#37
|
|||
|
|||
OK....just never satisfied I guess ;-)
Now, my customer wants that logo to be linked to his website so he can click it to go directly there. Can that logo be linked? If so....can someone give me an example or is it just normal HTML code? |
#38
|
||||
|
||||
Making a logo clickable is basic html - the basic structure:
HTML Code:
<a href="whatever.php"><img src="logo.jpg"></a> |
#39
|
|||
|
|||
Then I'm doing it wrong?
I tried that and it didn't work for me. Here is where I'm trying to do it: <img src="<if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png<else /><if condition="$foruminfo['forumid'] == 9">images/misc/ftm.png<else /> So...where do you put that code inside there? |
#40
|
||||
|
||||
Before it, put:
Code:
<a href="whatever.php"> Code:
</a> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|