@julian I have a timestamp and I need to schedule the topic at this timestamp. So suppose that I want schedule topic at 01/12/2017(only) how can I modify the code to schedule the topic at these date?
How schedule a topic in the future?
I need to schedule a topic in the future, suppose to have a future timestamp, so to schedule a topic I do this:
topics.setTopicField(tid, ['timestamp'], timestamp, next);
But it doesn't work. is there a method that I can use to not show the topic until the timeout is reached?Anyone can help me?
I don't think there's anything in core. But you could probably use the filter:topics.get hook and remove topics with a timestamp greater than now.