latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Customize redirect members Area post level2

Home Forums Community Forum Customize redirect members Area post level2

This topic contains 4 replies, has 3 voices. Last updated by  Roger Rubin 3 years, 9 months ago.

Topic Author Topic
Posted: Saturday Mar 30th, 2013 at 2:38 pm #46154
Roger Rubin
Username: rog727

Hi there,
I hope somebody can help me with this issue.

This is my scenario:

1.I created a template for post.
2.I created a category named Members.
3.Every post in this category(Members) have more than 6 images.
4.This is my issue:
if i set the post for level 2, when i go to members area and choose the post its redirected to the member page and
i really want go to the post and show the 6 first images and at the end of the post have a button that redirect the
user to the member page.

How i can control the redirect when a post is set >level2?

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Sunday Mar 31st, 2013 at 8:52 am #46197

Hi Roger.

If instead of the redirection to the Membership Options page, you want to show part of the content and hide the rest or show an alternative message for those that don’t have the right level, then you’ll have to use conditionals in the body instead of restricting access to the whole post. Knowledge Base » Simple Shortcode Conditionals

Posted: Sunday Mar 31st, 2013 at 2:04 pm #46209
Roger Rubin
Username: rog727

My current issue is:

I set a post with level2 but once i click on it is redirected to member page.

What i want to do:

I have in single page the functions for load the gallery thumbs for every post and now is showing the whole assigned thumbs, but when set the post to level2 i need s2member show first the 6 thumbs linked not redirect the user to the member page.

Posted: Monday Apr 1st, 2013 at 4:42 pm #46313
Bruce
Username: Bruce
Staff Member

I have in single page the functions for load the gallery thumbs for every post and now is showing the whole assigned thumbs, but when set the post to level2 i need s2member show first the 6 thumbs linked not redirect the user to the member page.

You’ll need to stop restricting the whole page with s2Member, and use s2Member’s Conditionals to protect the portion of your page that you want restricted.

See: Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals
See Also: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

Posted: Monday Apr 1st, 2013 at 5:55 pm #46318
Roger Rubin
Username: rog727

Ok, i removed the lever from the post and added a conditional. Cool Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.