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.

different home pages / logged in / logged out

Home Forums Community Forum different home pages / logged in / logged out

This topic contains 2 replies, has 1 voice. Last updated by  Craig Heyworth 3 years, 5 months ago.

Topic Author Topic
Posted: Saturday Jul 13th, 2013 at 3:31 pm #53403

Hi S2,

I’m looking to create two separate user experiences for registered and non registered users.

My goal is create a home page that includes all the information about the site, it’s membership policies and then links to register. Once they register they will get a different ‘logged in’ homepage, with links to different pages, no registration link etc.

Can I do this directly with S2? And / or do you have any information that may assist me create this?

Many Thanks!!

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Saturday Jul 13th, 2013 at 5:27 pm #53408

I’ve found and just followed the following with great success:

http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/

I’ve now created a site that has a home page with separate nav menu / sidebar for logged out users. Added the restrictions to be forwarded to the members options page when logged out too, so I’ve now a great frontend setup for logged out users.

the problem now I face however is that logged in users, when clicking home, head to the logged out home I created using the following link.

Is there a way in S2 member to add a secondary home page for logged in members… ie: http://www.mydomain.com/home

Posted: Saturday Jul 13th, 2013 at 5:36 pm #53409

It seems I’ve solved the problem:

I added

<?php if (is_user_logged_in() ) {
wp_redirect ( home_url("/dashboard") );
exit;
}
?>
Viewing 2 replies - 1 through 2 (of 2 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.