The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
I'm not sure what you mean?
What code would I need to display a separate logo/header on forum ID=11 and leave the default logo/header on the rest of the forums? Sorry if I'm not understanding, you're gonna need to dumb it down for me ;-) --------------- Added [DATE]1219985639[/DATE] at [TIME]1219985639[/TIME] --------------- How do I make it display a different logo on one page and leave the default on the rest of the pages? <img src="<if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png (here is where I get goofed up, if I put the following in there it shows two logos because one is hard coded in there.) <else />images/misc/headerlogo.png</if>" border="0" /> Since the default is hard coded somewhere.....I can't seem to make this work. This doesn't work: <img src="<if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png</if>" That shows the muskiecentral.png and the headerlogo.png at the same time. |
#22
|
||||
|
||||
Code:
<img src="<if condition="$foruminfo['forumid'] == 11">images/misc/muskiecentral.png<else />images/misc/headerlogo.png</if>" border="0" /> |
#23
|
|||
|
|||
Thanks for the reply but that still shows both banners.
|
#24
|
||||
|
||||
Post your template.
|
#25
|
|||
|
|||
This is the FORUM DISPLAY template, is that the one?
I can't post the entire template, it's longer than allowed. |
#26
|
||||
|
||||
The template where you are using the code...
|
#27
|
|||
|
|||
I'm sorry for the delayed response, I was out of town for a week.
That is the problem, I don't know where that is. I had a programmer do it for me and he has not returned my emails so I'm guessing he's not available so I am trying to figure this out. Where do you think he MIGHT have put that so it displays on every page? I'm no programmer......as you can tell ;-) |
#28
|
|||
|
|||
Here is the Header code....possibly it's in here?
<!-- 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="$stylevar[titleimage]" 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] |
#29
|
|||
|
|||
Just found this thread and figured it a good place to get additional help...
I'm using the following code in template postbit_attachmentthumbnail Code:
<if condition="$forumid != 103"> <img src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&d=$attachment[dateline]" border="0" alt="" style="display:none;"/> <div style="float:left; display:block; width:111px; height:111px; text-align:center;"> <table cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle" height="111" width="111" style="margin:0px; padding:0px;"> <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" rel="Lightbox" id="attachment$attachment[attachmentid]"<if condition="$show['newwindow']"> target="_blank"</if>><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" border="0" alt="Click for a bigger size image." align="middle" style="border: solid 3px #cccccc;"/></a></td></tr></table> </div> <else /> <div align="center"><img src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&d=$attachment[dateline]" border="0" alt=""/> </div> </if> I tried both <if condition="$forumid != 103"> and <if condition="!in_array($forumid, array(103))"> and neither worked. Anyone have any ideas? |
#30
|
|||
|
|||
Any help....anyone?
I'm still trying to get more than one banner showing. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|