Search found 5 matches

by Leon90
Mon Nov 22, 2010 2:23 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: $userdata['user_level']
Replies: 12
Views: 1414

Re: $userdata['user_level']

Ok, thanks everyone

i think i figured it out :D

:mrgreen:
by Leon90
Mon Nov 22, 2010 1:23 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: $userdata['user_level']
Replies: 12
Views: 1414

Re: $userdata['user_level']

First off thanks for the help, the user_type seems to work. This is my code right now if($userdata['user_type'] == 3 && $userdata['is_registered']) Found a big list of userdata stuff right here http://www.phpbb.com/kb/article/phpbb3-sessions-integration/ came across this: session_admin - 0 c...
by Leon90
Mon Nov 22, 2010 12:51 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: $userdata['user_level']
Replies: 12
Views: 1414

Re: $userdata['user_level']

updown wrote:
Leon90 wrote:user_level
exactly, a 'user_level' value doesn't exist in an original installation
Though i see everyone using user_level == ADMIN so thats why i guessed it should work :D

will try the user_type thingie

do i have to re-define the founder like in the previous reply?
by Leon90
Mon Nov 22, 2010 12:46 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: $userdata['user_level']
Replies: 12
Views: 1414

Re: $userdata['user_level']

So if i understand correctly i have to use $userdata['user_type']
instead of the user_level, because when i echo teh $userdata['user_type']
it echo's out the number 3

so then i have to use?:

Code: Select all

$userdata['user_type'] == '3'
thanks for the fast reply btw
by Leon90
Mon Nov 22, 2010 11:24 am
Forum: [3.0.x] MOD Writers Discussion
Topic: $userdata['user_level']
Replies: 12
Views: 1414

$userdata['user_level']

Support Request Template What version of phpBB are you using? phpBB 3.0.7 What is your board's URL? http://elcclan.impulzstudios.com/forums Who do you host your board with? No answer given How did you install your board? I used the download package from phpBB.com Is your board a fresh install or a ...

Go to advanced search