PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery Import Scripts

vBGallery Import Scripts Here you will find import scripts to help convert your existing gallery to PhotoPost vBGallery.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 10th, 2011, 01:25 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
[very Beta] Import vB4 Albums to vBGallery 3

This is only experimental and has not been tested on big sites.
AND it is very BETA... so if you use it, you are automatically a beta-tester

What it should do:
It should import the users album pics to vbgallery.
It will import them to the category you choose. If you want to keep them assigned to a member, you must import them to an existing member category.

What it will NOT do:
It will not import the album titles and album names...
So if for example you have user Luciano with 5 different albums with 10 pictures each, and you import those to a "Member category" it will import the 50 pictures that User Luciano had in vbulletin to user "Luciano's" gallery in vbgallery. He will then have to organize them himself.

(there is a reason for not importing the albums as categories: Imagine you have 5000 users with 10 albums each, that would create 50,000 categories in vbgallery. I do not think that the category cache will support that many. vBGallery is just a different concept.)

-----------------

HOW do you use the Importer?
First above ALL, read the instruction carefully. AND then only follow these 5 steps.

First copy the file albumexport.php (in attached zip file)to your admincp folder
then call the file in your browser (making sure you are logged in)

STEP 1
Follow the instructions:
select a category (try your member category, or any other).
select import images and hit continue...
It will go through all your Album pics and start importing...

STEP 2
You will not see any images yet, as only the main image was imported.
go to admincp => vbgallery and select maintenance.
Here it is very important you follow the order of actions to take:
  • A. scroll to Rebuild Image Sizes select thumbnails and the category you imported to! and rebuild.

    once your done...
  • B. go back to maintenance and Rebuild Image Sizes select normal images and the category you imported to! (Make shure you select the category again, because it jumps back to ALL images and rebuilding all of them can take days!!!)
  • C. do the same a third time selecting Original images. This can be very quick, as it will only process images that are bigger than the size you specified. (Do this only if you have selected "Keep Originals" in your vbgallery settings. here again... DONT FORGET TO SELECT THE CATEGORY YOU IMPORTED TO)

If you do NOT have comments enabled for picture comments in vbbulletin, you are done. skip to step 5.

If you have comments enabled and you want to import them also
do the following:
STEP 3:
Go back to the importer and select import comments
this should import all the image comments of your imported images...

Dont worry of there are strange amounts of images processed on each page..
It imports about 10 images per page, but some images can have 100 comments and others only 1, so the amount of comments displayed in the importer output can vary from page to page...

Once your done, go to an image and verify if you are satisfied with the output.
If no, you can allways delete all the imported comments. do some adjustments and import again.

If yes you proceed to:
STEP 4:
Select Finalize in the Importer and hit continue.
This will remove the tables that have been created to allow undo..
So after you hit finalize, no more undo is possible.

Finally you move to:
STEP 5:

You go back to acp->vbgallery->maintenance and you update all counters. category, image, etc.. etc..
I am not really sure if all are needed but certainly users and category to update imagecounts.

Thats it..

As I said its very straight forward, and basic. But importing those images is only done once.
btw, Make sure you turn the useralbums off afterwards in vbulletin.

ATTENTION: Backup all your data before importing...
THIS IS BETA, NOT REALLY TESTED ON BIG SITES.. (but it has an undo.. )

Luc
Attached Images
File Type: gif albumexport.gif (47.1 KB, 19 views)
Attached Files
File Type: zip albumexport.zip (10.6 KB, 23 views)

Last edited by Luciano; January 10th, 2011 at 01:30 PM.
Luciano is offline   Reply With Quote
Old April 29th, 2011, 09:44 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Quote:
Originally Posted by Luciano View Post
Once your done, go to an image and verify if you are satisfied with the output.
If no, you can allways delete all the imported comments. do some adjustments and import again.
Does anyone have suggestions on how to make adjustments for the comment import portion?

The comments are not being paired with the correct images for me.
ihstiv is offline   Reply With Quote
Old April 30th, 2011, 10:33 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2011
Posts: 4
Same here, comments are not paired with the correct images.
davidweb is offline   Reply With Quote
Old May 2nd, 2011, 04:05 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
I should add that I'm using vbulletin 4.13 and vbgallery 3.01.
ihstiv is offline   Reply With Quote
Old May 3rd, 2011, 11:00 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
I'm happy to pay for support if anyone feels they can assist w/ this comment import issue. Thanks
ihstiv is offline   Reply With Quote
Old May 3rd, 2011, 12:17 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Well the real issue here is there is no official support for this script. This is something Luciano has posted for users to try but its really a very alpha not even beta script. It is experimental and it may or may not work for you. He has not posted any updates for this script so its released as is.

We can provide product support for vbGallery but not issues resulting from this script.

You can PM him and see if he has any ideas that may assist you.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 3rd, 2011, 01:27 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Thanks Chuck - I've pm'd Luciano.
ihstiv is offline   Reply With Quote
Old May 3rd, 2011, 01:29 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Glad to assist
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 5th, 2011, 08:49 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
By the way I just tried this importer on someones site works fine there. However as the importer notes you can not import comments after you have hit finalize import so maybe thats the issue some are having here.

I would suggest one would clear any previous import and start fresh but thats just my opinion.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 5th, 2011, 10:26 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Thanks for checking it out Chuck.

The albumexport.php script does a great job of importing all of the images and comments from my vb4 user albums into vbgallery. the issue is that the comments are not paired with the same (correct) images in vbgallery as they are in the vbulletin source albums.

I have a testing environment and I've tried the import several times with various configurations, but no luck yet. I'm wondering if there is an adjustment I can make in the script that will change which image id the comments are attached to?
ihstiv is offline   Reply With Quote
Old May 5th, 2011, 10:58 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
I am unaware of any way to repair comments on photos because like I said vbgallery is working with the information imported.

If indeed there is an issue with the photo id with import on comments that's a problem with this script not the gallery which is why there is no support since this is essentially a user released script which means that user would need to assist. Our company does not release this as a supported script.

There very well be an issue with this script and pairing it up with photos but someone would have to see what Luciano says about his script if he is even providing support of anykind.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 5th, 2011, 11:13 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Thanks - I'll keep investigating on my own with the hope that Luciano will chime in at some point. It looks like he hasn't been posting for a while so maybe he's on vacation or working on something else these days.
ihstiv is offline   Reply With Quote
Old May 5th, 2011, 05:06 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Yeah people do get busy in life. Try having my life. LOL Supporting our products takes alot of my time then have to squeeze in time for some product development and then I have 5 kids running around at home from ages 21-5.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 5th, 2011, 05:09 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
I hear you - I have two toddlers at home as well.. it makes everything more complicated, but also more wonderful.. I'm making some progress on a solution for this. I'll post my findings if I get it working.
ihstiv is offline   Reply With Quote
Old May 8th, 2011, 10:41 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
It appears that a portion (about 30%) of the comments are not being imported at all, and the number that are not imported roughly equals the displacement in the mismatching of comment to image.

When I look at the number of rows in the corresponding tables via PHPmyadmin vbgallery is less than vbulletin.

Now I just have to figure out why, and how to fix..
ihstiv is offline   Reply With Quote
Old May 8th, 2011, 10:59 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Well if Luciano chooses to support this I assume he would post here or contact you.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 8th, 2011, 11:05 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 58
Thanks Chuck. I'm just tracking my progress here for others who may be in the same boat. let me know if you'd prefer I didn't. Cheers
ihstiv is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I import all albums images already uploaded in vB4 ferdinand Before You Buy 11 January 12th, 2011 12:26 AM
Bluepearl vB4.0.3 and vBgallery 3.0 beta Griffin80 Show off your PhotoPost site! 2 April 15th, 2010 05:12 PM
PhotoPost 7 BETA 3 Available! With vB4 support! Michael P PhotoPost Announcements 1 November 24th, 2009 06:29 PM


All times are GMT -5. The time now is 11:41 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0