Community Support Forums — WordPress® ( Users Helping Users ) — 2012-02-03T00:31:39-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17079 2012-02-03T00:31:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17079&p=62223#p62223 <![CDATA[Re: S2Member Login Widget: My Account goes to wrong link]]>

Statistics: Posted by Cristián Lávaque — February 3rd, 2012, 12:31 am


]]>
2012-02-01T00:42:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17079&p=62074#p62074 <![CDATA[Re: S2Member Login Widget: My Account goes to wrong link]]>

Thanks.

Statistics: Posted by peeld — February 1st, 2012, 12:42 am


]]>
2012-01-31T03:26:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17079&p=61987#p61987 <![CDATA[Re: S2Member Login Widget: My Account goes to wrong link]]>
If it was working properly before, why did it change? Did you change something?

You could leave the My Account field blank and then in the field Additional XHTML/PHP Code add:

Code:
<a href="http://mysite.com/members/<?php echo S2MEMBER_CURRENT_USER_LOGIN; ?>/">My Account</a>



WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants -> S2MEMBER_CURRENT_USER_LOGIN

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — January 31st, 2012, 3:26 am


]]>
2012-01-29T22:51:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17079&p=61898#p61898 <![CDATA[S2Member Login Widget: My Account goes to wrong link]]>
The Pro Login Widget is set to %%automatic%% for the my account link. It used to direct just fine to the buddypress user's profile page. But now it goes to the group directory page for some reason.

I'm very sorry but I really know nothing of PHP or I'd code my own custom PHP and put it in a text widget (I have a plugin that allows PHP to run in widgets).

Anybody know what link I should use other than %%automatic%% so that the My Account link goes to the user's buddypress profile page? It's http://mysite.com/members/username/ in each case.

thanks,
Daisy

Statistics: Posted by peeld — January 29th, 2012, 10:51 pm


]]>