The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys. I need some help. I run an ads hack which lets me specify ads per forum, however I have a new sponsor which uses SWF flash files which the ads hack does not use.
The SWF flash will only run in a number of forum (forums # 58, 73, 74, 75, 146, 171) Below is the code I currently use, the GREEN CODE is code I want to add (but its not working) so that the ad code for the SWF runs (which is coming from phpadsnew). (Note as a test I only want the SWF banner to show in forum 146) The code below the red code is code that is run in forums which do not have dedicated sponsors. All code in black is currently running on my site with no problems. It is all one link of code. Can someone tell me what I am doing wrong? <TD align="right"> <if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></center> <else /> <if condition="($forum[forumid]==164)"> <script language='JavaScript' type='text/javascript' src='http://ads.satelliteguys.us/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://ads.satelliteguys.us/adjs.php?n=" + phpAds_random); document.write ("&what=zone:15"); document.write ("&exclude=" + document.phpAds_used); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://ads.satelliteguys.us/adclick.php?n=af77241c' target='_blank'><img src='http://ads.satelliteguys.us/adview.php?what=zone:15&n=af77241c' border='0' alt=''></a></noscript> </if> <script language='JavaScript' type='text/javascript' src='http://ads.satelliteguys.us/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://ads.satelliteguys.us/adjs.php?n=" + phpAds_random); document.write ("&what=zone:12"); document.write ("&exclude=" + document.phpAds_used); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://ads.satelliteguys.us/adclick.php?n=aa9d7d3e' target='_blank'><img src='http://ads.satelliteguys.us/adview.php?what=zone:12&n=aa9d7d3e' border='0' alt=''></a></noscript> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|