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)

synth19 10-04-2010 07:33 PM

^ cool. I didnt get back on Vb.com for your response, thanks for the tip. However, when i go unter the main CSS, it says "This CSS file is obsolete and is available here for reference purposes only."

gosiah23 10-11-2010 07:29 PM

1 Attachment(s)
Lynne, I would love to make changes to my images like increase the text padding around images. Please see attached images.

I'm assuming that I can use this plugin to do that? Could you be so kind and give an example of a code how to do that. I'm not good in modifying php.

Attachment 122742

Attachment 122743

Thanks a million!

Margaret

Lynne 10-11-2010 07:50 PM

Just add something like:
HTML Code:

.postbit  .content img, .postbitlegacy .content img, .postbitdeleted .content  img, .postbitignored .content img, .eventbit .content img {
padding:0 10px;
}

(Don't have to include all five if you don't want it for all five.)

gosiah23 10-11-2010 08:01 PM

That worked perfectly! I cannot thank you enough! :)

Blessings to you!

Margaret

markbu 09-22-2011 02:45 PM

thanks!
if I store css as files what should I change the css path to?

ejup2009 03-06-2012 11:27 AM

gracias

excelente aplicaciĆ²n.. pienso usarla en otro sistema pero de verdad que es muy practica...

fxdigi-cash 07-07-2013 05:55 PM

Thanks Lynne for this mod.

I believe there is an issue shows up when activating store css as file...

is there a way how to import the additional file to every page from the vb root instead of the database??

Thanks

tbworld 07-07-2013 09:30 PM

Additional_css.css -Lynne's mod is now part of vbulletin4.

There are some small oddities, but for the most part store css as files works fine for most people.

You can just add another css link in your headinclude template to an external CSS file. If you want an example let me know.

Lynne 07-08-2013 02:26 AM

As tbworld explained, this mod is really not needed anymore as there has now been an additional.css template added to the software which is called on every page.

fxdigi-cash 07-08-2013 04:22 AM

Quote:

Originally Posted by tbworld (Post 2432628)
Additional_css.css -Lynne's mod is now part of vbulletin4.

There are some small oddities, but for the most part store css as files works fine for most people.

You can just add another css link in your headinclude template to an external CSS file. If you want an example let me know.

ok great to know that. However, I still have some issue sending additional.css from the database not from direct css files. I switched the store css as files property on and then I noticed that additional.css is still being served from the database!!!

I decided then to take a copy of additional.css template and make a file outside the vb board and send it to the headinclude, but still not working. The code works fine, but vb doesn't take it in consideration...

I used this property to link the external css file:

PHP Code:

<link rel="stylesheet" type="text/css" href="mydomain.com/mystyle.css"

And by the way, I use a plugin to send the additional.css file to vb, but you said that this became a part of vb built-in function!!! how and where to switch it on???

please explain a little more.

Thanks


All times are GMT. The time now is 12:06 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.01096 seconds
  • Memory Usage 1,741KB
  • 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_php_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