Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-06T07:22:23-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14348 2011-08-06T07:22:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14348&p=29998#p29998 <![CDATA[Re: Register/Login]]> Statistics: Posted by wesleysoccer — August 6th, 2011, 7:22 am


]]>
2011-08-06T00:32:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14348&p=29992#p29992 <![CDATA[Re: Register/Login]]> Statistics: Posted by Cristián Lávaque — August 6th, 2011, 12:32 am


]]>
2011-08-05T22:50:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14348&p=29974#p29974 <![CDATA[Re: Register/Login]]> Statistics: Posted by wesleysoccer — August 5th, 2011, 10:50 pm


]]>
2011-08-05T00:48:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14348&p=29926#p29926 <![CDATA[Re: Register/Login]]>
Code:
<?php if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN){ ?>
    <a href="http://" title="My Homepage">Welcome, <?php echo S2MEMBER_CURRENT_USER_FIRST_NAME; ?></a> | <a href="<?php echo S2MEMBER_LOGOUT_PAGE_URL; ?>">Logout</a>
<?php } else { ?>
    <a href="<?php echo S2MEMBER_LOGIN_PAGE_URL; ?>">Login</a> | <a href="<?php echo S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL; ?>">Signup</a>
<?php } ?>

Statistics: Posted by Cristián Lávaque — August 5th, 2011, 12:48 am


]]>
2011-08-04T14:05:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14348&p=29876#p29876 <![CDATA[Register/Login]]>
I know how to add the Welcome, Name to appear after a login but was wondering if there is a way to add the register/login then it will add Welcome note...

Thanks

This is what I'm using to show up in header after someone logs in

<?php if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN){ ?><a href="http://" title="My Homepage">Welcome, <?php echo S2MEMBER_CURRENT_USER_FIRST_NAME; ?></a> | <a href="<?php echo S2MEMBER_LOGOUT_PAGE_URL; ?>"title="Sign Out"> Sign Out</a><?php } ?>

Statistics: Posted by wesleysoccer — August 4th, 2011, 2:05 pm


]]>