Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-24T15:47:49-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17010 2012-01-24T15:47:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17010&p=61448#p61448 <![CDATA[Re: Registration Email Wont Display First Name]]>
Can you try putting this shortcode in a Post on your Dashboard? It should bring up the firstname of the account you're in, and if it doesn't then something has gone wrong with your setup of s2Member, or possibly, there's something wrong with your $_SESSION variables. It's hard to tell.

[s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]

Statistics: Posted by Bruce C — January 24th, 2012, 3:47 pm


]]>
2012-01-24T15:40:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17010&p=61443#p61443 <![CDATA[Re: Registration Email Wont Display First Name]]>
It's a bit weird though because if I look at the Display Name in WP-Admin>Users it shows the first name? Thought I only inserted my first name in one field (First Name)

Where would I find the column name in phpmyadmin?

Statistics: Posted by mfroseth — January 24th, 2012, 3:40 pm


]]>
2012-01-24T15:32:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17010&p=61439#p61439 <![CDATA[Re: Registration Email Wont Display First Name]]>
Is it showing nothing in place of %%user_first_name%%, or simply just showing the replacement code?

If it's coming up blank, then it might be a problem with how they sign up, if they're not entering their name, or if you're creating the users in the WordPress Dashboard, then sometimes the name will not be entered.

Can you try making a new user in /wp-login.php?action=register and making sure that you fill out the username and see if the email does it correctly that way?

Otherwise, it may be a problem with the column name in your mySQL setup, or something more advanced.

If it's simply showing the replacement code, then I would ensure you're using two "%", if it still persists, have you made any changes to your php.ini file or .htaccess file that could possibly have affected the way the function str_replace in PHP works?

Statistics: Posted by Bruce C — January 24th, 2012, 3:32 pm


]]>
2012-01-24T14:35:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17010&p=61426#p61426 <![CDATA[Registration Email Wont Display First Name]]> I'm trying to figure out why when users register and they receive the welcome email that it doesn't display the first name?

I'm using this as the variable: %%user_first_name%%

It doesn't work. Nor does user_last_name, user_full_name

Am I missing something?

Statistics: Posted by mfroseth — January 24th, 2012, 2:35 pm


]]>