raonip
Forum Replies Created
-
Forum: Plugins
In reply to: [Import Users from CSV] [Plugin: Import Users from CSV] QuestionsHi!
I have just tried and I could Import the CSV that I created in my Editor. Just have to turn UTF-8.
I tried your code below in my functions file and is not working….should I put anywhere else?
add_filter( 'is_iu_import_userdata', 'example_filter_import_userdata', 10, 2 ); function example_filter_import_userdata( $userdata, $usermeta ) { if ( ! empty( $usermeta['First Name'] ) ) { $userdata['first_name'] = $usermeta['First Name']; } return $userdata; }
I also changed in CSV file header from “first_name” to “First Name”…..
Any clue?
Thanks again for all your support!Forum: Plugins
In reply to: [Import Users from CSV] [Plugin: Import Users from CSV] QuestionsHi, that’s Exactly what I need!!!! Very nice!
I have to put this code in my functions file, right?
If I want to change many colunm names I just copy and paste this part changing the names?if ( ! empty( $usermeta['First Name'] ) ) { $userdata['first_name'] = $usermeta['First Name']; }
I’m just confused…..I try to import a CSV other then your example and is not working…..
Maybe is because I’m made the CSV in MAcC OS X Editor?
Can I send you the file?
The CSV needs to be with “,” or can be “;”?
Also needs to be enclosed by ” “??Forum: Plugins
In reply to: [Import Users from CSV] [Plugin: Import Users from CSV] Questionshi, have a look at this plugin:
https://www.ads-software.com/extend/plugins/csv-user-import/It has a code that maps each column name to the user data……
I don’t know how to code that….just change somethings in PHP……maybe can help!!
Thanks again!!
Forum: Plugins
In reply to: [Import Users from CSV] [Plugin: Import Users from CSV] QuestionsHi! Thanks very much for that!
It is possible to have different header names in my CSV?
If I change the names in the code below, it will work?$userdata_fields = array( 'ID', 'user_login', 'user_pass', 'user_email', 'user_url', 'user_nicename', 'display_name', 'user_registered', 'first_name', 'last_name', 'nickname', 'description', 'rich_editing', 'comment_shortcuts', 'admin_color', 'use_ssl', 'show_admin_bar_front', 'show_admin_bar_admin', 'role' );
Sometimes is not possible to have the CSV exported with this header names….would be great if we could change the names, even inside the code…….do you think is possible?
Thanks again!
Forum: Plugins
In reply to: [Import Users from CSV] [Plugin: Import Users from CSV] QuestionsOwwww!!! That’s PERFECT!!!
Thanks very very much!!!!
Forum: Plugins
In reply to: [Import Users from CSV] [Plugin: Import Users from CSV] QuestionsHi! that’s great!! and quick answer!!
It is possible to Update the user by the user LOGIN?
If the user login is already in WordPress the details is updated?If not, is there a way I could change in the plugin?
Thanks very much!!!
Hi, I have the same problem!!
How can I show the second image? This code above is not working…….Forum: Plugins
In reply to: Custom Field Template Metabox in Sidebar?hi,
I also would like to know a way to do that.
Would be great to be able to put the Meta Box below the “Category Box”.Anyone know how to do that??
Thanks
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Post Title Special Character Escape CodesHi,
I had the same problem with characters and now is fixed!!!
Thanks for this GREAT plugin!