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 November 30th, 2005, 12:59 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2002
Posts: 6
Upgrading: ubb.Threads --> vBulletin

Hey guys,

I've been running PhotoPost 3.2 (Old, I know) with ubb.threads as my forum for a few years now. I recently upgraded my forums to vBulletin and am now wanting to upgrade my PhotoPost to the latest version so I can have the compatibility and full integration with vB 3.5.

What process should I do to ensure that all of my data/photos from my current (3.2) PhotoPost doesn't get lost while upgrading to the new PP? Thanks in advance for the suggestions.

Jeff
CustomTacos.com
jeffro88 is offline   Reply With Quote
Old November 30th, 2005, 01:12 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Okay here is the steps needed.

1 Upgrade your photopost first to the latest version.

a. you have not stated whether you already switched photopost to use vb3 integration??

Basically you edit your config file with the proper vbulletin database info and vb license number. You can use phpmyadmin to view the settings table setting 41 and 83 to input vb3 as your integration type and input if used the proper table prefix for vbulletin and clear your w3t_ out of there. You then in phpmyadmin delete all other usergroups in the usergroup table except admin which you change the groupid from 1 to 6 which represents the vb admin. This will give you admin access where you can reimport the vb usergroups

Then go on to step 2

2. After upgrading Photopost to the latest version and successfully integrating it with vb3 you would need to run this script to realign the userid
s as the vb impex importer changes userid's for users on import

Reassign userid's when switching integrations to VBulletin
__________________
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 November 30th, 2005, 03:19 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2002
Posts: 6
Quote:
Originally Posted by Chuck S
Okay here is the steps needed.

a. you have not stated whether you already switched photopost to use vb3 integration??
No, I haven't switched anything in Photopost yet. Been kinda scared to do so.

Thanks for taking the time to explain that so thoroughly. I'll give it a shot in the next few days. Seems pretty straight forward, but I'll definitely back everything up before I start.

Thanks again!

Jeff
jeffro88 is offline   Reply With Quote
Old December 21st, 2005, 02:46 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
Quote:
Originally Posted by Chuck S
Then go on to step 2

2. After upgrading Photopost to the latest version and successfully integrating it with vb3 you would need to run this script to realign the userid
s as the vb impex importer changes userid's for users on import

Reassign userid's when switching integrations to VBulletin
That was just what I was looking for. Does it work for Classifieds 2.42? Would be great if it does.

Thanks
S
steffonator is offline   Reply With Quote
Old December 21st, 2005, 03:22 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
well you need to change the script as far as the table it updates as it updates the photos table. In classifieds it is the products table
__________________
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 December 21st, 2005, 05:48 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
Doesn't work for me, my httpd error log is filled with this

[Wed Dec 21 23:40:02 2005] [error] PHP Notice: Undefined variable: action in /home/html/se.surfzone/public_html/pp/import.php on line 85
[Wed Dec 21 23:40:02 2005] [error] PHP Notice: Undefined variable: action in /home/html/se.surfzone/public_html/pp/import.php on line 17
[Wed Dec 21 23:40:02 2005] [error] PHP Notice: Undefined variable: action in /home/html/se.surfzone/public_html/pp/import.php on line 19
[Wed Dec 21 23:40:02 2005] [error] PHP Notice: Undefined variable: action in /home/html/se.surfzone/public_html/pp/import.php on line 52
[Wed Dec 21 23:40:02 2005] [error] PHP Notice: Undefined variable: action in /home/html/se.surfzone/public_html/pp/import.php on line 85
steffonator is offline   Reply With Quote
Old December 21st, 2005, 09:10 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
It was written for photopost. I am merely stating the difference would be to alter the photos query to products
__________________
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 December 23rd, 2005, 07:14 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
I get those errors when I try with PhotoPost.
steffonator is offline   Reply With Quote
Old December 23rd, 2005, 07:41 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
When you run the script does anything happen? We are talking this one right

Reassign userid's when switching integrations to VBulletin

As long as you fill in the proper database info for vb and photopost your userid's will be updated in photopost. Many people have used this script with no issue.

You will see on screen like this

importing(blah)importing(test)importing(fuzzy) and so on
__________________
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; December 23rd, 2005 at 07:45 AM.
Chuck S is online now   Reply With Quote
Old December 26th, 2005, 04:32 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
That is the one I'am using. The script is doing something but no output on screen. I pull the header from vB, can that be a problem?
steffonator is offline   Reply With Quote
Old December 26th, 2005, 04:57 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
I have updated the script to use a database other than localhost.
PP and vB uses the same database.

$vb_db = "cust_steffo_vb351";
$photopost_db = "cust_steffo_vb351";
$host = "db.webbplatsen.se";
mysql_connect($host,$vb_user,$vb_pass);
steffonator is offline   Reply With Quote
Old December 26th, 2005, 05:27 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
You need to fill out the database info on both parts. This script doesnt call any vb header
__________________
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 December 27th, 2005, 04:33 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
Of course

// Vbulletin database information goes here
$vb_db = "cust_steffo_vb351";
$vb_user = "steffo_user";
$vb_pass = "somepwd";
$vb_prefix="vb_";
$host = "db.webbplatsen.se";

// Photopost database information goes here
$photopost_db = "cust_steffo_vb351";
$photopost_user = "steffo_user";
$photopost_pass = "somepwd";
$pp_prefix = "pp_";

The url changes to http://someurl/import.php?action=update_comments

Last edited by steffonator; December 27th, 2005 at 04:38 AM.
steffonator is offline   Reply With Quote
Old December 27th, 2005, 08:44 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Right and you should see some printing on screen?

Can't really say anything more since you edited the file. The hack that I included was written only for localhost which means if you had to place a $host statement make sure you replaced localhost twice in that file
__________________
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 December 27th, 2005, 10:27 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
I moved the database to another server to be able to use localhost but no change. Can it be something with the javascript. The load on my PC goes up about 30%
steffonator is offline   Reply With Quote
Old December 27th, 2005, 10:37 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
The java is simply a forward page command to refresh and do the next page

It is a simple connection to a database to grab userid's based on username and reset all userid's on the photopost tables after you switch integration to vb.

Let me take a stab here. You have register globals off on your server. Try adding this to the top of the file

$action = $_GET['action'];
__________________
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 December 28th, 2005, 03:20 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
Thanks, that was it. I will try to do the same for ppc later.
steffonator is offline   Reply With Quote
Old January 5th, 2006, 03:53 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
I'am not able to make this to work with Classifieds.
The comments are ok but the rest isn't.
Can you help me?
steffonator is offline   Reply With Quote
Old January 5th, 2006, 04:44 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Sorry it is not written for classifieds and will not work since the userid is needed on the files. This is why it says this script is only for photopost 5

Basically if you switch integrations you might need to write a script to check your old forum users table and make the new forum user table userid the same as the old one.
__________________
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 January 5th, 2006, 04:52 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Aug 2004
Posts: 77
Ok, well the classifieds section will heal over time
steffonator 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switched From UBB Threads v6.5 to vBulletin v3.5 (Need Help) smokn28 Photopost Pro Installation & Upgrades 20 October 1st, 2005 09:37 AM
UBB Threads and Photopost Classifieds Basil Before You Buy 3 May 25th, 2005 09:45 PM
Upgrading to 5.02 with UBB.Threads issue Medar Photopost Pro Installation & Upgrades 2 March 30th, 2005 03:15 PM
From ubb.threads to vBulletin MacGeneration ReviewPost Installation & Upgrades 7 June 21st, 2004 11:11 AM


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

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