The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
||||
|
||||
Thanks Kirk, works great!! also made a rotating header logo.
happy I found your replys |
#32
|
|||
|
|||
Quote:
|
#33
|
||||
|
||||
Then you don't need to use this plugin.
Instead use template conditionals to output a header based on what page the user is viewing. Example: Code:
<if condition="THIS_SCRIPT == 'index">Show this only on the Index<else />Show this on pages other than the Index</if> |
#34
|
|||
|
|||
Quote:
--------------- Added [DATE]1202145412[/DATE] at [TIME]1202145412[/TIME] --------------- This is the code i tried but it shows the ad code and the text: <if condition="THIS_SCRIPT == 'index'"> <center><script type="text/javascript"><!-- google_ad_client = "pub-8336492106717154"; //120x60, created 1/25/08 google_ad_slot = "4645103244"; google_ad_width = 120; google_ad_height = 60; google_cpa_choice = ""; // on file //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <center/> <else /> This text </if> |
#35
|
|||
|
|||
I was wondering about that. The default setting I had was "5" so I left it that way and the banner works fine.
I didn't understand just what that was for? Should I change it to "1"? |
#36
|
||||
|
||||
Quote:
Execution orders allow Plugins within a modification which utilize the same hook to be run in a specific order. ie. Plugin A gathers the UserID, Plugin B executes a query based on the userid, and Plugin C displays something based on the query. Thus Plugin A must be run before Plugin B and Plugin B must be run before Plugin C. This can be achieved by setting the Execution Orders of the three plugins to 1, 2, and 3 (respectively). |
#37
|
|||
|
|||
Quote:
I'm having trouble with two rotating banners on the same forum... https://vborg.vbsupport.ru/showthread.php?t=169672 I had both plugins set at 5 which was the default, so I changed them to 1 & 2. But it still didn't fix the problem. |
#38
|
||||
|
||||
Well execution orders wouldn't matter in that instance. I'm going to bet your problem is that you're not using different variable names for each banner.
ie: $random_banner and then $random_banner2 |
#39
|
|||
|
|||
Quote:
Code:
<div align="center">$random_banner[$random_number]</div> Can you tell me what code I need and if both of them need to be changed or only the bottom one? |
#40
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|