![]() |
Quote:
explain more please, Thanks Update: do you mean this code: PHP Code:
|
I have not tested it and I wrote the code pretty verbose so you get the concept. When I get a chance I will rewrite it. I am trying to help quite a few people right now so excuse my brevity.
By your request this is suppose to store a unique "additionalcss(id).css to your main bbs url. Different styles can require different additionalcss files. if you do not need that then all you really need to do is append a new file to the bottom of your <head> code. Code:
// Header Hook: parse_templates |
Quote:
|
Quote:
I used it as new plugin using parse_templates, but didn't work... possibly there is something missing!!! I did it like this: PHP Code:
I changed Code:
$template_hook['headinclude_bottom_css'] Code:
$template_hook['headinclude_css'] also, the whole external link on page html doesn't show... any idea?? Thanks, |
Quote:
I will spend a bit of time and see if you are right about it "additional.css" pulling from the database. Hey, anything is possible. Bugs can creep back in... I have used similar code to overwrite members.css giving each user an extended control panel over their user area, because we have 30,000 users we use our own caching file system to handle this. Because of the amount of data storing this in the database was not feasible. |
Quote:
something is not correct here. |
ok, look like I have no other way than waiting your code :) . I will keep trying anyways.
Thanks a lot. |
Okay the code worked as it was. But I added a filename base so that it was easier to understand.
Code:
// Header Hook : parse_templates additionalcss_00005.css Code:
body { This code is a learning example it is very verbose, you do want to rewrite it for a production environment. |
Thanks,
I will try it out and see how things go. :) by the way, can I place my .css file inside vb folders ?? how about outside vb forum root?? |
Quote:
I am not sure what link you are refering to using css.php. Pass me a link to your board and I can check it out. |
All times are GMT. The time now is 12:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|