Advertise Here

Author Topic: [code] Banner Ads  (Read 3174 times)

0 Members and 1 Guest are viewing this topic.

Offline Palace

  • SMF For Free Member
  • *
  • Posts: 25
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
[code] Banner Ads
« on: October 20, 2009, 05:26:00 pm »
Ok, I had this on my old promotion forums when I liked IPBFREE, but I hate it now.  :idiot2:

Well I am going to post this code to share with you all.

Code: [Select]
<script language="JavaScript">


border=0 //0=yes 0=no

i = new Array();
i[0] = "Img_url";
i[1] = "Img_url";
i[2] = "Img_url";
i[3] = "Img_url";

l = new Array();
l[0] = "Forum_url";
l[1] = "Forum_url";
l[2] = "Forum_url";
l[3] = "Forum_url";

var n = Math.round(Math.random()*(i.length-1));

document.write("<center><table border="+border+" width=88 height=31><tr><td><a href="+l[n]+"><center><img src="+i[n]+" border=0></center></a></td></tr></table></center>");

</script>


Frist put the code in your Headers Then put your image links of banners where it says, "Img_url" And then put your that forum url to that persons forums thats advertising.

By the way, the. [1], [2] are all linked. Make sure to keep the image links and forums link on the same numbers to make sure they work. ;)
« Last Edit: October 20, 2009, 05:46:10 pm by Palace »

Offline ImperialBoards

  • SMF For Free Newbie
  • *
  • Posts: 18
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [code] Banner Ads
« Reply #1 on: October 21, 2009, 03:20:43 am »
That or if you are using smf then you can use the modifacation found on simplemachines and use this code with it.

Code: [Select]
<center><A target = "_blank" HREF="http://runepal.co.cc/"><IMG SRC="http://www.runepal.co.cc/Themes/default/images/ad copy.gif" border=0 width=728 height=91 ></a></center>
You are also allowed more than 1 advert using that modifacation
RunePal shutdown forever

Offline ImperialBoards

  • SMF For Free Newbie
  • *
  • Posts: 18
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [code] Banner Ads
« Reply #2 on: October 21, 2009, 03:26:51 am »
Also ads are already placed with smfforfree unless you have paid for a ad free forum

The placement of where the banners are is horrible. I'd rather stick with my plan
RunePal shutdown forever

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [code] Banner Ads
« Reply #3 on: October 21, 2009, 07:54:17 am »
That or if you are using smf then you can use the modifacation found on simplemachines and use this code with it.

Code: [Select]
<center><A target = "_blank" HREF="http://runepal.co.cc/"><IMG SRC="http://www.runepal.co.cc/Themes/default/images/ad copy.gif" border=0 width=728 height=91 ></a></center>

You are also allowed more than 1 advert using that modifacation


We don't run SMF forums. We are here to help with SMF For Free hosted forums.

This code is more for advertising your friend's forums or other forums associated with yours (kind of like affiliates)

Which is ok. Just make sure that you or anyone else don't receive money when someone clicks these ads. That would be against the SMF for Free - Terms of Use
       
« Last Edit: October 21, 2009, 07:55:25 pm by Seldom Fail »
<--- Donate to SMF For Free! :D

Offline Palace

  • SMF For Free Member
  • *
  • Posts: 25
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [code] Banner Ads
« Reply #4 on: October 21, 2009, 11:55:56 am »
That or if you are using smf then you can use the modifacation found on simplemachines and use this code with it.

Code: [Select]
<center><A target = "_blank" HREF="http://runepal.co.cc/"><IMG SRC="http://www.runepal.co.cc/Themes/default/images/ad copy.gif" border=0 width=728 height=91 ></a></center>
You are also allowed more than 1 advert using that modifacation

1) It isnt a modification its a code. ;)
2) The one you posted only allows one.  ::)

My code is a banner rotation code. :P It rotates each time you refresh the page. Also I did not get this off smf I used it for IPBFREE, it works for all softwares, including smfforfree.

Offline 4markie

  • SMF For Free Full Member
  • *
  • Posts: 141
    • View Profile
    • MARS- Markie's Action Replay Site

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [code] Banner Ads
« Reply #5 on: October 24, 2009, 12:59:25 pm »
Hey, thanks for the code. before I use it, can I have more information on what exactly this code does?  I'm not sure I completely understand.  :buck2:

Offline Simply1Nick

  • SMF For Free Member
  • *
  • Posts: 51
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [code] Banner Ads
« Reply #6 on: October 24, 2009, 02:13:47 pm »
It's like an advertisement,But it's a banner i think.


Made by Gir.

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [code] Banner Ads
« Reply #7 on: October 25, 2009, 12:09:34 pm »
Hey, thanks for the code. before I use it, can I have more information on what exactly this code does?  I'm not sure I completely understand.  :buck2:

Palace explained what the code does

Quote
code is a banner rotation code.  It rotates each time you refresh the page.


You could make several banners for your forum and use this code to swap them.

Offline Palace

  • SMF For Free Member
  • *
  • Posts: 25
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [code] Banner Ads
« Reply #8 on: October 27, 2009, 08:47:15 pm »
Sorry, I havent been on in awhile.  8) The code is a banner rotation code. You add the forums url and image url's to the correct places where I put, "Image_Url" And "Forum_Url" Also make sure the numbers are the same towards which banner the forum goes to like where it shows, "
  • and [1]" Make sure the numbers inbetween match the image url and forums url. It rotates by every time your page refreshes in your headers. Somewhat similar to google adsense. ;)

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
2719 Views
Last post May 06, 2007, 10:38:41 am
by -A-
1 Replies
2197 Views
Last post June 14, 2007, 11:26:25 am
by simply sibyl
28 Replies
21561 Views
Last post May 17, 2014, 04:02:37 pm
by taogem
23 Replies
14729 Views
Last post March 10, 2012, 10:25:12 am
by Andrew
2 Replies
1351 Views
Last post February 18, 2009, 06:42:39 pm
by taogem