PDA

View Full Version : Move Smilies [smiliebox] Below Text Message Field



Jose Amaral Rego
Wed 1st Aug '07, 2:34am
Note: this first edit is optional, as it will only just template align.

AdminCP -> Styles & Templates -> Style Manager -> «Expand Templates» -> Editor Templates -> «Expand Template Group» ->

# find in template: editor_smiliebox


<if condition="$show['smiliebox']">
<fieldset id="{$editorid}_smiliebox" title="$vbphrase[smilies]">
<legend>$vbphrase[smilies]</legend>
<table cellpadding="4" cellspacing="0" border="0" align="center">
$smiliebits
<if condition="$show['moresmilieslink']">
<tr>


# replace within template: editor_smiliebox



<if condition="$show['smiliebox']">
<fieldset id="{$editorid}_smiliebox" title="$vbphrase[smilies]">
<legend>$vbphrase[smilies]</legend>
<table cellpadding="4" cellspacing="0" border="0" align="left">
$smiliebits
<if condition="$show['moresmilieslink']">
<tr>


Save in Template History? Check box - Check
Comment: smiliebox_left_align


AdminCP -> Styles & Templates -> Style Manager -> «Expand Templates» -> Editor Templates -> «Expand Template Group» ->

# find in template: editor_toolbar_on


<tr valign="top">
<td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>





# add and replace in template: editor_toolbar_on



<tr valign="top">
<td class="controlbar"><textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea></td>
</tr>
<if condition="$smiliebox">
<tr>
<td class="controlbar">$smiliebox</td>
</tr>
</if>


vBulletin version 3.6.8
# find in template: editor_toolbar_on


<tr valign="top">
<td class="controlbar">
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
</td>
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>





# add and replace in template: editor_toolbar_on


<tr valign="top">
<td class="controlbar">
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea>
</td>
</tr>
<if condition="$smiliebox">
<tr>
<td class="controlbar">$smiliebox</td>
</tr>
</if>


Save in Template History? Check box - Check
Comment: smiliebox_bottom



Default SmilieBox - Left Align - Center Align - Smilies per Row

Ohiosweetheart
Wed 1st Aug '07, 12:47pm
I use the hack for this coded by Princeton, an admin on vb.org.
SIMPLE, only 3 template edits, and you're done.

TalkvB
Wed 1st Aug '07, 3:48pm
Thanks for the information!

Jose Amaral Rego
Wed 1st Aug '07, 5:43pm
3(three), but mine is only uses one and the the other is optional template edit. Is it some sort of plugin or regular template edits.

Ohiosweetheart
Wed 1st Aug '07, 5:59pm
Here it is Jose. And I was mistaken, there is only one template edit and an additional optional template edit.

http://www.vbulletin.org/forum/showthread.php?t=129306