Jump to content


Photo

membership level


  • Please log in to reply
2 replies to this topic

#1 dirt

dirt
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 16 March 2006 - 07:10 PM

i have created registry for new users.
how do i set the priorities of the members. for the user that chooses
package one can only choose one item if it is package two the user can choose
two items. how do i go about.

#2 Prismatic

Prismatic
  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego

Posted 16 March 2006 - 07:16 PM

[!--quoteo(post=355634:date=Mar 16 2006, 02:10 PM:name=dirt)--][div class=\'quotetop\']QUOTE(dirt @ Mar 16 2006, 02:10 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
i have created registry for new users.
how do i set the priorities of the members. for the user that chooses
package one can only choose one item if it is package two the user can choose
two items. how do i go about.
[/quote]

In your database in the users table where you store all the info for registerd users put a field in called "accesslevel" depending on what package the user picks, this gets set to 1, 2, 3 and so on. When the user wants to pick an item you check against the "accesslevel" field in the database to see if they have permission..



#3 dirt

dirt
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 17 March 2006 - 03:07 PM

thanks. Is there any snippets of any coding that might help me with the 'if' statement??
really would be a great help.thanks again




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users