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.