Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Hiding a specific thread in category_list

Quote Reply
Hiding a specific thread in category_list
Every so often, I need to stard a thread that I don't want people to post to yet (yeah, sounds weird, but we're a newspaper, so if we want to promote a forum for a specific article, we need to create the thread ahead of time so that the URL can be built into the article).

I've figured out how to hide the thread in forum_view - wrap the lines that loop the thread listings with something like

Code:
<%ifnot hide_thread%> ... <%endif%>

where hide_thread is a new field in the database for just this.

But how would I keep this from showing up as the "last post" in category_list? I tried wrapping it with the above code, which didn't work, which makes sense since it's looking in the forum table, not the post table.

Thanks!
Quote Reply
Re: [agaffin] Hiding a specific thread in category_list In reply to
You could create a new forum with "No Access" set for all users, then once the article goes live, simply move the post from one forum to the other. The post_id won't change, and so the URL will still be valid.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Hiding a specific thread in category_list In reply to
Oy, that is just too simple for words! Thanks!