The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#41
|
|||
|
|||
OK, you are dealing with a computer dummy.
Is this what you mean? <img src="<if condition="$foruminfo['forumid'] == 11"> <a href="http://www.muskiecentral.com">images/misc/muskiecentral.png</a> <else /><if condition="$foruminfo['forumid'] == 9"> <a href="http://www.fishingthemidwest.com">images/misc/ftm.png</a> <else /> |
#42
|
||||
|
||||
There's more code than that, it looks like you've chopped off the end...
|
#43
|
|||
|
|||
Yes, there is more code, I cut that out of the middle.
Here is the complete code, it's what you helped me with before ;-) And...thanks for the help again.....it is very much appreciated. -----------------------code below---------------------------------------- <!-- 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] |
#44
|
||||
|
||||
Find this:
Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"> |
#45
|
|||
|
|||
Please excuse me if I'm asking dumb questions, but wont' that make all the logos go to one URL?
I'm trying to make each logo to to a specific URL. I'm displaying 3 logos and each of them on different forums. The main logo is no problem, I don't need it to go anywhere since that is already where they are. But, I want to click the on the Muskie Central logo (images/misc/muskiecentral.png) to go to the Muskie Central website and click the Fishing The Midwest logo (images/misc/ftm.png) so it goes to that website. Is that possible? |
#46
|
||||
|
||||
Find:
Code:
<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> Code:
<if condition="$foruminfo['forumid'] == 11"> <a href="MUSIECENTRAL"><img src="images/misc/muskiecentral.png" border="0" alt="$vboptions[bbtitle]" /> <else /><if condition="$foruminfo['forumid'] == 9"> <a href="FTM"><img src="images/misc/ftm.png" border="0" alt="$vboptions[bbtitle]" /> <else /> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /> </if></if></a> |
#47
|
|||
|
|||
Thanks! That works perfectly.
It still amazes me that people are willing to take time out of their day to help total strangers for free. Thank you very much....all of you It is appreciated. |
#48
|
|||
|
|||
Thanks for this thread here!
Is there a possibility to check an array of forum IDs? e.g. Code:
<if condition="$foruminfo['forumid'] IN (4,7,9)"> Possible? Thanks for your help! Bruno Edit 1: Just found this one (Vbulletin Conditionals) Code:
<if condition="in_array($bbuserinfo[userid], array(X,Y,Z))"> Edit 2: For vB4 this solution does not work any more... I started a new thread: Different Logo for different Forums? (Solution for 3.8 does not work any more) |
#49
|
|||
|
|||
ok I used the code but am wanting the logo to be in more then one forum ID.
there a possibility to check an array of forum IDs? I have 6 different logos that each one has about 50 subforums each one needs to go in. Code:
<!-- logo --> <a name="top"></a> <table border="0" height="118" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="http://www.mysite.com/"> <img src=" <if condition="$foruminfo['forumid'] == 1,?,?,?,?,?">images/evid_blue/gradients/SXS411.PNG<else /> <if condition="$foruminfo['forumid'] == 2,?,?,?,?">images/evid_blue/gradients/Teryx411.PNG<else /> <if condition="$foruminfo['forumid'] == 3,?,?,?,?">images/evid_blue/gradients/RZR411.PNG<else /> <if condition="$foruminfo['forumid'] == 4,?,?,?,?">images/evid_blue/gradients/Prowler411.PNG<else /> <if condition="$foruminfo['forumid'] == 5,?,?,?,?">images/evid_blue/gradients/Commander411.PNG<else /> <if condition="$foruminfo['forumid'] == 6,?,?,?,?">images/evid_blue/gradients/BigRed411.PNG<else /> $stylevar[titleimage]</if></if>" border="0" alt="$vboptions[bbtitle]" /></a></td> |
#50
|
|||
|
|||
? Seen the last post before yours ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|