PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Check box & Radio button data in New User Notification

s2Member Plugin. A Membership plugin for WordPress®.

Check box & Radio button data in New User Notification

Postby man-O-media » August 18th, 2011, 5:59 pm

I have configured the Administrative: New User Notification email function to send new registrations to the membership manager.

I have a couple of check boxes in my registration form and while I know that seeing a "1" as the data means true, I really question if the "membership" manager or who ever may be helping will get it.

I presume I can't call any php code so is there some way to get check boxes, radio buttons and the like to echo as true/false, yes/no, etc.?

And directly related to that, is there some way to gain access to the true/false MailChimp data?
The result of the Double Opt-In Checkbox is stored at MailChimp but it would be nice for the membership folks to know whether a particular user has said yes or no to receiving email.


Thanks, DP
User avatar
man-O-media
Experienced User
Experienced User
 
Posts: 117
Joined: February 10, 2011

Re: Check box & Radio button data in New User Notification

Postby Jason Caldwell » August 20th, 2011, 5:31 pm

man-O-media wrote:I have configured the Administrative: New User Notification email function to send new registrations to the membership manager.

I have a couple of check boxes in my registration form and while I know that seeing a "1" as the data means true, I really question if the "membership" manager or who ever may be helping will get it.

I presume I can't call any php code so is there some way to get check boxes, radio buttons and the like to echo as true/false, yes/no, etc.?
Sorry, not exactly. What you could do though, is change your Custom Registration Field configuration, so that instead of using checkboxes, you could use a Select ( drop-down ). This allows you to supply the exact values that you want returned, by configuring a list of options that will be available in the drop-down. For instance, true or false. See: s2Member -> General Options -> Custom Registration Fields.

And directly related to that, is there some way to gain access to the true/false MailChimp data?
The result of the Double Opt-In Checkbox is stored at MailChimp but it would be nice for the membership folks to know whether a particular user has said yes or no to receiving email.
Not yet, but this IS something we're working on.
Stick with MailChimp for now, we'll be adding this feature soon.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Check box & Radio button data in New User Notification

Postby man-O-media » August 20th, 2011, 10:48 pm

Sorry, not exactly. What you could do though, is change your Custom Registration Field configuration, so that instead of using checkboxes, you could use a Select ( drop-down ). This allows you to supply the exact values that you want returned, by configuring a list of options that will be available in the drop-down. For instance, true or false. See: s2Member -> General Options -> Custom Registration Fields.


Hmmm, I guess so...
Drop downs are not quite as user friendly but yea, that could work.

A question though... I know if you rename a custom field, any data associated with the old field name is lost.
If I change the field type I presume that will be the case as well?

As far as MailChimp goes, I'm happy enough with the situation so yea, I will be here to see any improvements.


DP
User avatar
man-O-media
Experienced User
Experienced User
 
Posts: 117
Joined: February 10, 2011

Re: Check box & Radio button data in New User Notification

Postby Jason Caldwell » August 20th, 2011, 11:18 pm

Jason Caldwell wrote:
If I change the field type I presume that will be the case as well?

As long as you don't change the Unique ID of that field, and you only change the type, no data will be lost. However, in your Dashboard, the new drop down may default to the first value when you edit a User, so that is something that you may have to work around. In other words, if the drop down is configured with values other than 1 or 0, the drop down menu will not match the existing value of a current User, and would default to the first value that is available in the drop down. So just to be aware of this. If you edit a User manually, or they edit their profile, the data may *appear* to be lost, although it's not, at least, not internally. Sorry, that's the best I can do right now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Check box & Radio button data in New User Notification

Postby man-O-media » August 21st, 2011, 12:14 am

Yea, OK... Thats not so bad.
There are not that many users at this point so manually cleaning up the data will not be so bad. And would certainly be easier to do having not lost the old data.


Thanks, DP
User avatar
man-O-media
Experienced User
Experienced User
 
Posts: 117
Joined: February 10, 2011

Re: Check box & Radio button data in New User Notification

Postby Cristián Lávaque » August 22nd, 2011, 9:08 pm

If you have s2Member Pro, exporting the users before changing the custom fields may be a good idea, you can then re-import them with the new field. Should be simpler than editing each one manually in their profiles.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron