Advertisement:

user-rights Development 0.1 Beta [please read all of the short text!]

Aloittaja LiamTheDuck, maaliskuu 30, 2008, 08:34:40 AP

« edellinen - seuraava »

LiamTheDuck

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**
I am back, its been like a year... so yeah.... how has it been? :D

Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

LiamTheDuck

bit more cleaner and as i said, it will be changeble in admin panel unlike the one now
I am back, its been like a year... so yeah.... how has it been? :D

Kindred

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...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

LiamTheDuck

I am back, its been like a year... so yeah.... how has it been? :D

Advertisement: