I wanted to know if anyone else has run across an issue when people fill out the registration form and they add commas in the fields that those commas get turned into extra columns. Since WP-Member’s use comma delimited to create the .csv file. I tried adding the str_replace code below the “// get the fields” line in wp-members-export.php to replace the comma’s with a space. But it doesn’t seem to work.
// get the fields $wpmem_fields = get_option('wpmembers_fields'); $wpmem_fields = str_replace (","," ",$wpmem_fields);
My goal would be to replace all commas in the $wpmem_fields with a space before it’s exported as a .csv file.
- The topic ‘Registration Fields Export Extra Columns with Commas’ is closed to new replies.