Is there any way to have an ad active online during certain times of the day.

Example:
A local pizza shop knows that advertising only between the hours of 3pm and 7pm are effecting. I would like to be able to have this particular ad only show during this time of day.

Maybe it cannot be done with the ad module and maybe it can be done with Rules installed. If anyone could help I would appreciate it.

Thanks in advance.

Comments

jeremy’s picture

Status: Active » Postponed

Sorry, there is currently no scheduling like this possible in the Ad module. I would prefer to see the ad module integrated with a third party module which can provide this functionality, but no of none that meets our requirements at this time.

Molot’s picture

It seems I might have to do this patch for the Warsaw City. Care to post any suggestions? I'd prefer to write in a way that'll give a hope my changes (hooks here) would either make their way into the module or at least would be easily applicable and consistent for anyone who'd want to use my patch.

EDIT:
Is there any hook checked for active modules, that'd allow calendar/timer module to say "nope, it is not active now" for active modules? It should be invoked before randomization procedure. Then, time of a day module would be easy enough.
Should I make a hook patch and example dummy 'night/day' module?

lrwebks’s picture

Issue summary: View changes
Status: Postponed » Closed (outdated)

Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!