| View previous topic :: View next topic |
| Author |
Message |
zincuk
Joined: 25 Feb 2007 Posts: 72
|
Posted: Thu Aug 09, 2007 11:45 pm Post subject: ad rotator |
|
|
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: | <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
| Quote: | 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 |
|
| Back to top |
|
 |
zincuk
Joined: 25 Feb 2007 Posts: 72
|
Posted: Tue Aug 21, 2007 4:20 pm Post subject: |
|
|
| ???? |
|
| Back to top |
|
 |
echophp
Joined: 11 Feb 2007 Posts: 313
|
Posted: Wed Aug 22, 2007 11:23 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|