latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Users registration date PHP

Home Forums Community Forum Users registration date PHP

This topic contains 1 reply, has 2 voices. Last updated by  Eduan 3 years, 6 months ago.

Topic Author Topic
Posted: Friday Jul 5th, 2013 at 8:23 am #53051
webboy webboy
Username: webboy

Hi ,

Just a quick and easy question is there are command to check a users registration date as i wish to offset this for drip feeding products

ah silly me

S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday Jul 5th, 2013 at 10:02 pm #53068
Eduan
Username: Eduan
Moderator

Actually, webboy, you should use S2MEMBER_CURRENT_USER_REGISTRATION_TIME.

This returns the Unix timestamp of when the user first registered his username.

S2MEMBER_CURRENT_USER_REGISTRATION_DAYS returns the total amount of time the user has been registered for.

So working off of your description you’re looking for the first one, but for your needs you actually need the second one. ;)

– Eduan

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.