[Modification] Show message when creating thread in a specific forum.

Status
Not open for further replies.

Vincent_imported

Trusted Member
Joined
Dec 1, 2010
Messages
747
I made a little modification here so that, when creating a thread in a specific forum, a message comes up. This can be useful for if you got special rules for those forums, it will look like this than:

create_thread-png.4615



Go to the template called 'thread_create'

Now find
Code:
<xen:include template="helper_captcha_unit" />

And add after:
Code:
<xen:if is="{$forum.node_id} == FORUM_ID OR {$forum.node_id} == OTHER_FORUM_ID">
    <p class="importantMessage">
        <a href="/pages/YOURPAGE">
        Please read the forum rules before creating a post.<br />
        If you don't follow them, your thread will get locked.</a>
    </p>
</xen:if>

Note that the 'OR {$forum.node_id} == OTHER_FORUM_ID' isn't necessary if you only want it in 1 forum to appear.
 
Status
Not open for further replies.
Top