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™

How to Achieve this? Help Me OUt

s2Member Plugin. A Membership plugin for WordPress®.

How to Achieve this? Help Me OUt

Postby hunzaboy » December 23rd, 2010, 7:11 am

Hello There!

This is my second topic on this forum. Thanks for the answers of the first. I have small functionality to Achieve.

1. I have a link which goes to a form to submit
2. I want this link to appear( or the form page to appear) only once for a type of member and 10 times for another type of user with custom capabilities.. CAN I ACHIEVE THIS?

Please help me out!!

Will really appreciate your effort!

Thanks
User avatar
hunzaboy
Registered User
Registered User
 
Posts: 11
Joined: December 3, 2010

Re: How to Achieve this? Help Me OUt

Postby Cristián Lávaque » December 27th, 2010, 12:03 am

Do you want the link to appear once per session or once ever for that person?

If for the session, you could use PHP sessions, if "ever" you'd have to store it in the database somehow, but using a cookie may be simpler.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: How to Achieve this? Help Me OUt

Postby webboy » December 28th, 2010, 4:47 pm

My gosh 10 times , you will X off the customer , but yes you will need some php for that to check for the last visit date and do a simple count
User avatar
webboy
Experienced User
Experienced User
 
Posts: 11
Joined: August 3, 2010

Re: How to Achieve this? Help Me OUt

Postby hunzaboy » December 29th, 2010, 5:29 am

thanks for the replies.. but i think i have figured that out!
User avatar
hunzaboy
Registered User
Registered User
 
Posts: 11
Joined: December 3, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests

cron