Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-26T15:44:36-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2583 2011-03-26T15:44:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=8395#p8395 <![CDATA[Re: Hiding the registration page once user has joined]]>
The s2Clean theme by PrimoThemes, is made to integrate with s2Member and it makes it very easy to change the navigation and widgets depending on whether the person is logged in or not.

You can watch a brief explanation of the theme in this video, starting around time 17:15 http://s2member.com/video-pro-intro

Hope that helps. :)

Statistics: Posted by Cristián Lávaque — March 26th, 2011, 3:44 pm


]]>
2011-03-25T11:13:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=8341#p8341 <![CDATA[Re: Hiding the registration page once user has joined]]>

I'm really glad for you, it's very nice to see you're managing to achieve what you want with s2Member. :)

About your question on the members login link, which one? The one in WP's meta widget? That should change when the person is logged in. Or do you mean when you add the login link in your post? If the latter, then you'd again use a simple conditional for that, checking whether the person is logged in or not.

s2Member Pro also has a login widget that works perfectly with s2Member and is even usable in the body your page or post with a simple line of code. ;)

Is there a way to call upon the Pro Login Widget directly?

Yes, you can use this PHP tag if you'd like. <?php echo s2member_pro_login_widget(); ?>. For further details, please check your WordPress® Dashboard under: s2Member -> API Scripting -> Pro Login Widget via PHP. There are several options that can be configured dynamically through the PHP tag. It's not required, but you can get pretty creative if you check out the full documentation.

Statistics: Posted by Cristián Lávaque — March 25th, 2011, 11:13 am


]]>
2011-03-25T04:43:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=8330#p8330 <![CDATA[Re: Hiding the registration page once user has joined]]> Statistics: Posted by jenicantle — March 25th, 2011, 4:43 am


]]>
2011-03-25T02:09:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=8325#p8325 <![CDATA[Re: Hiding the registration page once user has joined]]> WP Admin -> s2Member -> General Options -> Open Registration / Free Subscribers.

If you want to hide the offer to join the membership, then the explanation given by startasocialnetwork is quite correct. Basically, if the user is logged in you'd hide the link that sends him to the page with your invitation to join. Simple conditionals can be used in the body of your posts/pages. You can learn more about them here WP Admin -> s2Member -> API / Scripting -> Using Simple Conditionals.

If you want to use s2Member's conditionals in your theme to remove the Join Now link, then you'll need to use the Advanced Query Conditionals described here WP Admin -> s2Member -> API / Scripting -> Advanced Query Conditionals.

Hope that helps. :)

Statistics: Posted by Cristián Lávaque — March 25th, 2011, 2:09 am


]]>
2011-03-24T11:21:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=8295#p8295 <![CDATA[Re: Hiding the registration page once user has joined]]>
Thanks for the reply on this and sorry for the delay - where do I put this code?

I basically just want the "join" navigation function disappear once they are logged in if possible?

Thanks

Statistics: Posted by jenicantle — March 24th, 2011, 11:21 am


]]>
2011-03-04T13:16:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=7400#p7400 <![CDATA[Re: Hiding the registration page once user has joined]]>
Code:
[s2If is_user_logged_in()]
    Content for anyone that is logged in, regardless of their Membership Level.
[/s2If]

[s2If !is_user_logged_in()]
    Your registration page code. They're NOT logged in.
        A leading !exclamation means false.
[/s2If]

Statistics: Posted by startasocialnetwork — March 4th, 2011, 1:16 pm


]]>
2011-03-03T10:53:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2583&p=7339#p7339 <![CDATA[Hiding the registration page once user has joined]]>
I have a couple of questions, but will separate posts!

One:

I have a site where I have just a single pay to join option, so you are either a member or non member - in order to register you have to pay to join. So there is no "free" user account.

Once a member has registered and joined. How do I 'hide' the registration page?

Thanks :)

Statistics: Posted by jenicantle — March 3rd, 2011, 10:53 am


]]>