You are here

README.txt in User Relationships 6

User Relationship Migrate Module
---------------------------------

This is a plugin module for the User Relationships module. It allows admins to migrate
Buddy List 2 (not Buddylist) relationships to User Relationships.

If you have trouble, post an issue including URLs you are accessing and screenshots as necessary at
http://drupal.org/project/user_relationships.


Requirements
------------
Drupal 6
User Relationships Module
Buddy List 2 tables (its not necessary to have the Buddylist2 module actually installed)


Installation
------------
Enable User Relationship Migrate in the "Site building -> Modules" administration screen.


Usage
-----
After enabling the module, go to the "User management -> Relationships" page
(admin/user/relationships) and click on "Migrate buddylist2" in the menu across the top.

Enter a relationship type for the migrated relationships, and click Migrate. 
Your Buddylist data will be treated correctly depending on the type of relationship you are 
importing into (one-way vs. two-way)

Tested on a MacBook Pro 2.4GHz Core2Duo with 4GB of RAM a 706,000 row buddylist table
took ~40 seconds to migrate.

Running this module more than once without clearing the previous migration will cause
UNIQUE KEY errors in the table. This is to help eliminate duplicate entries. 

You will also see UNIQUE KEY errors if some relationships being imported already exist 
in User Relationships (that is, users have already created some of them).

After running this you can disable the module as you will no longer need it.


Credits
-------
Written by JB Christy.
Refactored by Jeff Smick.
Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)
Thanks to Jeff Smick for the User Relationships module, and to the Buddy List folks.

Modified to work in Drupal 6 by Dave Myburgh (incrn8). 
Additional tweaks by Alex Karshakevich (alex.k)

File

user_relationship_migrate/README.txt
View source
  1. User Relationship Migrate Module
  2. ---------------------------------
  3. This is a plugin module for the User Relationships module. It allows admins to migrate
  4. Buddy List 2 (not Buddylist) relationships to User Relationships.
  5. If you have trouble, post an issue including URLs you are accessing and screenshots as necessary at
  6. http://drupal.org/project/user_relationships.
  7. Requirements
  8. ------------
  9. Drupal 6
  10. User Relationships Module
  11. Buddy List 2 tables (its not necessary to have the Buddylist2 module actually installed)
  12. Installation
  13. ------------
  14. Enable User Relationship Migrate in the "Site building -> Modules" administration screen.
  15. Usage
  16. -----
  17. After enabling the module, go to the "User management -> Relationships" page
  18. (admin/user/relationships) and click on "Migrate buddylist2" in the menu across the top.
  19. Enter a relationship type for the migrated relationships, and click Migrate.
  20. Your Buddylist data will be treated correctly depending on the type of relationship you are
  21. importing into (one-way vs. two-way)
  22. Tested on a MacBook Pro 2.4GHz Core2Duo with 4GB of RAM a 706,000 row buddylist table
  23. took ~40 seconds to migrate.
  24. Running this module more than once without clearing the previous migration will cause
  25. UNIQUE KEY errors in the table. This is to help eliminate duplicate entries.
  26. You will also see UNIQUE KEY errors if some relationships being imported already exist
  27. in User Relationships (that is, users have already created some of them).
  28. After running this you can disable the module as you will no longer need it.
  29. Credits
  30. -------
  31. Written by JB Christy.
  32. Refactored by Jeff Smick.
  33. Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)
  34. Thanks to Jeff Smick for the User Relationships module, and to the Buddy List folks.
  35. Modified to work in Drupal 6 by Dave Myburgh (incrn8).
  36. Additional tweaks by Alex Karshakevich (alex.k)