PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   vb Import copying over the same file names. (http://www.photopost.com/forum/photopost-pro-installation-upgrades/125699-vbulletin-import-copying-over-same-file-names.html)

Ghostsuit June 22nd, 2006 07:04 PM

vb Import copying over the same file names.
 
Ok found a few problem in the import script.

When it imports files it copys over files with the same filename.

With vbgallery this is fine as they are all in there own members folders however photopost users category 500 for members images. So if a couple of users have me.jpg uploaded we end up with the one me.jpg image for them all.

It's also not copying over folders that members have if they are in a members style it just drops all the images into the members folder.

Private gallerys don't get ported either.

Chuck S June 23rd, 2006 09:38 AM

well I would need to setup a test environment to relook at private albums but I see nothing wrong off the top of my head.

As far as image names try this replace function

Code:

Content visible to verified customers only.

Ghostsuit November 14th, 2006 08:19 PM

Only just got round to trying this and get this error

Parse error: syntax error, unexpected T_VARIABLE in /usr/home/websites/content/altnation.com/public_html/photos/vbag.php on line 687

Ghostsuit November 14th, 2006 08:32 PM

Having had a quick look I think the code should be
Code:

Content visible to verified customers only.
Though I'm still waiting on the file transfer to complete and that will take a couple of hours however it is running now.

Chuck S November 14th, 2006 09:17 PM

the script works as it is posted on our site and you may discuss this script in that thread

Ghostsuit November 14th, 2006 09:28 PM

Quote:

Originally Posted by Chuck S (Post 1179888)
the script works as it is posted on our site and you may discuss this script in that thread

Well it obviously doesn't work if I was having a problem before and you made suggestions to sort the problem.

vbgallery allows for duplicate filenames the way it stores files
Photopost doesn't allow for duplicate names the way it stores files

Your import script doesn't take that into account currently.

I'm just trying to help other people here who may encounter this problem in the future and I'm very sorry if this is a problem for you.


All times are GMT -5. The time now is 03:26 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97