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™

Where users are in the database?

s2Member Plugin. A Membership plugin for WordPress®.

Where users are in the database?

Postby rusking » November 20th, 2010, 4:30 pm

I am writing a program that verifys a user exits in my wordpress but i cant find where in my database the users are diffrent. I have s2member installed and move them from one level to another but cant find any change in the database. Anyone got an idea?
User avatar
rusking
Registered User
Registered User
 
Posts: 2
Joined: November 18, 2010

Re: Where users are in the database?

Postby nitaonline » November 21st, 2010, 3:26 am

Look in the plugin's built-in documentation, in its menu under "Quick-Start Guide" as it has a ton of examples for "Conditionals" and also calls / filters / hooks you can use straight in PHP. Probably your only / key issue will be that you'll make calls outside the loop. But it's much better than looking directly in the DB, i.e. outside the plugin; think e.g. about permanence issues, if the s2Member plugin ever shuffles data around you'll be scrambling to adapt, so it's usually much better to talk to the plugin, instead of the DB.

Anyway, it's mostly in the user meta table, which means (de)serializing. It's a long-term gripe I have; I wish the WP core team would just categorically prescribe other plugins from cramming stuff into that table which becomes spaghetti-structured very quickly. But that's a comment on the side.
User avatar
nitaonline
Registered User
Registered User
 
Posts: 8
Joined: November 13, 2010
Location: Nevada, USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron