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 show free members that there is more content

s2Member Plugin. A Membership plugin for WordPress®.

how to show free members that there is more content

Postby itscbiz » May 11th, 2010, 4:05 pm

I have free descriptions on my page and then code so only the logged in members can see the actual video.

How can I let free members know that there is more protected content to entice them to log in and join? If I write "there's more on the page" then that will still show once a member is logged in and that looks stupid.
Check out my blog http://garlix.com
User avatar
itscbiz
Registered User
Registered User
 
Posts: 2
Joined: May 10, 2010

Re: how to show free members that there is more content

Postby Guest » May 11th, 2010, 11:02 pm

look up is_logged_on in wordpress, it will become your friend
Guest
Guest User
Guest User
 

Re: how to show free members that there is more content

Postby itscbiz » May 12th, 2010, 4:28 am

is_logged_in
That works great thanks!
Check out my blog http://garlix.com
User avatar
itscbiz
Registered User
Registered User
 
Posts: 2
Joined: May 10, 2010

Re: how to show free members that there is more content

Postby Jason Caldwell » May 13th, 2010, 12:50 am

Documentation on the is_user_logged_in() function can be found here:
http://codex.wordpress.org/Function_Ref ... _logged_in

There is also a section inside s2Member -> API Scripting -> Advanced Conditionals, which covers this topic in much more detail, with 5 different code samples, some of which use s2Member API Constants.
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest