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™

Button page link restriction

s2Member Plugin. A Membership plugin for WordPress®.

Button page link restriction

Postby Abner7g » May 26th, 2011, 11:20 am

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!!
User avatar
Abner7g
Registered User
Registered User
 
Posts: 18
Joined: October 15, 2010

Re: Button page link restriction

Postby Cristián Lávaque » May 26th, 2011, 3:31 pm

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. :)
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


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests

cron