View Full Version : Add info above reply box
rh2004
01-06-2005, 05:15 PM
Hey..
Im looking for the mod to add something like this... the same just different text..
Its above the quick reply box and above a normal reply box...
WetWired
01-06-2005, 11:38 PM
Hey..
Im looking for the mod to add something like this... the same just different text..
Its above the quick reply box and above a normal reply box...
Admincp->vBulletin options->Message Posting Interface Options->Enable Clickabke Message Formatting Controls
Admincp->vBulletin options->Message Posting and Editing Options->Quick Reply Enabled
Those are the settings that control that standard feature
I think you missunderstood his question WetWired :)
In your AdminCP go to Languages & Phrases ? Phrase Manager. Add a new Phrase;
Varname: reply_rule
Text: Whatever text you want inserted.
Go to Styles & Templates ? Style Manager. Edit the template 'showthread_quickreply';
Search for:
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
Add Below:
<tr>
<td>$vbphrase[reply_rule]</td>
</tr>
That was for the Quick Reply, now edit the template 'newreply';
Search for:
<tr>
<td class="panelsurround" align="center">
Add Above:
<tr>
<td>$vbphrase[reply_rule]</td>
</tr>
This should do it.
rh2004
01-07-2005, 02:48 AM
ohh awesome, thats great :)
now can you tell me how I add it to look like that one I tried but its all messed up
This is there code:
<tr>
<td>
<table style="width:100%;" cellpadding="0" cellspacing="0" border="0"><tr><td class="important">IMPORTANT:</td><td class="redtable">
<span class="smallfont"><strong>- Please ensure your reply is constructive and adds to the discussion<br />- Pointless posts will be removed and may result in you losing posting privileges<br />- To avoid misunderstandings, please don't use 'txt spk' and ensure your post is relatively typo-free</strong></span></td></tr></table>
</td>
</tr>
:) thanks
Replace '$vbphrase[reply_rule' in the templates 'showthread_quickreply' and 'newreply' with this:
<table style="width:100%;" cellpadding="0" cellspacing="0" border="0"><tr><td class="important">IMPORTANT:</td><td class="redtable">
<span class="smallfont"><strong>$vbphrase[reply_rule]</strong></span></td></tr></table>
Also, be sure to add the CSS Selector (for importand and redtable) in your All Style Options Page.
rh2004
01-07-2005, 04:04 PM
Hey.. how do I add the CSS selector also ...
This is the reply_rule
<table style="width:100%;" cellpadding="0" cellspacing="0" border="0"><tr><td class="important">IMPORTANT:</td><td class="redtable">
<span class="smallfont"><strong>$vbphrase[reply_rule]</strong></span></td></tr></table>
This is the showthread_quickreply
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td>cellspacing="0" border="0"><tr><td class="important">IMPORTANT:</td><td class="redtable">
<span class="smallfont"><strong>$vbphrase[reply_rule]</strong></span></td></tr></table>]</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
This is the newreply now ...
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
$vbphrase[reply_to_thread]
</td>
<tr>
<td><table style="width:100%;" cellpadding="0" cellspacing="0" border="0"><tr><td class="important">IMPORTANT:</td><td class="redtable">
<span class="smallfont"><strong>$vbphrase[reply_rule]</strong></span></td></tr></table>]</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
Is that what you wanted me to do...
There is an image below of how it looks (6367647657.JPG )... the second image is how it looks
when im using the first html code in phrase reply_rule (363562222.JPG )
You shouldn't insert such code into a phrase, it's messy! You should do it like I said to do it, insert the HTML code into the templates and just whatever text into the phrase.
rh2004
01-07-2005, 05:50 PM
You shouldn't insert such code into a phrase, it's messy! You should do it like I said to do it, insert the HTML code into the templates and just whatever text into the phrase.
You never put what to enter in the phase... and also what type is it global
etc
Could you tell me what to add .. :)
Also the CSS... how to enable, add :up:
Thanks
You insert whatever text in the phrase you want displayed. The phrase = the text.
For the CSS, go to the 'All Style Options' Page, scroll almost all the way to the bottom and add the css in the lower box for 'Additional CSS Definitions'.
rh2004
01-08-2005, 01:14 AM
ok phrase I understand now...
But the CSS how do I know what to enter... :)
thanks for the help
I suggest you look at some CSS Tutorials to understand what it is and what you need to do: http://www.w3schools.com/css/default.asp
rh2004
01-09-2005, 04:51 PM
I suggest you look at some CSS Tutorials to understand what it is and what you need to do: http://www.w3schools.com/css/default.asp
Ok thanks for all the help I will try it out :squareeyed:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.