Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-24T23:19:39-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16029 2011-11-24T23:19:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53847#p53847 <![CDATA[Re: login welcome with user name]]> Statistics: Posted by Eduan — November 24th, 2011, 11:19 pm


]]>
2011-11-24T22:39:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53843#p53843 <![CDATA[Re: login welcome with user name]]>
Great support!

Statistics: Posted by defeyter — November 24th, 2011, 10:39 pm


]]>
2011-11-24T15:37:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53825#p53825 <![CDATA[Re: login welcome with user name]]> http://www.s2member.com/client-portals-video/

Statistics: Posted by Eduan — November 24th, 2011, 3:37 pm


]]>
2011-11-24T15:15:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53823#p53823 <![CDATA[Re: login welcome with user name]]>
I am working under general options - login welcome page - special redirection URL

using a replacement code so that every user has their own customised login welcome page...

I am attaching a screenshot...

So if my user name is Example, when I login, I want to see the welcome page for user Example..

Does that make sense?

Chris

Statistics: Posted by defeyter — November 24th, 2011, 3:15 pm


]]>
2011-11-24T15:09:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53822#p53822 <![CDATA[Re: login welcome with user name]]> Hello [s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]! Or something along those lines?
If you put it as a page title it should work.

Statistics: Posted by Eduan — November 24th, 2011, 3:09 pm


]]>
2011-11-24T14:52:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53820#p53820 <![CDATA[Re: login welcome with user name]]>
It gives me a 404. So I entered as replacement code:
[s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /] as the Login welcome under settings-general-login welcome page.

Then I created the new page with title and slug of the username. If the username is example, I named that page example.

What am I doing horribly wrong?

Thanks for the help

Chris

Statistics: Posted by defeyter — November 24th, 2011, 2:52 pm


]]>
2011-11-24T13:30:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53817#p53817 <![CDATA[Re: login welcome with user name]]>
[s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]

It will display the display name.

Statistics: Posted by Eduan — November 24th, 2011, 1:30 pm


]]>
2011-11-24T13:26:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53815#p53815 <![CDATA[Re: login welcome with user name]]>
Do I enter it like %%[s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]%%

or like %%S2MEMBER_CURRENT_USER_DISPLAY_NAME%% (Tried this one, but it does not work).

Thanks,
Chris

Statistics: Posted by defeyter — November 24th, 2011, 1:26 pm


]]>
2011-11-24T13:21:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53813#p53813 <![CDATA[Re: login welcome with user name]]> %%current_user_display_name%% is for emails only.
You gotta use the shortcodes under WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants.

Here's the corresponding one:
[s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /]

Hope this helps. :)

Statistics: Posted by Eduan — November 24th, 2011, 1:21 pm


]]>
2011-11-24T13:15:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16029&p=53812#p53812 <![CDATA[login welcome with user name]]>
I need to have login welcome pages based on the user name, using S2-member pro.
%%current_user_display_name%% is not working...

Which custom code should I use?

Thank you for the help,

Chris de Feijter

Statistics: Posted by defeyter — November 24th, 2011, 1:15 pm


]]>