I decided to add a confirmation page so they must read it and then click on the link to take them to a new post.
Attached is the confirm.php and the template, confirm.txt. Upload the confirm.php to your forum directory and create a new template called
confirm. In the confirm template you will need to add your own html with what you want it to say, then you can add a static link that takes them directly to the post page in that forum.
Adding the conditions for your specified battle forum, this will replace all 3 instances of "Submit New Thread":
Important: Be sure to change your forum ID as specified.
In the forumdisplay template find:
PHP Code:
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
Replace with:
PHP Code:
<td class="smallfont"><if condition="$show['newthreadlink']">
<if condition="$foruminfo[forumid] == 100"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]">
</if> <img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
Find:
PHP Code:
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
Replace with:
PHP Code:
<td class="smallfont"><if condition="$show['newthreadlink']">
<if condition="$foruminfo[forumid] == 106"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]">
</if>
<img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
Find:
PHP Code:
<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]">$vbphrase[post_a_new_thread]</a></td></tr></if>
Replace with:
PHP Code:
<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option">
<if condition="$foruminfo[forumid] == 106"> //<--- Change to your battle forum ID number
<a href="http://www.yoursite.com/vb/confirm.php">
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"></if>$vbphrase[post_a_new_thread]</a></td></tr></if>