Hey!
I thought an easier way to sort membergroups out was in user rights,
As on defualt:
a normal member would be 0
Mod = 1
G mod = 2
Admin = 3
Spy(secret admin) = 4
You can change this order in the admin panel
This doesnt really have to come on the forum, i thought this would b good to add a few stuff in your files wich would only apply to them,
i know there is a way, but i think this will be much cleaner...
How it works...
Say you only wanted the help button to only be veiwable by User-rights 1,
You would simply find the array, and add a new collumn called:
'UserRights' => ####
To make it only veiwable to one and 2, you would put:
'UserRights' => >2,
wich means anyone under UserRights 2 can see it
BUT
if you wanted, say.... 3 and 1.... you would do:
'UserRights' => 1-3,
so the - is a representive for 'and'
I will get on to this as its minor, and when it gets to version 1.0, I will make it non-manual and you will be able to do everything in the admin panel!
Please post comments!
**Pimper12**
How's that different from using groups to restrict access?
bit more cleaner and as i said, it will be changeble in admin panel unlike the one now
actually, that seems overly complicated to me... and what about additional membergroups? I have some membergroups on my system that have some moderator functions available to them, but not all... so they don't fit in with any of your proposed categories...
see how much i fail!?