vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Add additional_css.css to all your pages (https://vborg.vbsupport.ru/showthread.php?t=228628)

wacnstac 12-11-2009 02:00 AM

Can you use this as an alternative to editing variables in StyleVars in the Style Variable Editor which sucks because you can't see what you edited and I don't know of any way to save it.

Lynne 12-11-2009 03:46 AM

You can use it for whatever you want. It's just for adding css. If you want to hard code a color in there for something, then you can use thing to do that.

fourat 12-24-2009 08:29 PM

How i use this product ?

Charlie98902 12-26-2009 06:55 PM

Thanks Lynne used this mod to change my header instead of table codes. :)

Charlie98902 12-26-2009 06:57 PM

Quote:

Originally Posted by fourat (Post 1937563)
How i use this product ?

You have to call up the template that you want the CSS code to modify. Like I used this for my header and used #header so it would replace the defualt vbulleting header as I have 3 parts to my header. So you need to know CSS or get someone to help you or give you the CSS code needed.

Alien 12-28-2009 03:02 AM

For the life of me, I cannot get this to work in any child styles whatsoever.

I'm using 1.1 (which still shows as 1.0 in the product manager, btw).

I've tried using just additional css with all new code, and i've also tried using the additional css 2 template leaving the original alone and I cannot get it to load the alternate color scheme. :( It always shows the parent scheme.

In the source, it links to the proper style id #

Any thoughts?

Lynne 12-28-2009 03:21 AM

Are you doing a Force Refresh to force it to get the new css templates? If you aren't, then it will think they are already downloaded and continue to serve up the old ones. It does work for me. I've made changes at the top of the .css files to say what style they are in and I am getting the correct one per style:
HTML Code:

/* Additional CSS2 - styleid2 */

Alien 12-28-2009 04:44 PM

Yes, I've been using hard refreshes in Firefox 3.5.6.

I will try a couple of more times, it's really bugging me out!

Alien 12-28-2009 04:48 PM

Just to be sure I'm clear on the instructions:

On the parent style, I edit the first additional css file and it all works perfectly.

Now on the child style, do I clear out the additional css and use additional css 2? Or do I just edit the first additional css file and just change the contents of the file from the old stuff there to the new css i need?

Alien 12-28-2009 05:01 PM

I've tried all of the above, and no matter what I cannot load more than what is defined in the parent style. I've tried everything I can think of! I even attempted turning vbseo off thinking it was somehow rewriting a styleid URL. Grasping at straws...


All times are GMT. The time now is 05:27 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.01603 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete