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 May 2nd, 2005, 05:55 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2001
Posts: 94
vb3 to phpbb integration.

I was in the process of upgrading very old versions of vb (2 -> 3), PP and vbportal when I realized I really don't like vbportal and everything is coming up for renewal soon. So I decided to migrate to a phpbb2 setup instead, and thus far, I've got everything working right. All I'm missing is admin access in PP. All my photos are there and under the right users. PP recognizes me as the admin user, but doesn't let me into the admin panel.

I upgraded VB first, then Photopost, then converted my vb3 database to a phpbb installation and modified the PP database and config files to use the new phpbb database instead. I just need admin access and I'm set. Any ideas? Is there a debug mode I can put it in? The error I get when I try to access the admin panel is "You are not a valid administrator or moderator!".
taveren is offline   Reply With Quote
Old May 2nd, 2005, 06:08 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Make sure your cookie settings are matched vb by default has a bb cookie prefix and to input the vblicense number into the photopost config

That should get ya set
__________________
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 2nd, 2005, 06:28 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2001
Posts: 94
Do you get tired of saying that?

I no longer wish to use vb, and am trying to migrate to phpbb2. I assume I don't need the licence, and my cookie prefix is set to phpbb2mysql.
taveren is offline   Reply With Quote
Old May 2nd, 2005, 08:16 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
LOL yes your backwards here.

Okay well make sure usergroups are synced and cookie settings are exactly the same

Remember in VB the admin user is usergroup 6 but in phpbb its 2 so you need to use phpmyadmin and resync those a little
__________________
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 2nd, 2005, 09:23 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2001
Posts: 94
Alright, I have some searching to do I guess. The conversion from vb3 to phpbb2 creates some new groups. Can you point me to the correct tables please? I believe PP's "usergroups" is what I want, but phpbb's tables are stumping me a bit. There's phpbb_groups, _users, _user_group... What do I need to change?
taveren is offline   Reply With Quote
Old May 3rd, 2005, 08:06 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
What you need to do is this

In photopost usergroups table delete all entries except 6 Administrators. Change the groupid from 6 to 2

Then in your phpbb2.php file correct a small bug I posted and then you can login as admin and import your phpbb groups into photopost. Lines 486-495 there are // in front of these lines remove them

$query = array();
$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('1','Anonymous','','','','','','',0,0,0,0,0,0)";
$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('2','Admin',1,1,1,'','','',1,1,1,1,0,1)";
$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('3','Regular Users','',1,1,'','','',1,1,0,1,0,0)";

for ( $x=0; $x < count($query); $x++) {
$iquery = $query[$x];
$setup = mysql_query($iquery, $link);
if ( !$setup ) print "<b>Error: ".mysql_error()."</b><br />";
}
__________________
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, 2005, 04:36 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2001
Posts: 94
Great! This worked perfectly for me. I now have an admin panel and all my photos appear to be set right. Now to hack up some portals to suit my needs. Thanks.
taveren 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
phpBB integration rogoff Photopost Pro Installation & Upgrades 1 July 22nd, 2005 02:00 PM
Phpbb --> Olympus integration PP VnxDragon Photopost Pro How Do I...? 1 February 27th, 2005 09:18 PM
Integration with phpBB 2.0.6 bebek ReviewPost Installation & Upgrades 4 November 28th, 2004 02:19 PM
reviewpost and phpbb 2.0.6 integration miriam22 Before You Buy 1 August 3rd, 2004 02:05 PM


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

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