Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add backround image to quickreply and reply boxes (using Inline CSS,Template Edits) Details »»
Add backround image to quickreply and reply boxes (using Inline CSS,Template Edits)
Version: 1.00, by brvheart brvheart is offline
Developer Last Online: Mar 2015 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.11 Rating:
Released: 09-27-2007 Last Update: Never Installs: 23
Template Edits
 
No support by the author.

Brvheart's - Add backround image to quickreply and reply boxes
-----------------------------------------------------------------------------------------------------------------
This is a few simple template edits, I have seen this done via CSS but could not get it to work without the
image scrolling out of view, so I decided to play around and see if I could get it to work in a different manner. I was not able to find the original thread that I saw this in with the CSS edits etc, if I find it I will gladly give credit for the original idea to the author.

EDIT - Original hack here by Ev!L ErN!E

See Directions below.

The image should be uploaded to your images directory and be around 330 x 89 in size. I will upload the one I am using as a base.

**************note*************
the "background:#262626 in the below code needs to be change to fit your backround color, this is mine that I used,
make sure to change it for your style on your board.

**************end note*********
-----------------------------------------------------------------------------------------------------------------

Details:

Files to upload:
1 - to images folder

Template edits:

Editor Templates
editor_toolbar_off
editor_toolbar_on
Show Thread Templates
showthread_quickreply

Live Demo - here

please click install
---------------------------------------------------------

Instructions:

in editor_toolbar_off find:

PHP Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" 
After place:
PHP Code:
<!-- start brvhearts backround image -->
style="background:#262626 url(images/imagename.gif); background-repeat: no-repeat; background-position: center center;
<!-- end brvhearts backround image --> 
---------------------------------------------------------

in editor_toolbar_on find (towards bottom of template):

PHP Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" 
After place:
PHP Code:
<!-- start brvhearts backround image -->
style="background:#262626 url(forumpath/imagename.gif); background-repeat: no-repeat; background-position: center center;
<!-- end brvhearts backround image --> 
---------------------------------------------------------

in showthread_quickreply find (towards bottom of template):

There will be 2 instances of the below at the end of the template, you are looking for the second one

PHP Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" 
After place:
PHP Code:
<!-- start brvhearts backround image -->
style="background:#262626 url(forumpath/imagename.gif); background-repeat: no-repeat; background-position: center center;
<!-- end brvhearts backround image --> 

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-09-2008, 10:21 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but I can't get it to work. I've done the Main CSS, done the templates edits but I don't get anything in my Quick Reply box and this is what I get in the normal box:


style="background:#000099 url(images/bluebg.bmp); background-repeat: no-repeat; background-position: center center;
<!-- end brvhearts backround image -->
style="display:block; width:540px; height:250px" tabindex="1" dir="ltr">

Any ideas, where I am going wrong? I've tried the full image address as well with still no luck. And I have changed the colors to my actual main css color. Thanks.
Reply With Quote
  #13  
Old 01-10-2008, 01:23 AM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you can give me a admin login for temp use I can have a look for you. PM if you want.
Reply With Quote
  #14  
Old 01-10-2008, 08:50 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll just show you my templates instead and hopefully you can correct them.

Here is my Main CSS WYSIWYG edit:

Background: #000000 url(images/hiphop.jpg) repeat-x center fixed

Extra CSS: background-repeat: no-repeat;
background-position: center center;

Here is my editor_toolbar_off template:

PHP Code:
<!-- START NORMAL TEXT AREA -->
$vBeditTemplate[clientscript]

<
div style="text-align:$stylevar[left]style="padding-right:8px">
<
textarea name="message" id="{$editorid}_textarea" rows="10" cols="60"

  
<!-- start brvhearts backround image --> 
style="background:#000000 url(images/hiphop.jpg); background-repeat: no-repeat; background-position: center center; 
<!-- end brvhearts backround image -->  
      
 style="
width:100%; height:{$editor_height}px" tabindex="1">$newpost[message]</textarea>
    <!--width:
$stylevar[messagewidth]-->
</div>

<script type="
text/javascript">
<!--
vB_Editor['
$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
//-->
</script>
<!-- END NORMAL TEXT AREA --> 
Here is my edit_toolbar_on template:

PHP Code:
$vBeditTemplate[clientscript]

<
table cellpadding="0" cellspacing="0" border="0">
<
tr>
    <
td id="$editoridclass="vBulletin_editor" width="100%">
        <
div id="{$editorid}_controls" class="controlbar">
            <
table cellpadding="0" cellspacing="0" border="0">
            <
tr>
                <
td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]/></div></td>
            <if 
condition="$show['font_bbcode'] OR $show['size_bbcode']">
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
            </if>
            <if 
condition="$show['font_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
                        <
td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>                
                </
div></td>
            </if>
            <if 
condition="$show['size_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
                        <
td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>
            <if 
condition="$show['color_bbcode']">
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <
td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
                        <
td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>
            <if 
condition="$show['wysiwygsmilies']">
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <
td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
                        <
td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>
            <if 
condition="$show['attach']">
                <
td><div class="imagebutton" id="{$editorid}_popup_attach" title="$vbphrase[attachments]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td><img src="$stylevar[imgdir_editor]/attach.gif" alt="" width="21" height="20" /></td>
                        <
td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>
                </
div></td>
            </if>
                <!--
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.gif" width="21" height="20" alt="$vbphrase[cut]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.gif" width="21" height="20" alt="$vbphrase[copy]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.gif" width="21" height="20" alt="$vbphrase[paste]/></div></td>
                -->
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_undo"><img src="$stylevar[imgdir_editor]/undo.gif" width="21" height="20" alt="$vbphrase[undo]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_redo"><img src="$stylevar[imgdir_editor]/redo.gif" width="21" height="20" alt="$vbphrase[redo]/></div></td>
            <
td width="100%">&nbsp;</td>
            <if 
condition="is_browser('ie') AND !is_browser('mac')">
                <
td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]/></div></td>
            </if>
                <
td>
                    <
div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]/></div>
                    <
div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]/></div>
                </
td>
            <if 
condition="$show['wysiwyg_compatible']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]/></div></td>
            </if>
            </
tr>
            </
table>
            <
table cellpadding="0" cellspacing="0" border="0">
            <
tr>
            <if 
condition="$show['basic_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]/></div></td>
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
            </if>
            <if 
condition="$show['align_bbcode']">
                <if 
condition="$stylevar['textdirection'] == 'ltr'">
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]/></div></td>
                <else />
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]/></div></td>
                </if>
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
            </if>
            <if 
condition="$show['list_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="$stylevar[imgdir_editor]/insertorderedlist.gif" width="21" height="20" alt="$vbphrase[ordered_list]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="$stylevar[imgdir_editor]/insertunorderedlist.gif" width="21" height="20" alt="$vbphrase[unordered_list]/></div></td>
            </if>
            <if 
condition="$show['align_bbcode'] OR $show['list_bbcode']">
                <if 
condition="$stylevar['textdirection'] == 'ltr'">
                <
td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[increase_indent]/></div></td>
                <else />
                <
td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[increase_indent]/></div></td>
                </if>
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
            </if>
            <if 
condition="$show['url_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]/></div></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_email"><img src="$stylevar[imgdir_editor]/email.gif" width="21" height="20" alt="$vbphrase[insert_email_link]/></div></td>
            </if>
            <if 
condition="$show['img_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]/></div></td>
            </if>
            <if 
condition="$show['quote_bbcode']">
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]/></div></td>
                <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
            </if>
            <if 
condition="$show['code_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]/></div></td>
            </if>
            <if 
condition="$show['html_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif"  width="21" height="20" alt="$vbphrase[wrap_html_tags]/></div></td>
            </if>
            <if 
condition="$show['php_bbcode']">
                <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="$stylevar[imgdir_editor]/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]/></div></td>
            </if>
                
$vBeditTemplate[extrabuttons]
            </
tr>
            </
table>
        </
div>
        
        <
table cellpadding="0" cellspacing="0" border="0" width="100%">
        <
tr valign="top">
            <
td class="controlbar">
<
textarea name="message" id="{$editorid}_textarea" rows="10" cols="60"
  
<!-- start brvhearts backround image --> 
style="background:#000000 url(images/hiphop.jpg); background-repeat: no-repeat; background-position: center center; 
<!-- end brvhearts backround image --> 
                
style="
display:blockwidth:$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>
        </table>
    </td>
</tr>
</table>

<input type="
hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />

<script type="
text/javascript">
<!--
vB_Editor['
$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie', undefined, '$ajax_extra');
//-->
</script> 
Reply With Quote
  #15  
Old 01-10-2008, 08:51 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is my showthread_quickreply template:

PHP Code:
<if condition="$show['editor_toolbar']">
<
div id="{$editorid}_controls" class="controlbar">
    <
table cellpadding="0" cellspacing="0" border="0" width="100%">
    <
tr>
        <
td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]/></div></td>
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    <if 
condition="$show['basic_bbcode']">
        <
td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]/></div></td>
        <
td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]/></div></td>
        <
td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]/></div></td>
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    </if>
<if 
condition="$show['font_bbcode']"
                <
td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
                    <
table cellpadding="0" cellspacing="0" border="0">
                    <
tr>
                        <
td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
                        <
td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
                    </
tr>
                    </
table>                
                </
div></td>
            </if>
<if 
condition="$show['size_bbcode']">
    <
td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
     <
table cellpadding="0" cellspacing="0" border="0">
     <
tr>
     <
td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
     <
td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
     </
tr>
     </
table>
    </
div></td>
</if>
<if 
condition="$show['align_bbcode']">
    <if 
condition="$stylevar['textdirection'] == 'ltr'">
    <
td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]/></div></td>
    <
td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]/></div></td>
    <
td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]/></div></td>
    <else />
    <
td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]/></div></td>
    <
td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]/></div></td>
    <
td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]/></div></td>
    </if>
    <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
</if>
    <if 
condition="$show['color_bbcode']">
        <
td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
            <
table cellpadding="0" cellspacing="0" border="0">
            <
tr>
                <
td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
                <
td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>
            </
tr>
            </
table>
        </
div></td>
    </if>
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    <if 
condition="$show['url_bbcode']">
        <
td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]/></div></td>
    </if>
    <if 
condition="$show['img_bbcode']">
        <
td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]/></div></td>
    </if>
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        <
td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]/></div></td>
    <
td width="100%">&nbsp;</td>
    <if 
condition="is_browser('ie')">
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        <
td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]/></div></td>
    </if>
        <
td>
            <
div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]/></div>
            <
div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]/></div>
        </
td>
    <if 
condition="$show['wysiwyg_compatible']">
        <
td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        <
td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]/></div></td>
    </if>
<!-- [
START HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] -->
    <if 
condition="$vboptions['mtool_quickreply_setting_active']">
                
$vBeditTemplate[extrabuttons]
    </if>
<!-- [
END HACK='Magic Tool Box' AUTHOR='Alawi Ba3qeel & Alyassi' VERSION='3.0' CHANGEID] -->
    </
tr>
    </
table>
</
div>
</if>
<
div class="controlbar" style="padding-right:8px">
    <
fieldset style="border:0px; padding:0px; margin:0px">
    <if 
condition="$show['qr_require_click']">
    <
textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
    <else />
    <
textarea name="message" id="{$editorid}_textarea" rows="10" cols="60"
  
<!-- start brvhearts backround image --> 
style="background:#000000 url(images/hiphop.jpg); background-repeat: no-repeat; background-position: center center; 
<!-- end brvhearts backround image --> 

style="
width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
    </if>
    </fieldset>
    <!--width:
$stylevar[messagewidth]-->
</div>

<input type="
hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<input type="
hidden" name="styleid" value="$session[styleid]" />

<script type="
text/javascript">
<!--
vB_Editor['
$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
var QR_EditorID = '
$editorid';
//-->
</script> 
Can you see what I am doing wrong? Thanks.
Reply With Quote
  #16  
Old 01-10-2008, 11:45 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK- just tried this template edit this morning...
How do I get the editor to extend to length of the editor box?

Thanx,

Jacquii.

Reply With Quote
  #17  
Old 01-11-2008, 08:02 PM
trickfly trickfly is offline
 
Join Date: Jan 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm... I really want to try this but alot of people are having problems.

Also the size of the quick reply box and normal sized reply box are different sizes so how can the same 330 x 89 image fit both ?

Please help
Reply With Quote
  #18  
Old 01-14-2008, 12:32 AM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PoetJA-1975 View Post
OK- just tried this template edit this morning...
How do I get the editor to extend to length of the editor box?

Thanx,

Jacquii.

You need to adjust the editor size via admincp/styles & templates/style manager/all style options (for each style you have installed)/Size and Dimensions
Reply With Quote
  #19  
Old 01-14-2008, 12:34 AM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trickfly View Post
hmm... I really want to try this but alot of people are having problems.

Also the size of the quick reply box and normal sized reply box are different sizes so how can the same 330 x 89 image fit both ?

Please help

I actually trimmed down my "Full Reply" box, I have not tried it on a standard size...I will try it and see how it works.
Reply With Quote
  #20  
Old 01-14-2008, 07:05 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for responding BRVHEART - I actually do have the setting set for 588px in the AdminCP - but when I make the edits - it seems like that setting is ignored?!?

Any suggestions? ALSO Thanx again for sharing the modification

Jacquii.
Reply With Quote
  #21  
Old 01-21-2008, 12:29 AM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmm...not sure Poet to be honest. I will have a look and see what I can come up with....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06838 seconds
  • Memory Usage 2,688KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete