Welcome, Guest. Please Login or Register.
May 04, 2025, 08:57:17 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Banner Ad Mod « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Banner Ad Mod  (Read 412 times)
phark
Sr. Member
****
Posts: 482


Banner Ad Mod
« on: July 06, 2002, 01:16:54 PM »
Reply with quote

Has anyone toyed with the idea of making a Banner Ad mod like the one from SP1?  I had that installed with my SP1 board, and would like to have it back.  

In the admin center, there was a place to put the banner ad links in, and it would display them randomly at the bottom of the pages.  
Logged

I'm not scared of dying, I just don't want to.
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:Banner Ad Mod
« Reply #1 on: July 06, 2002, 02:34:27 PM »
Reply with quote

gimme a link to the download of the mod, and I might convert it for ya ;)
Logged

PHPNews has been released!!! Download it now!!!
phark
Sr. Member
****
Posts: 482


Re:Banner Ad Mod
« Reply #2 on: July 06, 2002, 02:40:43 PM »
Reply with quote

Quote from: Big P on July 06, 2002, 02:34:27 PMgimme a link to the download of the mod, and I might convert it for ya ;)

Sweet... I'd appreciate it SO much...
http://boardmod.yabbforum.com/mods.php?dl=361&filename=banner_ads_11_sp1.zip
Logged

I'm not scared of dying, I just don't want to.
Shaun
Wannabe Mod Writer
Sr. Member
****
Posts: 361


YaBB SE Rules.

Re:Banner Ad Mod
« Reply #3 on: July 06, 2002, 04:42:35 PM »
Reply with quote

I use this script...it's easy.

http://www.htmlbasix.com/banner.shtml
Logged

This guy uses objects like women man!
phark
Sr. Member
****
Posts: 482


Re:Banner Ad Mod
« Reply #4 on: July 07, 2002, 09:10:48 PM »
Reply with quote

Quote from: Shaun on July 06, 2002, 04:42:35 PMI use this script...it's easy.

http://www.htmlbasix.com/banner.shtml

I did the script and put it into my template.php file, but could not get it to show up.   :(
Logged

I'm not scared of dying, I just don't want to.
Shaun
Wannabe Mod Writer
Sr. Member
****
Posts: 361


YaBB SE Rules.

Re:Banner Ad Mod
« Reply #5 on: July 08, 2002, 02:34:15 PM »
Reply with quote

Post your code from the script here so I can see it.
Logged

This guy uses objects like women man!
phark
Sr. Member
****
Posts: 482


Re:Banner Ad Mod
« Reply #6 on: July 08, 2002, 02:44:33 PM »
Reply with quote

<script language="JavaScript">
<!-- Begin
var ad_cnt = 9;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % ad_cnt;
ad +=1;
if (ad==1) {
url="http://click.linksynergy.com/fs-bin/click?id=XRs1eBi6rzA&offerid=38846.10000218&subid=0&type=4";
banner="http://ad.linksynergy.com/fs-bin/show?id=XRs1eBi6rzA&bids=38846.10000218&subid=0&type=4";
width="468";
height="60";
}
if (ad==2) {
url="http://click.linksynergy.com/fs-bin/click?id=XRs1eBi6rzA&offerid=41098.10000009&type=4&subid=0";
banner="http://www.abcinkjets.com/links/468x60.gif";
width="468";
height="60";
}
if (ad==3) {
url="http://click.linksynergy.com/fs-bin/click?id=XRs1eBi6rzA&offerid=38994.10000004&type=4&subid=0";
banner="http://ad.doubleclick.net/ad/N2870.or2/B959384.3;sz=468x60";
width="468";
height="60";
}
if (ad==4) {
url="http://service.bfast.com/bfast/click?bfmid=26399296&siteid=39791878&bfpage=homepage";
banner="http://www.tigerdirect.com/images/Affiliate/banners/Homepage21.gif";
width="468";
height="60";
}
if (ad==5) {
url="http://click.linksynergy.com/fs-bin/click?id=XRs1eBi6rzA&offerid=41018.10000020&subid=0&type=4";
banner="http://ad.linksynergy.com/fs-bin/show?id=XRs1eBi6rzA&bids=41018.10000020&subid=0&type=4";
width="468";
height="60";
}
if (ad==6) {
url="http://click.linksynergy.com/fs-bin/click?id=XRs1eBi6rzA&offerid=35602.10000006&subid=0&type=4";
banner="http://ad.linksynergy.com/fs-bin/show?id=XRs1eBi6rzA&bids=35602.10000006&subid=0&type=4";
width="468";
height="60";
}
if (ad==7) {
url="http://click.linksynergy.com/fs-bin/click?id=XRs1eBi6rzA&offerid=24474.10000170&subid=0&type=4";
banner="http://ad.linksynergy.com/fs-bin/show?id=XRs1eBi6rzA&bids=24474.10000170&subid=0&type=4";
width="468";
height="60";
}
if (ad==8) {
url="http://click.linksynergy.com/fs-bin/stat?id=XRs1eBi6rzA&offerid=14707.10000009&type=4&subid=0";
banner="http://www.gigagolf.com/images/LinkShare/one392x72.gif";
width="468";
height="60";
}
if (ad==9) {
url="http://www.smokesearch.com/?pid=141";
banner="http://www.smokesearch.com/images/banner11.gif";
width="468";
height="60";
}
document.write('<center><a href="' + url + '" target="_blank">');
document.write('<img src="' + banner + '" width=' + width + ' height=' + height + ' border=0></a>');
document.write('</center>');
// End -->
</SCRIPT>
Logged

I'm not scared of dying, I just don't want to.
sylvester
YaBB God
*****
Posts: 525


Re:Banner Ad Mod
« Reply #7 on: July 08, 2002, 03:27:57 PM »
Reply with quote

that's only javascript. that's no php ::) ???
Logged

I'm back
phark
Sr. Member
****
Posts: 482


Re:Banner Ad Mod
« Reply #8 on: July 08, 2002, 03:37:08 PM »
Reply with quote

Quote from: sylvester on July 08, 2002, 03:27:57 PMthat's only javascript. that's no php ::) ???

Thats the script (Java) that I am trying to put into the template.php file.  Shaun said that he uses it.  
Logged

I'm not scared of dying, I just don't want to.
Zarabadoo
Jr. Member
**
Posts: 92


.....

ICQ - 14689087zarabadoo@hotmail.com WWW
Re:Banner Ad Mod
« Reply #9 on: July 09, 2002, 02:39:45 AM »
Reply with quote

i use this program on my board:

http://www.phpadsnew.com

i find it works very nicely. makes it easy to manage the banners. even allows for use of remote banners.
Logged

go read Project: Comic dammit. don't you THINK you can hide from me! i see you hiding behind that bush over there. go tell all your friends about it too.
phark
Sr. Member
****
Posts: 482


Re:Banner Ad Mod
« Reply #10 on: July 09, 2002, 12:22:25 PM »
Reply with quote

Quote from: Zarabadoo on July 09, 2002, 02:39:45 AMi use this program on my board:

http://www.phpadsnew.com

i find it works very nicely. makes it easy to manage the banners. even allows for use of remote banners.

Wow, thats is some program!  Thanks...  
Logged

I'm not scared of dying, I just don't want to.
Zarabadoo
Jr. Member
**
Posts: 92


.....

ICQ - 14689087zarabadoo@hotmail.com WWW
Re:Banner Ad Mod
« Reply #11 on: July 11, 2002, 01:56:34 AM »
Reply with quote

not a problem. you'll have to use the remote banner feature to get it to work ont he forum. once you read through the documentation, you'll see what i mean.
Logged

go read Project: Comic dammit. don't you THINK you can hide from me! i see you hiding behind that bush over there. go tell all your friends about it too.
phark
Sr. Member
****
Posts: 482


Re:Banner Ad Mod
« Reply #12 on: July 11, 2002, 02:02:08 AM »
Reply with quote

I had it working within an hour... so many features, its great!  Thanks again.
Logged

I'm not scared of dying, I just don't want to.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Banner Ad Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.138 seconds with 20 queries.