PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

SQL query to access specific s2member information of users

s2Member Plugin. A Membership plugin for WordPress®.

SQL query to access specific s2member information of users

Postby Arpana » November 29th, 2011, 11:00 am

Hi Jason

I am struggling to get the correct SQL query to access s2member information, given a user id. Could you please help me with the following questions:
(1) What is the SQL query to retrive the current access level of the user, given any one of the user's info: a) user name b) user id or c) user email
(2) What is the output value format?
(3) Which table is this information stored and against which reference (is it stored per uid/username/ etc)?

Thank you.
Regards
Arpana
User avatar
Arpana
Registered User
Registered User
 
Posts: 6
Joined: August 18, 2011

Re: SQL query to access specific s2member information of use

Postby Arpana » November 30th, 2011, 10:33 am

Hi

Could someone please answer my queries? This is quite crucial for my site to live :)

thank you.

Regards
Arpana
User avatar
Arpana
Registered User
Registered User
 
Posts: 6
Joined: August 18, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron