dirt Posted March 16, 2006 Share Posted March 16, 2006 i have created registry for new users.how do i set the priorities of the members. for the user that choosespackage one can only choose one item if it is package two the user can choosetwo items. how do i go about. Quote Link to comment Share on other sites More sharing options...
Prismatic Posted March 16, 2006 Share Posted March 16, 2006 [!--quoteo(post=355634:date=Mar 16 2006, 02:10 PM:name=dirt)--][div class=\'quotetop\']QUOTE(dirt @ Mar 16 2006, 02:10 PM) [snapback]355634[/snapback][/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 choosespackage one can only choose one item if it is package two the user can choosetwo 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.. Quote Link to comment Share on other sites More sharing options...
dirt Posted March 17, 2006 Author Share Posted March 17, 2006 thanks. Is there any snippets of any coding that might help me with the 'if' statement??really would be a great help.thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.