Page 1 of 1

Button page link restriction

PostPosted: May 26th, 2011, 11:20 am
by Abner7g
Hi, my question is how to restrict a button that have a link to another page. This is for a event listing page. The user can see all the event description but once they click on this button they suppose to go to the ticket window to order and buy their tickets. I need to restrict that button to register this user first before the go to the order page. This is the button code with the link address:

<a class="b_register" href="#"> Register Now </a><p> <strong>Admission :</strong><br>Event member receive free entry, a free drink and are eligible to win prizes.Entry for non-member is $ 10 </p>

How can I do this with s2member, thank you!!

Re: Button page link restriction

PostPosted: May 26th, 2011, 3:31 pm
by Cristián Lávaque
Well, you can restrict that page the link points to, so if they go there and don't have the right access in their account, s2Member will redirect them to the Membership Options Page where you ask them to pay.

WP Admin -> s2Member -> General Options -> Page Access Restrictions and Membership Options Page
http://www.s2member.com/general-options-overview-video/

Or, you don't protect the page, just the content using s2Member conditionals and show the ticket order interface to those that have the right access, but for those without the access you show the option to pay for it.

WP Admin -> s2Member -> API / Scripting -> Using Simple Conditionals
http://www.s2member.com/api-scripting-overview-video/

Or you use the conditionals to show the link to that page, or not, but that'd still leave that page unprotected if they find out the URL to it.

I hope that helps. :)