![]() |
Changing style for unregistered users
I made a new style/template set which I want to use for unregistered users. It's very limited in options, so people may be more willing to sign up.
Anyway, I can't figure out how to change the colorstyle for unregistered users. I searched through the templates and it doesn't appear to be in there. The php files are too complex for me to quickly go through. It seems to have something to do with the styleid, and that unregistered users somehow always use style id 1. Renaming the style from Default to something else, and making the new style Default doesn't do anything. Can anyone tell me what I need to change where? It's probably not all that big a problem, but I can't seem to figure it out. thanks a lot in advance |
is this it (global.php)?
PHP Code:
|
OK....i am not only trying to help here...but also trying to test whether or not i am actually learning or not......
TRY this in global.php: Right above: PHP Code:
PHP Code:
Then, Replace this: PHP Code:
With This: PHP Code:
|
whats the difference between the latter two parts, the one i replace? Looks identical to me, other than having an extra }
|
exactly. You don't really have to replace it, just add the extra } after that part. More than anything, i posted it that way just so that there would be an adequate frame of reference for you to know where the } went...and because that is the way i have always seen others here post stuff...as replacements, not additions.
|
alrightythen, i'll let you know if it worked, thanks
|
success!
thanks miss |
OMG!!!!
You just totally made my day telling me that!!!! /me does the happy dance. Maybe I am not TOTALLY hopeless after all! |
if you want to document this and make it idiot-proof, you could add that the 1 from "$styleid=1;" should be the id of the style you want to use for unregd users.
but other than that, it's great [high]* DiscussAnything joins the dance :)[/high] |
All times are GMT. The time now is 10:52 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:
|