ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Is there a way to meter the flow of posts?

August 15, 2007 9:13pm

Subscribe [3]
  • #1 / Aug 15, 2007 9:13pm

    Jonah

    3 posts

    Is there a way to meter the flow of posts? I would like to be able to make a lot of posts but not have them show immediately, but change to “open”

    For instance. I would like to create 50 posts. One post shows up immediately, the next post shows up 30 minutes later, the next 30 minutes after that without me having to do anything manual. It would be nice to add more posts before that 50 runs out.

    Is the only way to do this to manually set the time?

  • #2 / Aug 15, 2007 10:41pm

    PXLated

    1800 posts

    Is the only way to do this to manually set the time?

    It’s the only way I know of.

  • #3 / Aug 16, 2007 2:08am

    Ingmar

    29245 posts

    You could probably write a few lines of SQL / PHP, but there is, as PXLated noted, no built-in support for that.

  • #4 / Aug 16, 2007 2:22am

    PXLated

    1800 posts

    You could probably write a few liens of SQL / PHP

    Ingmar, I was thinking about that and couldn’t figure a way you could do it. Of course I’m a novice at SQL/PHP but you’d first need a way to identify or select the 50 entries, then set the starting date/time and sequence through. The sequencing doesn’t sound too difficult but easily identifying the entries sounds like a problem without making it an extension or something. Your thoughts?

  • #5 / Aug 16, 2007 3:14am

    Ingmar

    29245 posts

    Yes, you nailed it, the identifying would be the main issue. Could be done via a custom status, I suppose, a special category, or even a date range. I’d then sort them by entry_id, meaning that earlier entries will be shown earlier, loop through the set and change the entry_date accordingly. Not exactly out of the box functionality, as I’ve said, but shouldn’t be too hard, either. I imagine an external script would do it.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases