Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
5 + 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: What does the level attribute in xoops_users table represent?
by Mithrandir on 2006/12/13 15:08:06

the -1 = disabled is - so far - a XOOPS 2.2-only level.

Apart from that, you should only worry about 0 (not activated) and >0 (activated). Level 5 is given to the user created through the setup process, but is effectively the same as level 1.

My guess is that it is a leftover from earlier days, when the group permissions were not as good as they are today and we needed a way to specify an administrator specifically on the user profile.
Re: What does the level attribute in xoops_users table represent?
by Dave_L on 2006/12/13 13:32:08

I don't think it's documented anywhere.

My very first post at xoops.org, over three years ago, asked about this same issue: https://xoops.org/modules/newbb/viewtopic.php?topic_id=13571
Re: What does the level attribute in xoops_users table represent?
by kalamata on 2006/12/13 13:05:54

Is that documented somewhere? What code should I look at to check these values? Surely, users can not have level values assigned randomly to them as long as they are not zero or minus one.

George
Re: What does the level attribute in xoops_users table represent?
by Dave_L on 2006/12/12 16:11:49

le="color: #000000"><?php 1 = activated 0 = not activated -1 = disabled


I don't think other values have any significance, although as zyspec said, the usual check for an activated user is "level > 0".
Re: What does the level attribute in xoops_users table represent?
by kalamata on 2006/12/12 15:13:20

Some of my users have their level attribute set to 5 or 2. What would these values represent?

Thanks,
George

Who's Online

189 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits