Nargon Nano
Forum Replies Created
-
Well my problem was using Registration Redux; my extra fields, like Membership Level, were not being saved. So if thats an issue you’re having, I found for myself I had to edit the PHP.
To do, find the plugin in the plugin display admin of the WordPress blog; click to edit it. BTW this is sensitive stuff, but if you break something WP should turn the plugin off automatically.
You’re looking for a line that reads like this:
if ( !empty($v[“show_on_profile”]) || current_user_can(“edit_users”) ){Look for either !empty($v[“show_on_profile”]) or current_user_can(“edit_users”)
change the whole line to read
or if(1==1){I think I hit a break through:
around line 2146 there is an if statement:
if ( !empty($v[“show_on_profile”]) || current_user_can(“edit_users”) ){This was stopping me because – of course the new user is not allowed to edit users! and, what does “show_on_profile” have to do with saving to the $wpdb?
I’ve edited it to read if ( 1==1){
So it always passes as true, and the code to save the Extra Profile Fields works now. Maybe there are other ramifications, but for getting this info into the DB, this should help.
I’m not sure yet about password issues
I ask for extra data like “Membership Level” and I have a drop down; I also ask for phone number. I cannot find any of it inside the database with any sort of search. I look manually using MySQL and the data appears to simply not be saved. Anyone found a solution?
Forum: Plugins
In reply to: What is this kind of Data Set I find through out WordPress?Is there a straight forward way to convert a serielized array in to a PHP object or array? I just found the answer through google: https://php.net/manual/en/function.unserialize.php
Thanks a ton esmi! I just didn’t know what to google. I could tell it was an array of variables, with index and string length but didn’t know what to do with it