Author Topic: queuing ads  (Read 3543 times)

0 Members and 1 Guest are viewing this topic.

Offline 7thking

  • Newbie
  • *
  • Posts: 7
queuing ads
« 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?

Offline riversen

  • Jr. Member
  • **
  • Posts: 31
Re: queuing ads
« Reply #1 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.

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: queuing ads
« Reply #2 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.