Your cart is currently empty!
Error on Import & Documention
—
by
Hi there I would like to request a refund. I have tried multiple methods of import mentioned in your documentation. None of them are working.
1. http://docs.itthinx.com/document/groups-import-export/import-users/ says to save as CSV then http://docs.itthinx.com/document/groups-import-export/file-format-column-order/ says to save as text file with tab separation. Neither of these work
2. http://docs.itthinx.com/document/groups-import-export/file-format-column-order/ mentions a Help tab which does not exist
3. Documentation says to do an export to get an example file but Export pre-populates with about 100 fields and if I try to delete them my browser hangs for about 5 minutes. Can’t you set the default to be common user profile info and woocoommerce address?
Why does it need to be so complex? Provide us with a downloadable example file (that works) inside the plugin under import.
Spent hours on this that I can’t bill to my client so this purchase has already cost us a lot of money.
Comments
6 responses to “Error on Import & Documention”
I just came across this older topic, although the suggested changes would work for this particular, it would not be a suitable approach. The character
"
is valid as part of a group name, so these quotes should not be removed as suggested. Instead, the import file should have the quotes removed where they should not be part of a group name.Hi Lawrence,
Thanks for the detailed feedback, I will check the import process and try to replicate your situation.
Kind regards,
George
Okay this fixes the double quote issue…
groups-import-export/lib/core/class-groups-user-import.php
//line 122 – after $name = trim( $name ); add
$name = str_replace(‘”‘, ”, $name);
//line 423 – after $group = trim( $group ); add
$group = str_replace(‘”‘, ”, $group);
//line 541 – after $group = trim( $group ); add
$group = str_replace(‘”‘, ”, $group);
Those line number are a tad off as I had some extra debug code in there
Got it working! However when there are multiple groups and “Create new groups if they do not exist.” is checked the double quotes (which are created automatically when saving the exported .tsv to .txt) are imported into the group names resulting in the first and last groups appearing as “First Group and Last Group”. Try to use str_replace to remove them on class-groups-user-import.php but any advice would be appreciated.
Thanks!
Hi Lawrence,
Of course we can proceed with the refund, but if you like we can perhaps have a look at the import file you are using in case there is a mistype or something unusual.
In order to have a more thorough view of the situation and since I’ve noticed that you have been using the plugin for while now, did those issues with importing occur recently, or with a specific plugin version?
FYI, the Help tab appears on the top right corner of WP Dashboard and gives you information and examples on how to use the plugin for importing and exporting. Also, when exporting users, the extended profile data are exported only if you enable the option, in other words you don’t need to delete each option from the list.
If you like us to have a look at your import file, you can send a copy to george at itthinx dot com.
Kind regards,
George