The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Force User Style via ACP?
Is there a way to force a users style in the admin cp? I'm sure there isn't a way without hacking, which is why this post is being made in the "requests" forum.
Reasoning - when editing a style, it's useful to view the style you're editing. But you don't want to choose "let members select style" so they might have access before it's through. And in this particular instance I'd rather not use a test forum and force the style in the forum as I'd like to test the overall site all at once. Therefore, can I force myself to see the new style even though it's not selectable in user options? |
#2
|
||||
|
||||
I've been looking around and can't seem to figure out where I might do a quick force-set. But in retrospect - it doesn't necessarily have to force a member's specific style, maybe a "forced Usergroup Style" would work - then I'd create a "test" usergroup and use that.....
|
#3
|
||||
|
||||
hmm, i've done that already for me
go to admin/setting.php and create a new setting varname adminstyleid so you can change that value in vboptions (set default to 0) then open your normal global.php and add this: PHP Code:
PHP Code:
|
#4
|
||||
|
||||
Thanks, Xenon.
I've added the information to global.php, but I'm having trouble with the first step. admin/setting.php > add a new setting for varname adminstyleid ..... Maybe could you possible point me as to where I might add that in setting.php? I've not made heads nor tails of the file. |
#5
|
||||
|
||||
you should run the file and click on add setting
|
#6
|
||||
|
||||
Oh! Even easier. Thanks, Stefan! That worked like a charm, and I learned something new, too.
|
#7
|
||||
|
||||
you're welcome Rose |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|