Page 1 of 1

Using merge/shortcodes to personalize Members Home page

PostPosted: May 28th, 2011, 2:14 pm
by burltree66
Hi, just upgraded to s2Member Pro and am using Optimize Press for membership pages.

I'd like to know if s2member has the ability to use merge/shortcodes which make it easy to drop in usernames into the content, thus further personalizing the customer experience?

In other words, take the username they entered from the registration form and embed it in the Members Home/Welcome page (ie, "[username], thanks and congrats on making the right decision for your health...", etc.).

Is there a way to do this? According to the Optimize Press forum, Wishlist Member has a function that does this.

Apologies if this has already been answered elsewhere...

Thanks!
JG

Re: Using merge/shortcodes to personalize Members Home page

PostPosted: May 28th, 2011, 4:04 pm
by Cristián Lávaque
s2Member makes it easy to add this values to a post, read the documentation here WP Admin -> s2Member -> API / Scripting -> s2Member PHP/API Constants

For example [s2Get user_field="first_name" /].

I hope that helps. :)

Re: Using merge/shortcodes to personalize Members Home page

PostPosted: May 29th, 2011, 3:25 pm
by burltree66
Awesome... Thanks for getting back so fast, Cristián...and with a relevant answer to boot!! :D I'll look into the API scripting.

Best,
JG

Re: Using merge/shortcodes to personalize Members Home page

PostPosted: May 29th, 2011, 8:42 pm
by Cristián Lávaque
I try to give a relevant answer from time to time. ;)