Unpublish nodes after deadline passes

Posts: 12
Joined: 03/13/2008

I'm using Ubercart for event registrations, and for the most part it works great, but there are a few basic features that are missing...

One of these, unless I'm missing something, is the ability to automatically remove an item from the catalog (unpublish a node) when a deadline passes.

I tried setting up a Workflow-NG event, but then I remembered seeing something similar in another Drupal installation, and I found the Scheduler module: http://drupal.org/project/Scheduler

Is this the best solution for the functionality I'm looking for, or is there something else I should try? Thanks in advance.

Posts: 14
Joined: 06/23/2008

Hi,

I need to implement something similar. Did this solution work for you?

Thanks,
-S-

Posts: 31
Joined: 02/10/2008

We use the Scheduler module...works fine

--

www.PrintersCloset.com - Epson professional graphics printers and supplies for photographers, fine art galleries, sign printers and commercial printing companies.

Posts: 7
Joined: 01/20/2008

Hi there,

You should use the workflow_ng module (it's already installed so why not using it?)

Read the tutorial here: http://drupal.org/node/175319 (it's about publishing but unpublishing is practical the same)

Good luck!

Fred

Posts: 1139
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

That tutorial is a little hard to understand (some of the sentences are difficult to follow) but I was able to get this concept working in 10 minutes or so. One thing to remember is, CRON needs to be running on your server. On our control panel's crontab I have it set to run every hour (and it sends our affiliate program, Linkshare, hourly stats - among other things). So even though I had set a node to publish at 12:54pm, it actually didn't publish until cron ran at 1:00.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com