Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Adding a background image into the reply boxes Details »»
Adding a background image into the reply boxes
Version: 1.00, by Ev!L ErN!E Ev!L ErN!E is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 10-25-2006 Last Update: Never Installs: 225
 
No support by the author.

**** THIS SHOULD (DID 4 ME) ADD A BACKGROUND IMAGE TO THE QUICK REPLY BOX AS WELL ****


This is NOT a hack, its just a very simple template edit, so theres nuthing to download or install, this only been tested on IE6:
Go to>

Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu)
Edit these two sections

- WYSIWYG Editor

- Input Fields

Add the line below in the Standard CSS Attributes side, in the "background" field

Code:
#2D2D2D url(images/yourimagehere) repeat-x center fixed
Replace the "green" text with your color code & the path/filename of your background image.

example:
images/replyboxbg.gif

Then

add this into the Extra CSS Attributes box:

Code:
background-repeat: no-repeat;
background-position: center center;
(see attachments)

Save CSS and your good to go....

Please Click INSTALL

Enjoy!

Show Your Support

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

Comments
  #82  
Old 07-04-2007, 05:21 AM
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
Location: D/FW, Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed.

works great for post reply.

however, the i can't get the quick reply box to work at all. and the showthread_quick reply edits don't help me because i don't have the code that is show to replace.

i have vb 3.6.5

if someone could help me fix the quick reply that would be great. i did try putting the editor code in the input field section and it appeared in quick reply, but the image scrolled.

it's odd how the exact same code that makes it work correctly in the editor doesn't work in quick reply?
Reply With Quote
  #83  
Old 07-24-2007, 12:29 PM
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Location: Canada, eh?
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great, thank you
Reply With Quote
  #84  
Old 08-04-2007, 10:13 PM
BinaryTechZone BinaryTechZone is offline
 
Join Date: Jan 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice Hack! Worked Flawlessly and really liven the boring interface to suit a sites format!

Brain@binarytechzone.com
Reply With Quote
  #85  
Old 08-06-2007, 04:17 AM
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool addition - this worked great on our site!
Reply With Quote
  #86  
Old 08-06-2007, 11:40 AM
bandare bandare is offline
 
Join Date: Nov 2004
Location: Derby, UK
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does the image need to be a certain size or will it resize it?
Reply With Quote
  #87  
Old 08-07-2007, 12:04 AM
MarcG MarcG is offline
 
Join Date: Jan 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea for adding a personal touch to a forum! works great!

Anyone have a css hack for keeping the image within the input boxes for firefox 2.0.0.6? The image doesn't stay within the text field when scrolling up and down.
Reply With Quote
  #88  
Old 08-07-2007, 01:38 AM
Caddyman Caddyman is offline
 
Join Date: Mar 2006
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ it probably will if you use the WYSIWYG editor.........IDK why....lol
Reply With Quote
  #89  
Old 08-28-2007, 07:51 PM
Barteken Barteken is offline
 
Join Date: Feb 2006
Location: Belgium
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to get a background in the postbit?
Reply With Quote
  #90  
Old 08-29-2007, 02:23 AM
cloyal cloyal is offline
 
Join Date: Sep 2005
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this to work but only shows up in FF, not IE. Any suggestions?
Reply With Quote
  #91  
Old 08-29-2007, 01:02 PM
Neo_Angelo's Avatar
Neo_Angelo Neo_Angelo is offline
 
Join Date: Dec 2005
Location: Ober Dere!
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

an excellent addition to vB i will use this i think, looks very cool and a good job on this. well done ^_^.

Upon some tweaking and other such things i've managed to get mine to appear in the bottom right of my box, since i know CSS pretty well i could tell from the start something wasn't right, as someone mentioned above, the coding made it so it repeated the image in the centre, your image must of been pretty big as it didn't repeat on yours.

If anyone is interested in my version of this then i'll post it below. the screenshot is what happens when using a 75w x 24h image

In the WYSIWYG bit:
Code:
#242F37 url(images/yourimage.gif) no-repeat bottom right fixed
PS i've tested this in Firefox version 2 and onwards and it works, not tested in IE and doesn't work in Opera 9.2+

in the extra CSS remove:

Code:
background-repeat: no-repeat;
background-position: center center;
since you don't really need this bit.
Reply With Quote
Reply

Thread Tools

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 05:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09711 seconds
  • Memory Usage 2,295KB
  • 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
  • (4)bbcode_code
  • (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
  • (4)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