View Full Version : post new thread page ..
i want to add some importent rules in (post new thread page) top of the txt box.
all what i wanna do is to write some importent rules as a reminder b4 posting the thread .
and also in sending pm page ......any help will be appreciated .
warm regards
This is what I use - but I have amended the URL's so there's no impact on my forums if anyone uses this. You will need to amend the html accordingly to display whatever you want to display within whatever forum you want it to display in.
You need to amend the forumID (in my code this is 11) to your forumID that you want this to appear above when making new threads.
To check this out see the screenshot
917
In your newthread template find this code;
$postpreview
<form action="newthread.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
and then amend it by adding the red code to something like this:
But be sure to change the $forumID to your forumID that you want this text to appear when a new thread is created in it.
$postpreview
<form action="newthread.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>
<br>
<if condition="$forumid == 11">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="centre">
<tr><td class="thead" colspan="3" align="centre"><b>NOTICE: Rules / Guidelines for ALL posts submitted to the "tMP User Submitted News" forum....</b></td></tr>
<tr><td class="alt1" width="64"><img border="0" src="http://www.yourimage.com/images/Exclamation.gif" width="64" height="64"></td>
<td class="alt1" width="100%" align="centre" colspan="2">Hi <strong>$bbuserinfo[username]</strong>,<br/>We would like to ensure that all posts that appear on this Page are of consistent format and publishing standard. With this in mind; when posting within the <strong>Name of your forum category </strong> on yoursite, can we respectfully request please that you ensure the content of your news post is formated in accordance with the following guidelines.</td>
</tr>
<tr>
<td class="alt2" width="80"><strong>Font Used</strong></td>
<td class="alt2" width="100%" colspan="2">Please use the normal / default point font used for whatever style you have selected. Please do not use different point sizes within your news submission.</td>
</tr>
<tr>
<td class="alt2" width="80"><strong>Text Colour</strong></td>
<td class="alt2" width="100%" colspan="2">Please use the default colour for the style used. Please do not use alternative colours for the body of your content. You may use additional colours to highlight phrases etc, but not for the entire content.</td>
</tr>
<tr>
<td class="alt2" width="80"><strong>Grammar and Punctuation</strong></td>
<td class="alt2" width="100" colspan="2">Please ensure that you use correct grammar and punctuation and totally avoid "txt/sms" speak.</td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3">Please ensure that all content submitted in this category conforms to the above guidelines. Posts and threads that do not follow these guidelines will not be validated/approved by a Moderator. If you are uncertain of how to format your content to these guidelines, please contact one of the tMP team.<br> Please note that tMP will not edit the <strong>content</strong> of any submitted news item as long as it conforms to the tMP general rules and guidelines on posting, however we may edit the format of your submission if it is not consistent. Many Thanks </td>
</tr>
</table>
</if>
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">Enjoy :)
breliant jhon ...i liked that too much ..thanx for support ..appreciated
one question ...what if i want to show a diffrent rules for each forum .i mean each forum have it's own rules ..?
warm regards
That would be the easiest way yes, a different conditional for each forum. No worries doing that though as conditionals don't have any noticeable detrimental effect on performance.
Chris
01-11-2007, 08:20 PM
That is a pretty neat idea John. I might use this in a couple sections on my forum.
Thanks.
Cheers Chris... glad you like the idea - though it's a pretty simple one eh!
Tell you what though, I couldn't half do with a more appropriate image to use on that page, must see if I can get one of a good designer somewhere. ;)
Chris
01-11-2007, 10:54 PM
Cheers Chris... glad you like the idea - though it's a pretty simple one eh!
Tell you what though, I couldn't half do with a more appropriate image to use on that page, must see if I can get one of a good designer somewhere. ;)
John you know my email if you ever need something. ;)
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.