| 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 |