View Full Version : Hack that allows ONLY admins to change style
Hey,
I'm pretty new to vbulletin hack scripts..
And i browsed thru the hack database looking for a hack that makes so that only admins can change the forum style. But i couldnt find any hack for that. Anyone can help me? All help is appreciated! Thanks
Emil
assassingod
07-31-2003, 08:04 AM
You can do this editing the properties of a style, just change "User Selectable" to no:)
yes, but then i cant change it as a admin either.. i mean in the "user cp", right?
assassingod
07-31-2003, 10:59 AM
Ah right, just check this and your right (I always though even if 'User Selectable' is 'No' admins could still change)
So, for your request:
Open up member.php
Find:
$stylesetlist = "";
Above add;
if($bbuserinfo['usergroupid']==6){
Find:
$stylecell = "";
}
Below that add:
} else {
//Do Nothing
}
And that should do it:)
assassingod
07-31-2003, 11:01 AM
No problem;)
i just tried the hack, but it wont let me change style :(
assassingod
07-31-2003, 11:15 AM
Strange, I just double-checked it to see if it worked and its working fine for me.:confused:
i probably did somethin wrong.. lol.. i'm not really experienced with vb hacking
assassingod
07-31-2003, 11:19 AM
What exactly is the problem?
well.. the problem is that when i go to my "user cp", there's no option for changing the style :(
assassingod
07-31-2003, 11:31 AM
Is that from that main UserCP? Or under Edit Options?
that is under "edit options"
assassingod
07-31-2003, 11:38 AM
Ok. Well I have had no problems. Does the dropdown menu appear or not?
nope, there's no drop down menu there :(
assassingod
07-31-2003, 11:41 AM
Stupid question, but are you sure you are an admin?
lol, yes i'm sure i'm admin
assassingod
07-31-2003, 11:44 AM
Strange. I have no idea why it's not working. Its working fine on my localboard.
oh ok :(
well thanx for all the help anyways :)
assassingod
07-31-2003, 11:49 AM
Its alright, sorry it didnt work for you.
well, thats not ur fault since it's workin good for u ;)
MetroSports82
07-31-2003, 12:42 PM
Today at 08:28 AM Emil said this in Post #11 (https://vborg.vbsupport.ru/showthread.php?postid=422071#post422071)
well.. the problem is that when i go to my "user cp", there's no option for changing the style :(
Emil, I could be wrong, but it might be because you have the styles option disabled from you Admin CP. Have you checked to see if you have that enabled? :) Its right under the "User and registration options" umbrella, that says "Allow Users To Change Styles". Usually, when/if the style selection box isn't showing up in your user options, it could be related to that? :)
Metro.
^^yea, i thought that could be the problem too.. but then i checked it, and the change style was enabled.. :(
so i have no idea wat the problem can be then...
thanx for replying! :)
SmEdD
07-31-2003, 04:59 PM
Are you sure you installed the styale right?
If it's not there in the drop down for the admin cp I donno why.
Also you can change the style through the admin cp under users. That will allow you to by pass any stuff not letting you be able to pick it.
it should be installed right..
but it's not very important.. i just want it to be easy to change to a style that i'm workin on, just to see wat it looks like, and then easily change back by just goin to "edit options".. and i dont want the other members to be able to change to the style that i'm workin on..
but well.. thanx to everybody that replied to me :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.