Version: 1.00, by Adult SEO
Developer Last Online: Nov 2013
Category: Forum Display Enhancements -
Version: 3.6.3
Rating:
Released: 11-10-2006
Last Update: 11-10-2006
Installs: 23
DB Changes Uses Plugins Template Edits
No support by the author.
Hi!
I am developping a new forum on http://www.papegaaienforum.com/ (meaning: parrotforum.com in dutch) and I needed to be able to change the header for each specific parrot via CSS and might also need to change other CSS for each specific forum so I wrote this small mod wich is optimized (fast, using variables already made available by vbulletin so no extra queries) and enables to configure CSS via the vBulletin admin as if it's available by default.
It contains 1 phrase ("CSS") and requires 1 template mod to insert the new styles just below the <body> tag via the "header" template. It might be better to place the styles just above the </head> tag on each seperate forum and threadview template but this requires more work so I provide instructions for the most easy and simple way.
Upload css_install.php to your forum root (e.g. / or /forum/)
Run the script, it will return an confirmation message that the instalation is completed. It will add one field to the forum table ("css"/TEXT).
Import the included product (product-custom_forum_css.xml)
Edit the "header" template and put the folowing code on very top of the template:
<style type="text/css">
$forum_css_code
</style>
Now you will be able to aply CSS code per forum via the Forum Adminpanel, there is a new CSS textarea input on the bottom of the edit and add forum forms.
Btw, if you use subforums without CSS specified on a parrent that does have CSS specified it will use the CSS of the parrent (unlimited, so also if you have 100 levels of subforums).
I am developping more mods btw, PM or contact me for more information.
Possible to have more flexibility with this? Like maybe the header and footer templates?
Hi!
This mod will enable you to change everything that is styleable via CSS. Since almost everything on the forum is styled via CSS you can change the look of for example the footer or header easily.
A question - does this offer anything that the default 'Choose style for viewing this forum' option in Forum Manager does not?
Hi!
It will just save a lot of time and alow to easily change the CSS of a forum without the need to create templates, styles etc. and managing them all together.
This will work based on 1 design, wich will make it easyer to update all forums and making minor changes to the CSS to for example just change the header image.
It's just more simple and faster and saves a lot of work if you just want to change the header image or backgroundcolor for example. It's not meant for advanced style changes, just for minor CSS changes.
I thought that was the general idea but confused myself when I tried to work out how to change the header/header image and footer using CSS only, without making major changes to the vB core files. How do you manage to change the logo using css?
hmmm, after your example adult seo, there is a question stuck in my mind. you gave a css code that only control the header part. i want to change my forums only header too but i dont understand one part: am i have to use only the header part of css code or the entire css code with the modified header part ?
With this MOD you just need to use the CSS code you want to change or aply as new. As this CSS code will be served to the browser after the original CSS code, it will override the original CSS code, it does not replace the original CSS code.