Jump to content

Archived

This topic is now archived and is closed to further replies.

dirt

membership level

Recommended Posts

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.

Share this post


Link to post
Share on other sites
[!--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 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..

Share this post


Link to post
Share on other sites
thanks. Is there any snippets of any coding that might help me with the 'if' statement??
really would be a great help.thanks again

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.