View Full Version : What script to use to rotate ppc banner?
Lets say I got a javascript for a certain pay per click banner, how do i rotate the ppc banner? What script to use? phpadnews?
Lets say I got a javascript for a certain pay per click banner, how do i rotate the ppc banner? What script to use? phpadnews?
yup i am using phpadnews now :)
Aloysius
05-05-2004, 14:56
I'm pretty new to forums and such advertisement.
I've saw quite a few popular forums, while without advertisement. While doing asurvey, prompting if they are interested to do advertisement, they are actually quite enthusiastic about it, but yet unable to do so as their forum script do not have integrated advertisement feature.
My question to SGWHT, or Mr dennis of keeptouch.net, is that while using vBulletin script, is there actually integrated feature for banners? You do you actually addin this phpadnews as mention to your forum manually, and how? I see keeptouch able to put different banner in each categories's forum, will that mean that if i dedicate a forum for 1 sponsor's advertisement, i'll have to add this banner to each and every single categorie's sub forum?
Your kindest reply is to my greatest appreciation.
vBulletin does not have advertisment integrated feature for banner. Most forum i visit, they use phpadsnew (http://phpadsnew.com/two/) for banner. i strongly agree that phpadsnew is the best banner management. I have personally try it before.
I also using phpadsnew! Very good!
I'm pretty new to forums and such advertisement.
I've saw quite a few popular forums, while without advertisement. While doing asurvey, prompting if they are interested to do advertisement, they are actually quite enthusiastic about it, but yet unable to do so as their forum script do not have integrated advertisement feature.
My question to SGWHT, or Mr dennis of keeptouch.net, is that while using vBulletin script, is there actually integrated feature for banners? You do you actually addin this phpadnews as mention to your forum manually, and how? I see keeptouch able to put different banner in each categories's forum, will that mean that if i dedicate a forum for 1 sponsor's advertisement, i'll have to add this banner to each and every single categorie's sub forum?
Your kindest reply is to my greatest appreciation.
You have to make some modification to vbulletin templates to achieve this. And vbulletin does not have a banner feature to let you place banners on the forum itself.
another vote for phpadnews :)
Aloysius
05-05-2004, 23:16
I wonder if dennis will be kind enough to donate some free time to me, having a little guide on how i can achieve this.
I wonder if dennis will be kind enough to donate some free time to me, having a little guide on how i can achieve this.
if u got a sample site, i can show it to u otherwise its very hard to explain in words form... basically i am using the if condtional statement (just like if/else programming) in the templates to achieve it :)
If you are looking for a simple rotator script, this might just work for you.
1. Call the file wherever you want to display your banners: <? require('banners.php'); ?>
2. Change the path to the data file
3. Put your banner codes inside the data file.
<?php
// banners.php
srand((double)microtime()*1000000);
$banners="data.dat";
$banners=file($banners);
$select=rand(0, count($banners)-1);
echo $banners[$select];
?>
So inside the data.dat
banner code 1
banner code 2
banner code 3
Of course, if you want a full loaded ads management script, this is not the one. :)
If you are looking for a simple rotator script, this might just work for you.
1. Call the file wherever you want to display your banners: <? require('banners.php'); ?>
2. Change the path to the data file
3. Put your banner codes inside the data file.
<?php
// banners.php
srand((double)microtime()*1000000);
$banners="data.dat";
$banners=file($banners);
$select=rand(0, count($banners)-1);
echo $banners[$select];
?>
So inside the data.dat
banner code 1
banner code 2
banner code 3
Of course, if you want a full loaded ads management script, this is not the one. :)
most probably i dun think he will want this... if I am not mistaken, LampPC is trying to do a advertising/publisher biz :) He will need statistics.
vBulletin® v3.5.6, Copyright ©2000-2010, Jelsoft Enterprises Ltd.