Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 10-24-2010, 02:03 PM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problem with CSS

I've got a problem with changing file showthread-rollup.css. I changed it on my pc but I can not upload it on my server. It says ACCESS DENIED. But I've got no problem with other files. What is the problem?
Reply With Quote
  #2  
Old 10-24-2010, 02:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cannot upload that file. It is a file created by vbulletin when you modify the styles/stylevars. You can't modify that file directly.
Reply With Quote
  #3  
Old 10-24-2010, 02:59 PM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So how can I make changes in that file? There has to be a solution, because there are lot of sites on VB with changer atributes I want to change in that CSS.
Reply With Quote
  #4  
Old 10-24-2010, 08:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would modify the css template - style manager > find style > edit templates > css templates - or the stylevar - style manager > find style > stylevars
Reply With Quote
  #5  
Old 10-25-2010, 08:28 AM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Honestly... I don't know how to use this menu. I prefer traditional code editing in a file. So I found in my AdminCP an option to save CSS into a file, but I still do not have rights to write the file. There is an information

If this is enabled, you can store the CSS for your pages as files which will reduce the size of pages (since the CSS file can be cached locally and referred to from each page, instead of having all the CSS information within each page). If you enable this, you must create a directory named vbulletin_css in the clientscript folder of your vBulletin installation and the web server must have permission to create, write, and remove files from that directory. (Normally this is accomplished by CHMODing the directory 777.)

So there's another question... How can I give these permisiions to my server?
Reply With Quote
  #6  
Old 10-25-2010, 02:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't need to store CSS as files. If you choose to do so, you need to do what it says:
Quote:
Normally this is accomplished by CHMODing the directory 777
The directory is /clientscript/vbulletin_css

The place to edit the CSS is where I said:
Quote:
style manager > find style > edit templates > css templates
Did you find the Edit Templates area? Double-click on CSS Templates to expand that and then you will find a bunch of .css templates.
Reply With Quote
  #7  
Old 10-25-2010, 04:52 PM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah. I found it, but I still don't know what to do. For example...

I want to change the userinfo DIV. I want to make there a background image and some other things. I looked where are the style atributes placed (I checked it by firebug plugin) and it shows that I have to change showthread-rollup.css. OK... As we know I can not edit the file directly, so I went to the panel Ypu told me. I found the showthread.css, but theres nothing like showthread-rollup.css or any of userinfo styles in there. Maybe they wanted to make it easier by giving us that panel but I prefer traditional way. I just can't handle that panel :/

Look at my screens. The first one is my traditional site look. The second one is just one change I made in the firebug. I made just one change (added bg-color) in the showthread-rollup.css. And when I'm trying to do it in this panel I just dont know how...


Attachment 123079

Attachment 123080
Reply With Quote
  #8  
Old 10-25-2010, 07:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't want to look at the name of the file... look at the class on the left - ".postbitlegacy .userinfo" That is where you want to add the background. Do a Search in Templates for it and you'll find it. You'll then see the name of the stylevar (if there is one used). You may want to see this - How To: Find a StyleVar (video version)
Reply With Quote
  #9  
Old 10-26-2010, 05:18 AM
SwiatWenus.pl SwiatWenus.pl is offline
 
Join Date: Jun 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I finally made it Ofcourse it is still not easy because I can't find now how to change the background of user info extra and give it some background. It is more tricky (i think) but maybe i'll manage it Thanx again.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:03 PM.


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.06680 seconds
  • Memory Usage 2,241KB
  • Queries Executed 14 (?)
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
  • (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