Skip to Content Skip to Menu

importing images to CB gallery from an older website

  • jmmaurer
  • jmmaurer
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
10 years 4 months ago #246400 by jmmaurer
Hi.

I am rebuilding a Joomla/Community Builder site from scratch. I am using cb gallery on both the new site and the old one. I am porting all the users from the old site to the new one. I have all the images from the old user galleries that I want to port to the new one but I can't figure out how to get the gallery to recognize the files from each user.

any help would be great.

thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago #246466 by krileon
You need to copy over the database table _comprofiler_plug_profilegallery to your new site. This assumes the User IDs match up on your new site. If they do not then you'll have a huge task of mapping the old rows to the new user ids. You then need to copy over the below folder.

images/comprofiler/plug_profilegallery/

Note each user has a folder inside of the above folder based off their user id. So it's pretty important that their user ids be the same on your new site.


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.

  • jmmaurer
  • jmmaurer
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
10 years 4 months ago #246549 by jmmaurer
Thanks for getting back to me.

I understand the user ID issue and had already found the directory of images.

My issue is pulling the old data from the database. The old system is Joomla 1.0. I have cbjuice and another plugin for dumping data but neither contain the field I need. can you recommend a plugin or process for getting the fields I need? or is there a way to find out how the field if formatted so that I can just recreate them using the directory data then use cbjuice to put the data in the field?

Thanks

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 4 months ago #246557 by nant

jmmaurer wrote: Thanks for getting back to me.

I understand the user ID issue and had already found the directory of images.

My issue is pulling the old data from the database. The old system is Joomla 1.0. I have cbjuice and another plugin for dumping data but neither contain the field I need. can you recommend a plugin or process for getting the fields I need? or is there a way to find out how the field if formatted so that I can just recreate them using the directory data then use cbjuice to put the data in the field?

Thanks


The CB Gallery database table is the the comprofiler_plug_profilegallery table.
You should try and replicate this on your new site taking into account how your userids have changed between sites.

CB Juice cannot help you with this - you should use phpmyadmin instead to import / export this table.

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

Moderators: beatnantkrileon
Powered by Kunena Forum