SMF Ads Support Forum

Support => General Support => Topic started by: 7thking on July 15, 2008, 07:35:07 am

Title: queuing ads
Post by: 7thking on July 15, 2008, 07:35:07 am
i'm selling banner space on my smf forum
this means that i'm using the ad mod to put banners on the smf

is there a way that the ads are automatically rotated after a fixed time, like say 24hours?

like if a banner is put up today, it will expire in 24hours and the next in line banner will be displayed

is there a way to automate this process?
Title: Re: queuing ads
Post by: riversen on July 29, 2008, 12:26:55 pm
not in this mod. You need to fix this with your own PHP code and insert it as an ad.
Title: Re: queuing ads
Post by: ccbtimewiz on July 29, 2008, 12:34:34 pm
The above can be created using the rand() function. Simply create a small script that rotates between image1.jpg, image2.jpg, and so on defined in an alloted time, which can be defined in a variable.