1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[XFA] Thread Management Automation [Paid] 1.1.0

Decrease moderators work and add automation to your forum (open/close, show/hide, stick/unsticky) !

  1. XFA

    XFA Well-Known Member

    XFA submitted a new resource:

    [XFA] Thread Automation - Decrease moderators work and add automation to your forum (open/close, show/hide, stick/unsticky) !

    Read more about this resource...
  2. Rob

    Rob Well-Known Member

    I would really love to schedule a thread and have it show up at the specified time, but also, within that thread be able to schedule posts, and have them show at the correct time too. There are supposed "scheduled content" modifications in existance, but none of them work correctly. Could this be extended to work for posts too?
  3. MtoR

    MtoR Well-Known Member

    So you would be preparing the post along with the thread ?

    Main issue is that if the thread is started and post are made, the post would be displayed before the one added in the mean time so I guess this is not what you want ?
  4. Rob

    Rob Well-Known Member

    I just want to be able to schedule threads and posts. It should also be possible to schedule a post within a scheduled thread. Obviously if scheduling a post within a thread that is scheduled the UI should ensure the user chooses a post schedule after when the thread is scheduled. Does that make sense?
  5. Rob

    Rob Well-Known Member

    I have maybe misunderstood what this mod does.
  6. MtoR

    MtoR Well-Known Member

    Well currently what the mod does is let you configure some actions when creating a thread, including what you seek, ie. schedule a thread.

    However, it's just a matter of setting the thread state to open and setting its date but it's all relying on the thread table.
    So for the posts I think doing so wouldn't work as posts are order by id not date.
    Though I could have a further look I am perhaps saying nuts, in which case this could be extended to work with posts.
  7. XFA

    XFA Well-Known Member

  8. XFA

    XFA Well-Known Member

  9. XFA

    XFA Well-Known Member

    @Rob feature implemented :)
  10. Rob

    Rob Well-Known Member

    Excellent work XFA.....

    Now, just one test case for you before I download this.... (incidentally, this is where all the other add ons fall down)....

    1. Schedule a thread for 3PM
    2. Schedule 2 posts in that thread... one for 4pm, one for 5pm

    When the thread goes live, have some people reply to the thread. After the 1st scheduled post goes live at 4pm have more people reply.... after the last scheduled post goes live reply some more.

    Observe....Desired Result.... The post order should be maintained..... the order of posts should maintain the timeline of events.... that being the 1st post (op), followed by all replies before 4pm, followed by scheduled post 1, followed by all replies before 5pm..... followed by scheduled post 2.... followed by all other replies.

    Other mods simply do not get the timeline correct and posts appear out of chronological order - all that is required (in my opinion) is to rebuild the thread cache / data at the time when each scheduled post goes live - there is a method in the controller (I can signpost you if you need).

    You may have already thought of this but frankly no-one else has and no-one is really bothered - as a result everyone else's mods are broken.

    Once this is all working then I can download and test it on my site.... we use scheduled posts a lot currently but can't use them in every scenario we would like as we don't have a proper solution - I think this might be it :D

    @RDR - this might interest you :p
    RDR likes this.
  11. MtoR

    MtoR Well-Known Member

    The desired result is how the add-on works.

    When the time comes to show the post, I change the post date to the current time and run the controller post positions reordering as it of course wouldn't have been logical the other way... :)

    If other mods don't bother then that's a pity... I find this very illogical... If you plan a post that come to be mixed far before in the thread at its display point, that is useless...
    ScarletCox and Rob like this.
  12. Rob

    Rob Well-Known Member

    In that case....... I'm going to download and test this out on one of my sites.... I'll feedback soon.


  13. MtoR

    MtoR Well-Known Member

    Sure, don't hesitate to come back to us if you find any problem or want to suggest something.

  14. Rob

    Rob Well-Known Member

    I've got some issues here right off.....

    A scheduled THREAD should not allow replies, UNLESS either:-
    • the reply is scheduled after the thread
    • the thread schedule has passed
    The post stamp (eg. posted 10 minutes ago) is not accurate..... it should equal the schedule'd time.

    The "hidden" icon should use the sprite at either (-32px -32px) or (-48px -32px) as it shows a yellow star for me (I'm using UI.X)
  15. Rob

    Rob Well-Known Member

    Moving a thread that is scheduled results in a message saying it's already in the destination forum
  16. MtoR

    MtoR Well-Known Member

    Not sure I understand this one, it doesn't not unless you have the right to see it.
    Unless you just meant I should block the posting of scheduled post after that time ?

    When it become visible, it will show the right time, ie. a moment ago.
    But you certainly have the right to view.

    For me it shows the warning, see screenshots.
    But in your case that is perhaps relative to the style ?

    Hum, you mena you can't move a thread at all due to that ?

  17. Rob

    Rob Well-Known Member

    The post stamp on the forum view is wrong.... (ie, last post).... thats the one I mean that is wrong
    It may be cached I guess but obviously it should be updated.

    I just wanted to avoid someone (who can SEE the scheduled thread, ie staff) replying to it before the schedule kicks in (unless of course, their reply is a post that is scheduled after the thread)..... should someone reply normally their should be some sort of error, or warning that their post will be automatically scheduled for X date/time?

    I've set my cron to run every minute.... could the UI allow minute selection or is that too hard to implement?
  18. Rob

    Rob Well-Known Member

    Update..... correct. a thread that is scheduled cannot be moved - it just throws an error saying it's already in the destination forum.
  19. MtoR

    MtoR Well-Known Member

    It shall not be updated until the thread become visible.
    Unless I misunderstood ?

    You are right, will fix that in the next release.

    I could change it to minutes but you would have a big list of times showing every minutes.
    Wouldn't be an issue for you ?
  20. MtoR

    MtoR Well-Known Member

    Allright will investigate. Thanks for the report.

Share This Page