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
  #22  
Old 02-13-2008, 12:48 AM
rwoscott rwoscott is offline
 
Join Date: Jan 2007
Location: Melbourne
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I liked this and had it installed, but I removed it from reply, as it was not allowing to increase/decrease the size of the message text area.
Is there a way to get that too work?

I kept it in quick reply.
Reply With Quote
  #23  
Old 10-16-2008, 05:35 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me see if I can replicate the problem - sorry for the delayed response, I was in a leave of absence state - sorry about that.
Reply With Quote
  #24  
Old 03-07-2009, 04:49 PM
csoroner's Avatar
csoroner csoroner is offline
 
Join Date: Apr 2008
Location: Los Angeles, CA USA
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
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.
This looked like a good thing but with my having the same issue as TCE Killa I'm pulling this one out.

Maybe this one needs to be moved to the grave yard?
Reply With Quote
  #25  
Old 03-11-2009, 01:29 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can login and do it for you if you like - when done properly it works perfect - so I would say no to moving it to the graveyard. If you want me to try it for you I will need a admincp login.
Reply With Quote
  #26  
Old 03-12-2009, 03:22 PM
csoroner's Avatar
csoroner csoroner is offline
 
Join Date: Apr 2008
Location: Los Angeles, CA USA
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the offer but I wound up using Ev!L ErN!E's and it's fine. I just need to figure out how to stop the image from scrolling in the quick reply box.

May you have an idea for that?
Reply With Quote
  #27  
Old 11-08-2009, 07:07 PM
accludetuner accludetuner is offline
 
Join Date: Jun 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, this hasn't been posted in for a while. I used a combo of this and Ev!L ErN!E's mod.

I had an issue with the centering of the image, the fact that the increase/decrease box didn't work, and didn't like the image being shown in all input boxes. Here's what I did and this works great for me on 3.8.4 with all the major browsers.

3 template edits.

In Editor Templates > editor_toolbar_off

find:
Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="
insert directly after the style="
Code:
background:#FFFFFF url(images/image.png); background-repeat: no-repeat; background-position: center center;
(note there is a space at the end. You want a space right after - center; )

Things in green should be changed to your forum stuff.



In Editor Templates > editor_toolbar_on

find:
Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="
insert directly after the style="
Code:
background:#FFFFFF url(images/image.png); background-repeat: no-repeat; background-position: center center;
(note there is a space at the end. You want a space right after - center; )

Things in green should be changed to your forum stuff.



In Show Thread Templates > showthread_quickreply
find:
Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="
insert directly after the style="
Code:
background:#FFFFFF url(images/image.png); background-repeat: no-repeat; background-position: center center;
(note there is a space at the end. You want a space right after - center; )
(also note, this needs to be done TWICE in this template. There are two instances that need to be modified so make sure you do both. )

Things in green should be changed to your forum stuff.


That's it. Works perfect for me. Hope this helps some you struggling to get it to work, gripes about the display in all input boxes, or issues with the text box increase/decrease buttons.
Reply With Quote
  #28  
Old 12-16-2009, 11:36 AM
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i get it so it shows in shoutbox ?
Reply With Quote
  #29  
Old 01-02-2011, 08:33 PM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, ok ive done the edits to all 3 templates you listed, and i made to changes from this poster Ev!L ErN!E's mod....however, my image still not showing up at all. im using firefox, but was really hoping this would work, i like the idea...but not working 8-(


http://carolinabroncos.com
Reply With Quote
  #30  
Old 01-03-2011, 08:31 PM
blazinchuck blazinchuck is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i figured it out
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 11:31 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.04806 seconds
  • Memory Usage 2,315KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_code
  • (6)bbcode_php
  • (1)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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