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™

Teaser Posts in S2Member

s2Member Plugin. A Membership plugin for WordPress®.

Teaser Posts in S2Member

Postby tgmblog » October 7th, 2011, 2:42 pm

I am new to using S2Member and so far it has been pretty straightforward. So now my question: How do I do a teaser post? I do not know S2members terminology exactly so let me explain. When we release a members only podcast. We would like everyone to be able to see/read what it is about. I know there is a way to create a post that is unblocked by S2member. I saw it one of the videos on S2member. BUT I cannot find that dang part of video again.

Can anyone direct me to this info? And what is the terminology in S2member to describe this? Is teaser post correct?

Basically I want to make sure the description of the podcast is unblocked. So anyone on the website can see what it is about without being logged in.

[unblocked] Podcast A is about blah, blah, blah, zipp, zipp, zipp [unblocked]

thank you
User avatar
tgmblog
Registered User
Registered User
 
Posts: 19
Joined: October 7, 2011

Re: Teaser Posts in S2Member

Postby Eduan » October 7th, 2011, 2:44 pm

Maybe this video could help:
http://www.s2member.com/content-restric ... ble-video/

Maybe it's the one you saw, hope this helps :) .
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Teaser Posts in S2Member

Postby tgmblog » October 7th, 2011, 3:03 pm

Well thank you. There is a lot of useful info those videos. However, I was looking for the introduction and how to do this for a specific post. Those videos went into certain problems within S2Member that people were encountering. I just want that first "how to" video.

Edit: I just realized there is some functionality within S2member that we were not aware of. I will have to fool around with what we are trying to do. Basically, we are just protecting a couple categories. So all the posts within those categories will require a log in. The protected posts are going to show up on the front page. We will have to fool with it to see if it makes more sense to protect the categories or to just create and protect tags and see which yields the results that we want or need.
User avatar
tgmblog
Registered User
Registered User
 
Posts: 19
Joined: October 7, 2011

Re: Teaser Posts in S2Member

Postby Eduan » October 7th, 2011, 3:24 pm

¿So you mean that even unregistered users can see it, But once they click the link it blocks them? No?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Teaser Posts in S2Member

Postby tgmblog » October 7th, 2011, 6:48 pm

Eduan wrote:¿So you mean that even unregistered users can see it, But once they click the link it blocks them? No?



Yes, and we just realized that S2 member appears to do this automatically. We will continue to play with test posts. We decided to use "tags" for protected posts. We'll see how this goes. It appears everyone can see the text which is great and when they go to hit the protected link (to a podcast that has been uploaded into the S2member secure file ) .....it will kick them into the members option and not allow the download.
User avatar
tgmblog
Registered User
Registered User
 
Posts: 19
Joined: October 7, 2011

Re: Teaser Posts in S2Member

Postby Eduan » October 8th, 2011, 7:36 am

Thanks for the update.
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Teaser Posts in S2Member

Postby Cristián Lávaque » October 9th, 2011, 12:50 am

You can tease in a couple of simple ways:

One would be using the "more" tag that lets you tell WordPress where the snippet for post lists ends. If you don't restrict Alt. Views, but restrict the post, then the snippet will be shown in the listings (category, home, etc.) but when clicking the link to read the rest of the post, will be bounced to the Membership Options page. WP Admin -> s2Member -> Restriction Options -> Alternative Views

The other way would be to not restrict the post, leave it open to everyone, but then use a conditional to protect a part of the post from those without the paid access. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals

I hope this 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

Re: Teaser Posts in S2Member

Postby heuristocrat » December 19th, 2011, 1:22 pm

I have been experimenting with this and the codes work fine however I still can't get the magic to have a post that has some public content and then continues with not just protected content but a message to login or register to see the rest.

Right now I can do this easily by keeping the post open and then adding the shortcodes for only show if member level is 1 or greater. But then it simply doesn't show up. I want to make it clear that there is more content if you are a member and logged in.
User avatar
heuristocrat
Registered User
Registered User
 
Posts: 2
Joined: December 19, 2011

Re: Teaser Posts in S2Member

Postby Cristián Lávaque » December 19th, 2011, 11:52 pm

It'd be something like

Code: Select all
Here goes the first part that's for everyone.

[s2If !is_user_logged_in()]
Please login.
[/s2If]

[s2If current_user_can(access_s2member_level1)]
Here goes content for members at Level 1 or higher.
[/s2If]


That's still missing the case of a free user that's logged in. He'd be login, so he doesn't get the message to login, but he'd be below Level 1 too, so he doesn't see the premium content.

I'd change it to something like this:

Code: Select all
Here goes the first part that's for everyone.

[s2If !is_user_logged_in()]
Please login or buy now, here's the order button.
[/s2If]

[s2If current_user_is(s2member_level0)]
Please upgrade your account, here's the button.
[/s2If]

[s2If current_user_can(access_s2member_level1)]
Here goes the content for members at Level 1 or higher.
[/s2If]


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

Re: Teaser Posts in S2Member

Postby heuristocrat » December 20th, 2011, 5:03 am

Thanks for that example. I can see how you can mock up whatever you want with the conditionals.

It seems a bit cumbersome but I'm going to try it. S2Member seems like a good platform so I think it's worth a little effort to integrate it into what we are doing.

Cheers! Kris
User avatar
heuristocrat
Registered User
Registered User
 
Posts: 2
Joined: December 19, 2011

Re: Teaser Posts in S2Member

Postby Cristián Lávaque » December 20th, 2011, 5:58 am

Cool Kris. :)

Let us know if you need any help.
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: Exabot [Bot], Google [Bot] and 1 guest

cron