The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Remove Default usergroups.
Hello,
We have a list of usergroups and they imported well. The ID's are ordered: 9 being the lowest 20 the highest. The higher the number, the more permissions. This sytem makes administration easier and it allows easier conditions in case of hacks: if (userID > 12) instead of something like if (userID = 9 or User ID =15 or .. or .. or). vBul already has default groups. In Ikonboard you could easily delete the built in groups and configure which ID's were going to be the default group. I can't find it in vBul. I want to use my own system of usergroups and delete the/all Default ones. Will be easier to administrate users, forum permissions and be of help with hacks. Where can I set which ID is admin, which is moderator, which is awaiting authorisation and which is a registered member? The other levels can remain custom. |
#2
|
||||
|
||||
that's not a great idea, as the usergroupids are hardcoded....
so it'll say if ($bbuserinfo[usergroupid] == 6) { } if it's an admin function. And it'll put your newly registered users automatically into group 3 (or whatever...) |
#3
|
||||
|
||||
i highly protest such an act since most of the admin configurations and usergroup code depends on the default usergroups. i see no point in changing the id's>_>
|
#4
|
||||
|
||||
Quote:
I feared such a thing. There's something to say for hardcoding it, but flexibility is nice too. I'll use the default groups then. I didn't see the point either and the ID's were as unsorted as they are in vb. Until I wanted some small edits and found myself writing huge if() switches. I could have added a whole new tinyint database field, but sorting the ID's was almost always a solution as conditions were < or >. Why add fields to the tables when you can use what you already have? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|