Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hide a Topic?


fel64
Member

@fel64

No, but it won’t be hard to write your own. Add a link to each topic (visible only to mods) to /hide.php?id=%topic_id%. In hide.php, check if the user is actually a moderator, if so add an entry to bb_topicmeta indicating this topic is hidden. Then use the right filter to monitor the topics and remove them from the list if it’s marked as hidden and the user isn’t a moderator. Finding the right filter might be hardest; I suspect it’s forum_topics but don’t know. List of filters here.

[edit] oh yes, also worth adding another element to the new topic creation form, asking if it should be hidden, so that the topic won’t be visible in between creation and being marked as hidden.

Skip to toolbar