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 > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 27th, 2005, 11:53 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Changing Usernames For Photos

Is there an easy way of changing wrong usernames to photos that do not match up to correct usernames? I see the feature in EDIT photo, but this is one at a time, I am hoping there is a bulk action somewhere or maybe an edit in code, possibly even a hack or script.

I just did an import from Coppermine and my photos have made it, but the usernames are all wrong.
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 05:29 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Well that depends on how you had coppermine setup.

Coppermine importer is written for a coppermine to photopost import. You integrated photopost with vb3. There are alot of variables to consider if you like say for instance had coppermine as an internal install and then install to a photopost with vb3. So in the end it all depends on how far you where from the way the importer was written for.

Here is a script you can run to reassign usernames based off your vb3 userid's
Attached Files
File Type: txt rename.txt (2.7 KB, 10 views)
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 09:10 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
As always...thanks for the insight. Where would I put this script? and how does it work, I dont see nay documentation attached?
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 09:17 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
save it as rename.php place it whereever and open it up fill in the proper information to connect to vb and photopost. save and run this
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 09:58 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
Placed the renamed file in my photopost directory, changed the fields and then saved and tried to run rename.php in my browser and couldnt be found. I plaed with the prefixes a bit to no avail. I know my photopost is pp_, but unsure of my vbulletin, my phpadmin shows no prefix for vbulletin.
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 10:04 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Okay then you would have no prefix

what could not be found?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 05:35 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
The rename.php script would not run in my broser, page could not be found.
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 05:40 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
ah I know what the issue is LOL rename it to import.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 07:50 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Ok,
So I have the import screen and I see the USERNAMES and THE USER ID's do I simply change them? Lets say I am (1) and number (8) has my photos, do I cahnge myself to (8) and him to (1) That does not seem right. Chuck, can you elaborate on this script?
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 07:59 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
The script will automatically give you a link to click and it updates the comments and photos with the vb username for the userid.

It should already have ran now
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; June 28th, 2005 at 08:02 PM.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 08:19 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Nope,
The posters of the photos are all wrong. Like I said above USER ID (8) has my photos, but I am USER ID (1)
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 08:27 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
well given the way coppermine was imported into photopost but your integrating with vb maybe your userid's dont match but the issue here is there is not really a script for this.

The script I posted here is one I use for people who import phpbb to vb3 and then you need to rewrite userid's

However if your coppermine id and names are different than the forum the only suggestion I would have at this point is to use phpmyadmin and do a sql query to update the userid say =1 where its 8 in photos and comments etc

UPDATE photos SET userid='1' WHERE userid='8'

Its not an easy task for sure
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 10:11 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
Thanks, I was looking at PHPMYADMIN and did some sniffing around and found where to change this info but I didnt want to mess with it untill a confirm from you. As always I appreciate your support and help. I will let you know how I made out.
TEAMBAJAMARINE is offline   Reply With Quote
Old June 28th, 2005, 10:13 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Okay well you will have to let me know in 9 days as I am flying to the carribean in the morning
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 28th, 2005, 10:47 PM   #15 (permalink)
mjm
Ultimate Member
Verified Customer
 
Join Date: May 2002
Posts: 1,066
Quote:
Originally Posted by omegatron
... I am flying to the carribean in the morning
I hope this is for a well deserved vacation!
The time you've spent away from the support desk in your tenure here can probably be measured in hours vs days.
Man! you've got some stamina to put up with us!

Go have some fun, relax, chill out, we'll be counting the days till you return!

Mark
mjm is offline   Reply With Quote
Old June 28th, 2005, 10:54 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Enjoy your trip Chuck!
TEAMBAJAMARINE is offline   Reply With Quote
Old June 29th, 2005, 05:02 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Thanks I am planning on relaxing
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing ownership of photos in Category? Dave Dugal Photopost Pro Installation & Upgrades 6 October 18th, 2006 11:13 AM
Wrong Usernames??? kvnband Photopost Pro Installation & Upgrades 6 January 5th, 2005 11:23 PM
Have special usernames stick out? sbdiva General Discussion 1 June 22nd, 2004 10:38 AM


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

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