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™

Specific Post/Page Access Restrictions

s2Member Plugin. A Membership plugin for WordPress®.

Specific Post/Page Access Restrictions

Postby hapke » July 21st, 2011, 9:36 am

Hi, my question is very special.
I use Specific Post/Page Access Restrictions wihtout any membership.
I generated a PayPal button to get users access to some of my posts.
How can I make some "special" users get access to these posts without paying?
I cannot add members manually because there is no membership.

Is there a possibility to create a coupon field or so?

Alltogether I can say: This plugin is great.
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby Cristián Lávaque » July 21st, 2011, 3:44 pm

Thanks for the kudos! :)

Yes, you can generate a link for him from WP Admin -> s2member -> PayPal Buttons -> Specific Post/Page Access Links.
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: Specific Post/Page Access Restrictions

Postby hapke » July 21st, 2011, 4:58 pm

Fine, this plugin has so many options! But can I encrypt this link? I do not want users to give it away to otters.
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby Cristián Lávaque » July 21st, 2011, 5:14 pm

You can't make it work for one person but not another one, since he didn't get any cookies set or an account to control him with.

The IP restriction would prevent several people from using the same access, although I need to check if it will work with this link generated by you instead of those generated automatically after checkout. WP Admin -> s2Member -> Restriction Options -> Unique IP Access Restriction

I'll ask Jason to confirm.
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: Specific Post/Page Access Restrictions

Postby Jason Caldwell » July 21st, 2011, 5:27 pm

Cristián Lávaque wrote:I'll ask Jason to confirm.

Yes, even links generated within the Dashboard ( i.e. for Customer Service purposes ), are guarded by s2Member's Unique IP Restrictions exactly the same as if the Customer had received the link in the email, or been redirected after checkout. So not to worry, it can't be abused beyond the limitations that you configure in the s2Member Restrictions Options panel.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Specific Post/Page Access Restrictions

Postby Cristián Lávaque » July 21st, 2011, 5:43 pm

Awesome! Thanks for confirming it. :)
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: Specific Post/Page Access Restrictions

Postby hapke » July 22nd, 2011, 5:20 am

I thank you for your great support.
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby Cristián Lávaque » July 22nd, 2011, 2:41 pm

:)
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: Specific Post/Page Access Restrictions

Postby hapke » July 27th, 2011, 5:51 am

I've got the idea to offer a special post/page link on another website of mine: in my download shop. Users who pay will get an email with the specific link or can download a pdf that contains the link. This is handled by the ecommerce software of this website.
1) Do you think that it works? Can users missuse this link?
2) When I offer a link today (in the PDF) that includes access to 10 posts, will the users have access to protected posts that I add tomorrow or next week? It would make sense because I sell a package of protected posts (called "specific") and add new ones from time to time. :?:
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby hapke » July 29th, 2011, 8:21 am

hapke wrote:2) When I offer a link today (in the PDF) that includes access to 10 posts, will the users have access to protected posts that I add tomorrow or next week? It would make sense because I sell a package of protected posts (called "specific") and add new ones from time to time. :?:

I think you did not answer because it is clear: It is not possible. Can you maybe add a feature that the link contains a category? So users have access to all future posts in a certain category.
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby Cristián Lávaque » July 29th, 2011, 4:18 pm

Categories can't be sold without an account as Posts or Pages can at this moment.

Why don't you use Levels to sell your content? Then you'll have more flexibility to add content in the future.

You can make the registration really painless asking only for username and email; first or last name wouldn't be required and password could be generated and sent to them (this works as an account confirmation step too). WP Admin -> s2Member -> General Options -> Custom Registration Fields/Options -> Collect First/Last Names during Registration and Allow Custom Passwords during Registration
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: Specific Post/Page Access Restrictions

Postby hapke » July 30th, 2011, 2:39 am

Thank you. I do not want membership, but if double opt-in is available I will think about your suggestion. Meanwhile I created 20 empty new posts as drafts and entered the post IDs into the PayPal button code manually. Not elegant, but for the next few weeks a solution without membership ,)
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby Cristián Lávaque » July 30th, 2011, 10:15 pm

Yeah, that solution lets you cope with the coming content, but you will run out of those. Don't think about it as a membership only because they'd create an account. If they make a one-time payment, as they would with the Specific Post/Page approach, it's not a subscription, they just bought access to the content protected for customers.
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: Specific Post/Page Access Restrictions

Postby hapke » July 31st, 2011, 2:26 am

Thank you, you are right. I must consider it.
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Specific Post/Page Access Restrictions

Postby Jason Caldwell » August 2nd, 2011, 6:59 pm

Thanks for the heads up on this thread.
hapke wrote:Hi, my question is very special.
I use Specific Post/Page Access Restrictions wihtout any membership.
I generated a PayPal button to get users access to some of my posts.
How can I make some "special" users get access to these posts without paying?
I cannot add members manually because there is no membership.

Is there a possibility to create a coupon field or so?

Altogether I can say: This plugin is great.
Thanks for the KUDOS. You could use the Special Post/Page Link generator that Cristián mentioned, or if you need to do this programatically/dynamically, you can use this function that comes with s2Member, via PHP code. This might get integrated into a custom plugin that you write, or into your theme perhaps.
Code: Select all
<?php
$post_or_page_id 
= 123;
$access_link = c_ws_plugin__s2member_sp_access::sp_access_link_gen($post_or_page_id);
wp_redirect($access_link);
exit();
?>
See also: viewtopic.php?f=40&t=12862&src_doc_v=110710#src_doc_sp_access_link_gen%28%29
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Specific Post/Page Access Restrictions

Postby martin » August 17th, 2011, 9:51 am

Jason,


  1. Will your solution (php with sp_access_link_gen) work for logged-in members, whom I want to gift a Specific Post/Page? (As I created one link and placed into membership area and I'm getting "Too many IPs error" to support - now I understand why...) :roll:
  2. Is there an ability to add Specific Post/Page Access to new (recurring) members' PayPal buy button?
User avatar
martin
Registered User
Registered User
 
Posts: 16
Joined: May 25, 2010

Re: Specific Post/Page Access Restrictions

Postby Jason Caldwell » August 18th, 2011, 1:28 pm

martin wrote:[*]Will your solution (php with sp_access_link_gen) work for logged-in members, whom I want to gift a Specific Post/Page? (As I created one link and placed into membership area and I'm getting "Too many IPs error" to support - now I understand why...) :roll:

Yes, you'll want to create the link dynamically for each User/Member, that way you don't have everyone sharing the same link. Yes, you can create a link regardless of login status. In other words, it doesn't matter if they're logged in or not, because Specific Post/Page Access works independently from Membership. All they need is a link.

Is there an ability to add Specific Post/Page Access to new (recurring) members' PayPal buy button?
Not into the Button Code itself, but you can create the link for them on the Login Welcome Page, so they'll have access.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Specific Post/Page Access Restrictions

Postby martin » August 18th, 2011, 1:50 pm

OK, thank you. I will add the code to the template and post to the selected few...

Regarding welcome screen - there will have to be more tweaking than just a link. I'm thinking about Custom Capability in the buy button and then using s2if on the welcome screen... That will do for my plan :)
User avatar
martin
Registered User
Registered User
 
Posts: 16
Joined: May 25, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 3 guests

cron