content dripping & timestamp function ? help!
Posted: May 31st, 2011, 2:32 pm
Hi,
was trying to add this to an "if statement", but it seems that the function / code is wrong.
if((s2member_current_user_registration_time("level0") <= 1312174800) && (S2MEMBER_CURRENT_USER_REGISTRATION_DAYS <= 365)
basically, I want to use the content dripping to allow level0 users who registered before a limit date (in this case 01.08.2011) to see content otherwise only visible to level2 users. And have access to that content for not more than 365 days
But as I said, I think the code - the way I wrote it above - is wrong, could you please help?
Thank you!
was trying to add this to an "if statement", but it seems that the function / code is wrong.
if((s2member_current_user_registration_time("level0") <= 1312174800) && (S2MEMBER_CURRENT_USER_REGISTRATION_DAYS <= 365)
basically, I want to use the content dripping to allow level0 users who registered before a limit date (in this case 01.08.2011) to see content otherwise only visible to level2 users. And have access to that content for not more than 365 days
But as I said, I think the code - the way I wrote it above - is wrong, could you please help?
Thank you!