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.

After login page direct

Home Forums Community Forum After login page direct

This topic contains 6 replies, has 2 voices. Last updated by  Josey T 3 years, 9 months ago.

Topic Author Topic
Posted: Wednesday Mar 20th, 2013 at 8:27 pm #45262
Josey T
Username: fr35ht

List Of Topic Replies

Viewing 6 replies - 1 through 6 (of 6 total)
Author Replies
Author Replies
Posted: Wednesday Mar 20th, 2013 at 8:52 pm #45272
León
Username: Jaleo

Hello Josey,

Yes, you can do this with s2member using conditionals on the same page to show different content to different membership levels. See: WP Admin -> s2member -> Scripting -> Conditionals

Hope that helps!

Posted: Thursday Mar 21st, 2013 at 11:21 am #45353
Josey T
Username: fr35ht

Thanks for your reply. I’m not sure my question was understood.

What I meant is that when say, a “new member” logs in, i can send them to a “new member” page.

When an “editor” logs in they get sent first to an “Editors News” page,

When an “Author” logs in they get sent to an “Authors Area” page etc.

In other words the destination page after login reflects the membership level of the user.

Hope that’s clear.

Posted: Thursday Mar 21st, 2013 at 2:30 pm #45372
León
Username: Jaleo

Hello Josey,

This is (almost) exactly what PHP Conditionals do, except that, instead of having to create a whole different page for each role, it uses the same page.

So, for example, if a new member logs in, they’ll be sent to the same page they’re usually sent to after logging in, but the content they see is the “new members” content. If an editor logs in, they’ll be sent to the same page as the all other roles, but they’ll see “editor news.” This works with all roles, not just editors or new members.

It’s the simplest and most effective way to do what you need with s2member.
For PHP Conditionals, see WP Admin -> s2member -> Scripting -> PHP Conditionals

Really hope that helps… :)

Posted: Thursday Mar 21st, 2013 at 2:45 pm #45374
Josey T
Username: fr35ht

Ah I think I get it, thanks for your patience Leon.

So you have a single page to which users all go after they login, but on that page you put code to hide/show content depending on what the membership level is?

Have I got it?

Posted: Thursday Mar 21st, 2013 at 2:55 pm #45376
León
Username: Jaleo

Yes, that is correct. :)

Posted: Thursday Mar 21st, 2013 at 5:39 pm #45404
Josey T
Username: fr35ht

Thanks Leon!

Viewing 6 replies - 1 through 6 (of 6 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.