Ruboard - easily configurable interactive WWW board |
Here is a short description of how the advertisements are organized on `Ruboard test forum' (and how can you earn money by advertising on your boards).
I'm using two banner systems - ValueClick and LinkExchange. You may use anything yu like. ValueClick pays $0.12..$0.15 per click and LinkExchange lets you advertise your products.
Assuming you are using Apache web server (as I am) here are the steps:
<CENTER><!--#exec cmd="/www/lib/scripts/ad"--></CENTER>
Options +Includes AddHandler server-parsed .html
#!/usr/bin/perl srand($$); $id=int(rand(10000)); if(rand>0.4) { print <<EOT; <iframe src="http://leader.linkexchange.com/$id/X835952/showiframe?" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no> <a href="http://leader.linkexchange.com/$id/X835952/clickle" target="_top"><img width=468 height=60 border=0 ismap alt="" src="http://leader.linkexchange.com/$id/X835952/showle?"></a></iframe> EOT } else { print <<EOT; <A TARGET="_top" HREF="http://www22.valueclick.com/cgi-bin/redirect?host=h0032839&b=$id"><IMG BORDER=0 WIDTH=468 HEIGHT=60 ALT="Please visit our sponsors." SRC="http://www22.valueclick.com/cgi-bin/cycle?host=h0032839&b=$id"></A> EOT } exit(0);
I wish you good luck and big cash!
And don't forget to register Ruboard if you've decided to place advertisements on your site!
AM'SOFT home page | Copyright © 2024 by Andrew Maltsev |