Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-26-2004, 08:18 PM
shadiguy1 shadiguy1 is offline
 
Join Date: Jul 2004
Location: Delco,Pa
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default background in reply box

ive added this into the input css area and it shows up in the reply box but it is also trying to add it to the TITLE box. Please advise on how i can have it just in the Reply box its showing up everywhere because i have it set to input box.

this is what i have.

background-image: url(/replylogo.gif);
background-repeat: no-repeat;
background-position: center center;

thats in my Css info off to the right on the input box field or what not in VB 3 All Style Options.
Reply With Quote
  #2  
Old 12-27-2004, 04:55 AM
imported_Sean imported_Sean is offline
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as I know bud, you can't do anything else, once you change the .input background, it will affect all the input forms, including the background for the login area, search, reply box, new thread form.

I don't think it is possible to add different classes for the input forms, and if there is, it is probably not supported in most browsers. Anyways, if you found out how to do this, let me know how you did it.
Reply With Quote
  #3  
Old 12-27-2004, 09:37 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could edit the template for the reply box and put it there, erm in not good with html but i think its just something like

background="www.wuteva.com/blah.gif"
Reply With Quote
  #4  
Old 12-27-2004, 11:20 PM
imported_Sean imported_Sean is offline
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes you could do it that way from the templates, but CSS wise I don't know how that could be done.
Reply With Quote
  #5  
Old 12-28-2004, 01:01 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moving to Modifcation requests, this isn't the correct forum to ask questions in. ^^;

With the CSS, it can be done, as long as you link to the appropriate style name and such in the code in your templates. This way, it will only link to where the style NAME is mentioned in your templates.
Reply With Quote
  #6  
Old 12-28-2004, 03:57 PM
imported_frage imported_frage is offline
 
Join Date: Oct 2004
Location: austria
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sean
yes you could do it that way from the templates, but CSS wise I don't know how that could be done.
Sean
to style the background of input or textarea ...
you have to learn css1 and css2

otherwise your style will crash
because every professional css (coder) get a headache about this, if a customer would like to have this

vb is valid please let it valid ....

ok!
christmastime
:-)
please have a look at this page .....
http://www.domedia.org/oveklykken/cs...background.php

admincp
styles&templates
css

find:CSS Selector: textarea, .bginput

background:
#yourcolor url(the absolute path of your backgroundpicture) repeat-x top left=or whatever you want
top right....





frage
Reply With Quote
  #7  
Old 01-09-2005, 03:07 AM
HuangA's Avatar
HuangA HuangA is offline
 
Join Date: Jun 2004
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by frage
Sean
to style the background of input or textarea ...
you have to learn css1 and css2

otherwise your style will crash
because every professional css (coder) get a headache about this, if a customer would like to have this

vb is valid please let it valid ....

ok!
christmastime
:-)
please have a look at this page .....
http://www.domedia.org/oveklykken/cs...background.php

admincp
styles&templates
css

find:CSS Selector: textarea, .bginput

background:
#yourcolor url(the absolute path of your backgroundpicture) repeat-x top left=or whatever you want
top right....





frage
Hi there frage;
I tried doing that earier today for a few hours (before reading this) and it seems to not work properly. When I add it to the textarea, .bginput, it shows up for a little while and goes away to the color I have defined as soon as it gets the focus. Is there something I must do (IE: disable WYSIWYG) before this will work?

Cheers.
Reply With Quote
  #8  
Old 01-09-2005, 04:41 PM
Jolten Jolten is offline
 
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The CSS for the reply area is actually within the templates. Don't ask me why. The CSS that gets applied to the reply box is located in the Editor Templates > editor_clientscript template. The vBulletin_editor id is what actually controls the background of the reply box.

Code:
<style type="text/css">
<!--
#vBulletin_editor {
	background: {$istyles[pi_button_normal][0]};
	padding: $stylevar[cellpadding]px;
}
.imagebutton {
	background: {$istyles[pi_button_normal][0]};
	color: {$istyles[pi_button_normal][1]};
	padding: {$istyles[pi_button_normal][2]};
	border: {$istyles[pi_button_normal][3]};
}
.ocolor, .ofont, .osize, .osmilie, .osyscolor, .smilietitle {
	background: {$istyles[pi_menu_normal][0]};
	color: {$istyles[pi_menu_normal][1]};
	border: {$istyles[pi_menu_normal][3]};
}
.popup_pickbutton {
	border: {$istyles[pi_menu_normal][3]};
}
.popup_feedback {
	background: {$istyles[pi_menu_normal][0]};
	color: {$istyles[pi_menu_normal][1]};
	border-right: {$istyles[pi_menu_normal][3]};
}
.popupwindow {
	background: {$istyles[pi_menu_normal][0]};
}
#fontOut, #sizeOut, .popup_feedback div {
	background: {$istyles[pi_menu_normal][0]};
	color: {$istyles[pi_menu_normal][1]};
}
.alt_pickbutton {
	border-left: 1px solid {$istyles[pi_button_normal][0]};
}
-->
</style>
Reply With Quote
  #9  
Old 08-17-2005, 09:39 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BIG problem with this as I was doing something similiar. Anyone with Firefox will not be able to right click on the background and Paste as Firefox sees the background as a full image or something. You can still press Ctrl-V but the paste menu will not appear on the popup list casuing my users a headache so I had to remove it. If someone can figure this out I would be VERY Happy..

ggiersdorf

this seems to be a problem with the WYSIWUG full editor only.. Even with an image not in there you cannot right click/paste from firefox.
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 05:21 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.05138 seconds
  • Memory Usage 2,244KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete