Community Support Forums — WordPress® ( Users Helping Users ) — 2011-07-08T20:46:06-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10446 2011-07-08T20:46:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10446&p=22713#p22713 <![CDATA[Re: Change the redirect when logged in]]>

Let us know if you need help with anything else.

Statistics: Posted by Cristián Lávaque — July 8th, 2011, 8:46 pm


]]>
2011-07-08T16:20:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10446&p=22683#p22683 <![CDATA[Re: Change the redirect when logged in]]>
I was thinking about it the wrong way....how to put the conditional shortcodes on the posts. But all I needed to do is put the shortcodes on the membership options page.

So, for anyone else trying to figure this out, here's what I did:
[s2If is_user_logged_in()]Whoa Nelly!

I looks like you're trying to access stuff that isn't available yet. Be patient. All will be revealed in time.

[/s2If]

[s2If !is_user_logged_in()]

The normal registration/membership options page.

[/s2If]

I used the same trick on the home page. Elegant and simple. :)

Statistics: Posted by laurawhiteritchie — July 8th, 2011, 4:20 pm


]]>
2011-07-08T15:51:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10446&p=22680#p22680 <![CDATA[Change the redirect when logged in]]>
The problem is, when a student (S1) clicks on content that isn't available yet, S2Member directs them to the Membership Options screen telling them they need to register. They're already registered. That's just confusing. I want them to either be redirected to a page that says that content isn't available yet or set a conditional shortcode on the page that tells them it isn't available yet.

I think I can do it with the shortcode, but that means I have to edit the posts AND the access level to set a post live for students. The more steps I have in the process, the more likely I am to mess it up.

So, is there an easier, less manual way to do this?

Thanks so much!!

Statistics: Posted by laurawhiteritchie — July 8th, 2011, 3:51 pm


]]>