importing, selecting drupal user
dbezzant - June 4, 2008 - 20:47
| Project: | Wordpress Import |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | yrocq |
| Status: | active |
Jump to:
Description
I have selected my wordpress .xml file, then given the list of wordpress blogers and then a drop-down of my drupal users, which is several thousand, as we have that many users. The problem is trying to find the correct drupal user to match up with the wordpress user, as the list is not in any type of order. It would be nice if it was in alphabetical order. Is this an known issue, any way around this?
Thanks
David

#1
David,
Try this ...
Change line 582 in the wordpress_import.module file
from this:
$sql = "SELECT * FROM {users}";
to this:
$sql = "SELECT * FROM {users} ORDER BY name ASC";
#2
I just commited the modification. Thanks !
#3
I tried the updated code to make the drop-down list alphabetical, , now my browser is crashing, tried several ones, as it tries to build the list. In thinking about this, I already know the "name" of the user. If I could have a text field where I can enter the drupal "name", that make it easier and quicker to import this grundle of content I need to move from WordPress, which my users are getting anxious to get moved.
Thanks
David