Info Box when starting new thread
This modification is in the archives.
This small modification will add a Info Box that is shown when a new thread is started.
It can be used to "remember" the users to follow the posting guidelines. open admincp: styles & templates -> Style Manager -> edit templates -> New posting templates -> newthread look for: Code:
<tr> <td class="tcat"> <span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span> $vbphrase[post_new_thread] </td> </tr> Code:
<tr> <td class="panelsurround"> <div class="panel"> <b><font size="4">Important:</font></b> <ul> <li>Rule 1:</li> <li>Rule 2:</li> <li>Rule 3:</li> </ul> If you do not follow this advice your post will be ignored or deleted. </td> </tr>
you have to use </br> at the point you want the text to start in a new line. i.e. Code:
<tr> <td class="panelsurround"> <div class="panel"> <b><font size="4">Important:</font></b> <ul> <li>Rule 1:</li> </br>Make sure that..... </br>and please do not... </br>oh and you should never <li>Rule 2:</li> </br>Make sure that..... </br>and please do not... </br>oh and you should never <li>Rule 3:</li> </br>Make sure that..... </br>and please do not... </br>oh and you should never </ul> If you do not follow this advice your post will be ignored or deleted. </td> </tr> Download No files for download. Screenshots
|