ad rotator

Any feature requests, please post here.
Post Reply
zincuk
Posts: 72
Joined: Sun Feb 25, 2007 3:17 pm
Contact:

ad rotator

Post by zincuk »

is it possible to instead of adding one fixed ad from the admin area we add a simple php ad rotator.

heres a code i use on websites

Code: Select all

<center>
<?php

$fcontents = join ('', file ('banner_ads.txt'));
$s_con = split("~",$fcontents);

$banner_no = rand(0,(count($s_con)-1));
echo $s_con[$banner_no];
?>
</center>
then in a text file you add you adds wanted to use and 1 is picked by random the ads are separated by a ~

eg
ad here
~
ad here
~
Ad here
You could integrate so where you imput the ad currently in mf_admin it adds the ads straight to the txt file the php code on the forum can randomly pick a ad. if people only want to use a single ad they would simply ad one ad
zincuk
Posts: 72
Joined: Sun Feb 25, 2007 3:17 pm
Contact:

Post by zincuk »

????
echophp
Posts: 657
Joined: Sun Feb 11, 2007 9:07 am

Post by echophp »

We won't support this feature. However we will make a feature that allow you can customize your ads by that way.

P/S: we don't reply because we will accept for next version or will make a feature that allow you do that or will add it into feature list that may be revised in future.
Post Reply