View Full Version : Banners in vBulletin vs. PhotoPost
March 7th, 2006, 02:17 PM
If that's the case, how can I edit PhotoPost templates to add my banner code? I want it to be between the vBulletin navbar and the PhotoPost menu bar. Any suggestions on what to edit to add the banners? Thanks everyone.
March 7th, 2006, 03:13 PM
You might want to post a url link to your install and what script your using.
March 7th, 2006, 03:21 PM
My PhotoPost install is at: http://www.simplydiscus.com/gallery
My vBulletin forum is at: http://www.simplydiscus.com/forum
Then the following code has to be placed into the actual forum template somewhere... for instance, in vBulletin I have it in my navbar template.
// Banner Ad Rotater v3.02
// Author: Anarchos > email@example.com > http://anarchos.xs.mw/bannerad.phtml
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
myAd2 = new Banner( 15, 468, 60, "Visit our sponsor", 1, 0 );
myAd2.Ad( "banners/ad.gif", "http://www.site.com", "Ad" );
myAd2.Ad( "banners/ad2.jpg", "http://www.site2.com", "Ad 2" );
March 7th, 2006, 04:52 PM
real simple make the relative url a full url to the java file so it can load over photopost
March 8th, 2006, 01:46 AM
Wow... duh... now I feel like an idiot :) I keep forgetting it isn't installed in my forum directory. Thanks, it works like a champ now.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.