Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Delicate operation: How to take ONLY user information out of MySQL?

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 6 months ago #280781 by timstohr
Hi Kyle,

I would like to copy ONLY the user information out of my current website and then paste ONLY the user information into a new website (which has CB etc... installed and is basically a near-clone).

I have to copy the MySQL table over? or can I export the users as well? and then import in the new website?

Here is the problem I have. I have installed Multi-site, meaning that I have one PHP that can run multiple sites (that are copies of the master). One of them was branched out of the master before I had Multi-sites and the DBs are now slightly different (name of fields, lists etc...). I have managed to make them run on one PHP, but the very slight difference in DB (especially in the module section) are making random modules appear on pages (after I update the module stuff on the master and push the changes out to the children).

I would like to JUST import the user data into a new clone of the master ie what they have filled out on their profile. How do I do that?

The rest of the user data in the website will be done by hand. I have found a way for those already, but not for CB user data...

I will also get DB faults (naturally since some fields have differing names), how do I best resolve them? Tools in CB?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280785 by krileon
Use CB Juice to import/export user profile data.

If you insist on doing it directly through the database then CB user profile data is stored in _comprofiler. If you mean even plugin data then review your database carefully for _comprofiler prefixed tables. This is all strictly CB. Exporting Joomla user data is a bit harder due to ACL.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 6 months ago #281039 by timstohr
Cant find CB Juice. The only one I found is this one but it says it is not for joomla 3.x. Did you mean this one: www.joomlapolis.com/cb-solutions/directory/core-enhancements/user-management/cbjuice

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #281063 by krileon
The CB Juice forums are below.

www.joomlapolis.com/forum/226-cb-juice


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: timstohr

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum