View Single Post
  #18  
Old 12-31-2010, 11:09 PM
CroNiX CroNiX is offline
 
Join Date: Dec 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using firebug and looking at the raw html output that your forum is producing. I am then finding the style rules (also with firebug) associated with those html elements so you can alter them in your custom.css file. I'm not editing any files. Your browser probably also has a "view page source" or similar so you can view the raw output if you don't want to use firebug, but then you will have to manually find what you are looking for in that huge page of code. Firebug highlights the html code and css code when you mouse over your page making it VERY easy and fast to find what you are looking for. Not to mention you can manipulate your webpage DIRECTLY in real time from within firebug to try different tweaks instead of trying something, saving it, refreshing browser to see if it worked...no? Wash and repeat until you do... This eliminates all of that. Once you tweak it live in the browser, you just copy the rules that worked to your additional.css file.

But, if your interested, the thing that is actually generating that html in vbulletin are the templates. They are located in admincp -> Styles and Templates -> Style Manager

From there you can
1) "search in templates"
or
2a) Click on Style Manager
2b) On right hand side, for your style (default style if you haven't added any others), in the dropdown on the right, select "edit templates". Now it will list all templates and you find the one you want and edit it the way you want. I'd be very careful in there and be sure to "save in template history" so you can undo it if you need to. However, all style information is contained in the stylesheets...but the templates will tell you the element id's and classnames which are referenced in the css.

You having fun yet?

Make your life easier. Watch this. http://getfirebug.com/video/Intro2FB.htm then get it http://getfirebug.com
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03115 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete