The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Where in the files is the default style defined?
I'm working on making a mod that changes the default style. Just wondering if anyone happens to know which php file has this in it. I have checked the global.php as well as the index.php with no luck. Does anyone know? It would save me a ton of time. Thanks.
~006 |
#2
|
||||
|
||||
The default style is stored in the database: check out your AdminCP for more details.
|
#3
|
||||
|
||||
I don't think I was specific enough. What I meant is where in the files does it tell your broswer to pull the default style? I want to put some conditional statements there so there are a few styles that might show up depending on certain things.
|
#4
|
||||
|
||||
Questions about modifying vBulletin's default behaviour and asking about modifications in general, should be posted in General vBulletin Questions. Please read the forum descriptions more carefully in future. I've moved your thread there for you
Thanks, - Dean |
#5
|
||||
|
||||
Well technically it's a code modification. That's why I posted it there. Wasn't 100% positive it was right but oh well. Sorry though.
Anyway, does anyone know the answer? Thanks. ~006 |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
True, but a guest sees the default style when they go to the board. I am wondering where the code is that tells guests browsers to display the default style. The cookie gets there somehow...
I have found some things in global and includes/sessions that mention the style, but I think I need to look elsewhere. |
#8
|
||||
|
||||
Quote:
|
#9
|
||||
|
||||
Well basically what I am trying to do is create a hack that allows the admin to change the default style simply by chancing their own selected style.
So guests styles will be set to PHP Code:
|
#10
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|