Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-11T14:11:17-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15492 2011-10-11T14:11:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45381#p45381 <![CDATA[Re: Would like to display member number]]>

Mochajen, you can also use one of the constants provided by s2Member. WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Contants

I hope that helps.

Statistics: Posted by Cristián Lávaque — October 11th, 2011, 2:11 pm


]]>
2011-10-11T06:22:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45319#p45319 <![CDATA[Re: Would like to display member number]]>

Statistics: Posted by Eduan — October 11th, 2011, 6:22 am


]]>
2011-10-10T23:05:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45313#p45313 <![CDATA[Re: Would like to display member number]]> Statistics: Posted by mochajen — October 10th, 2011, 11:05 pm


]]>
2011-10-10T20:21:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45303#p45303 <![CDATA[Re: Would like to display member number]]>
Code:
<?php
$user_id = get_current_user_id();
if ($user_id == 0) {
    echo 'You are currently not logged in.';
} else {
    echo 'You are logged in as user '.$user_id;
}
?>

Edit the echo 'You are currently not logged in.'; and echo 'You are logged in as user '.$user_id; as you want so that it shows what you want, and then put it wherever you want.

I found this on http://codex.wordpress.org/WPMU_Functio ... nt_user_id

Hope this helps :) .

P.S. I tried this with the Pro Login Widget.

Statistics: Posted by Eduan — October 10th, 2011, 8:21 pm


]]>
2011-10-10T19:53:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45301#p45301 <![CDATA[Re: Would like to display member number]]> Statistics: Posted by mochajen — October 10th, 2011, 7:53 pm


]]>
2011-10-10T17:43:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45292#p45292 <![CDATA[Re: Would like to display member number]]> %%subscr_id%%

P.S. These are Replacement Codes for the PayPal® emails, but maybe they work on other places.

Statistics: Posted by Eduan — October 10th, 2011, 5:43 pm


]]>
2011-10-10T17:20:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45290#p45290 <![CDATA[Re: Would like to display member number]]> Statistics: Posted by mochajen — October 10th, 2011, 5:20 pm


]]>
2011-10-10T16:11:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45285#p45285 <![CDATA[Re: Would like to display member number]]> %%current_user_id%%

Statistics: Posted by Eduan — October 10th, 2011, 4:11 pm


]]>
2011-10-10T16:08:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45284#p45284 <![CDATA[Re: Would like to display member number]]> I'm sure Jason or Cristián know if it's possible.

Statistics: Posted by Eduan — October 10th, 2011, 4:08 pm


]]>
2011-10-10T15:38:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45279#p45279 <![CDATA[Re: Would like to display member number]]> Statistics: Posted by mochajen — October 10th, 2011, 3:38 pm


]]>
2011-10-10T14:58:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45273#p45273 <![CDATA[Re: Would like to display member number]]> "Member ID: sjio596kl" or something like that?

Statistics: Posted by Eduan — October 10th, 2011, 2:58 pm


]]>
2011-10-10T14:51:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15492&p=45271#p45271 <![CDATA[Would like to display member number]]> Thanks,
Jen

Statistics: Posted by mochajen — October 10th, 2011, 2:51 pm


]]>