Log in

View Full Version : Rotational Banner in header


HMBeaty
10-07-2005, 02:06 AM
Is there a modification that allows me to add different banners to advertise others sites/businesses? Looking for one that goes directly to the right of the vBulletin logo. You can see what I mean here......

http://www.teckademicseast.com/forums/

Everytime you refresh the page, a new banner will show. Any help will be greatly appreciated. Thanks in advance :)

Zacarias
10-07-2005, 03:36 AM
This would be a good one, and one I would get.

HMBeaty
10-09-2005, 02:32 AM
Anybody have any info on this?

Ok, I DID find something from messing around with another forums files......

In style manager > header, find...

<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

after, add.....

<!--
NEW HEADER &amp; NAVBAR

Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.

This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
<td align=right>
<script language='JavaScript' type='text/javascript' src='http://URL_OF_SITE.com/phpAdsNew-2.0/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://URL_OF_SITE.com/phpAdsNew-2.0/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:5");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&amp;referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://URL_OF_SITE.com/phpAdsNew-2.0/adclick.php?n=aa0b68f3' target='_blank'><img src='http://URL_OF_SITE/phpAdsNew-2.0/adview.php?what=zone:5&amp;n=aa0b68f3' border='0' alt=''></a></noscript>


this worked on my forum (vB 3.5.0) but I need the full script or modifications/files for this. Can anyone help me out on this please?

Razasharp
10-09-2005, 05:00 PM
How about phpadsnew?

Rich
10-09-2005, 05:33 PM
Hello,

Phpadsnew does exactly what you are requesting. I use it.

jjrambo
10-09-2005, 08:52 PM
Hello,

Phpadsnew does exactly what you are requesting. I use it.Link to this would be awesome.

Razasharp
10-09-2005, 09:07 PM
<a href="http://www.phpadsnew.com" target="_blank">www.phpadsnew.com</a>

Rich
10-09-2005, 09:09 PM
Hello,

I am guessing you didn't try google, or: http://www.phpadsnew.com

HMBeaty
10-10-2005, 05:29 AM
Well, I was referring to something more like this where everything is done in the admincp. If someone could code this for 3.5.0, you'll be my best friend forever. lol Thanks

https://vborg.vbsupport.ru/showthread.php?t=74621

HMBeaty
10-16-2005, 12:10 AM
Can ANYONE make this work for 3.5.0?

Blaine0002
10-16-2005, 01:24 AM
type google.com, in google type "random image script" hit im feeling lucky, merry christmas.

Zachariah
10-16-2005, 07:32 AM
http://www.phpadsnew.com - Java or Iframe output.

one of my banner or header/footer hacks is what I do.
https://vborg.vbsupport.ru/member.php?u=6872

multi - campaigns

campaign per forum if there was a need down the road.