The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to use JS in vbulletin?
How to use JS in vbulletin
I want to add some AD JaveScript code in vB.I hope to these AD will display in post bottom like this codes __________________________________________________ _____ <script language='JavaScript' type='text/javascript' src='http://www.cpcfan.com/phpAdsNew/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://www.cpcfan.com/phpAdsNew/adjs.php?n=" + phpAds_random); document.write ("&what=zone:14"); document.write ("&exclude=" + document.phpAds_used); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://www.cpcfan.com/phpAdsNew/adclick.php?n=a98dabdb' target='_blank'><img src='http://www.cpcfan.com/phpAdsNew/adview.php?what=zone:14&n=a98dabdb' border='0' alt=''></a></noscript> __________________________________________________ _______ How shall I do it? |
#2
|
|||
|
|||
I think your best choice would be to include it into the SHOWTHREAD template.
|
#3
|
|||
|
|||
I put these js code into Showthread template,but AD can't display.
Help me~ Help me~ |
#4
|
|||
|
|||
Did any one know this?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|