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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 8th, 2005, 10:26 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
PhotoPost and phpBB

I have read through many threads about phpBB but can't get my hands around the basic integration instructions. Everything I read implies the phpBB is installed at the time I am installing PhotoPost but my situation is the opposite so I am trying to determine if I can change a parameter somewhere or if I need to go through installation steps again.

I have PhotoPost 4.8.1 installed and am a happy user.
I then installed phpBB 2.0.10, I believe successfully.

I am not after a tight integration where the two products are merged. I want to keep them as two separate entities on my site. My sole objective is one sign on, a shared user database.

If someone comes to my site and wants to just use the photo album they sign on there. If they want to just use the forum they sign on there. But in any case if they move on to the other php product (while in the same session) they are not asked to sign on again, but are recognized as already signed on.

I am a novice at php but would appreciate someone pointing me to the write variables to change to pull this off.

Thank you.
CEDillard is offline   Reply With Quote
Old February 8th, 2005, 10:44 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Well if you switch to phpbb all your photos and such will belong to other users or nobody since you did not do it first.

To make it work right you would need to write an import script to import the users from photopost into phpbb then you need to edit the config file and point to the phpbb database where it asks for forum database info and in admin section choose phpbb2 as the integration and also put the table prefix in the forum options as well and lastly realign cookies
__________________
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 February 9th, 2005, 11:13 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
Thanks.
I only have about 25 registered users in PhotoPost. I will manually set them up in phpBB and then follow your steps. Does that sound reasonable?
CEDillard is offline   Reply With Quote
Old February 9th, 2005, 11:16 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Yep totally doable
__________________
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 February 23rd, 2005, 08:18 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
As you are aware, I had trouble linking the two programs, incorrectly putting in the User Registration System as phpBB and not phpBB2.
I edited the settings database and changed the Registration system to phpBB2 but continued to blow up.
I went back in and changed phpBB2 back to the original photopost and things work (but of course the two user files are not shared)
The only other setting I changed was the forum main directory:
I changed it from the default of http://www.domain.com/forum to the actual location http://www.mysite.com/phpbb but I do not see an error in what I keyed there.
So I am back to square one.
Any suggestions?
Thank you.
CEDillard is offline   Reply With Quote
Old February 23rd, 2005, 08:26 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
The error message I get if I leave the Registration System set to phpBB2 is:

MySQL error reported!

Script: adm-options

Query: SELECT users.user_id,users.username,users.user_email,users.user_password,users.user_level,users.user_timezone,themes.template_name FROM users LEFT JOIN themes ON users.user_style = themes.themes_id WHERE user_id='-1'

Result: Table 'fdralumn_photos.users' doesn't exist

Database handle: Resource id #6
CEDillard is offline   Reply With Quote
Old February 23rd, 2005, 09:41 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
You did not set the user database to that of your phpbb database
__________________
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 February 25th, 2005, 09:37 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
I changed my user database name and user database user to point to the phpbb system. But I continue to get the error message and can no longer access the config screen to change things back.
I can change the Registration System back to photopost by manually updating the settings table but I cannot find the user database name and user database user values in the settings table (nor any other that I looked through) so I cannot get back to my original settings. Where do I find these user database settings?
Thanks
CEDillard is offline   Reply With Quote
Old February 25th, 2005, 09:41 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 34
Do you have access to your database via phpmyadmin? I believe the settings are in pp_settings in the tables directory of your phpmyadmin.
digitaldingus is offline   Reply With Quote
Old February 25th, 2005, 09:58 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
yes, that is how I am accessing the table to change the setting on Registration System from phpbb2 back to photopost. But I have paged through (and printed off) 164 settings and I don't see one that references the user database.

I also notice that there is a field in the config for the photopost database prefix (pp) and that this shows before every field name. But I do not see a place for the forum database prefix (in my case phpbb) and since my database name (forum) is different from the prefix (phpbb) I am wondering if that is causing any problem.
CEDillard is offline   Reply With Quote
Old February 26th, 2005, 12:06 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 34
Yes, it is. I just kept the same database in my situation. As long as you have a "pp_" prefix on the tables, there shouldn't be any problems using the same database. Omegatran knows much more than I do, but unless a forum is absolutely huge (5,000+ members who are active), keeping the same database for both PhotoPost and phpbb2 shouldn't be a problem, and should actually be quicker running since you don't have two different databases continually running.

Of course, I should warn you, this is just my experience, so your particular forums may need a separate database. In my case, I have only 80 members currently, but expect it to grow significantly since the addition of an image gallery and hosting option.
digitaldingus is offline   Reply With Quote
Old February 26th, 2005, 07:43 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
CEDillard

You also need to set your forum table prefix setting line 83 in the photopost settings table to phpbb_
__________________
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 February 26th, 2005, 09:04 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
OK, that looked like the piece I was missing. But when I put in my prefix, phpBB I got the following error message:
Result: Table 'fdralumn_forum.phpbbusers' doesn't exist
That looked like I needed a seperator after the phpbb so I changed my prefix to phpbb. to see what would happen and I get the following:
Result: Access denied for user: 'fdralumn_forum@localhost' to database 'phpbb'
Database handle: Resource id #7

This made me think I had hit the right database but had a authority problem but I am just accessing index.php...

I feel like I am CLOSE. Any other suggestions?

thanks
CEDillard is offline   Reply With Quote
Old February 26th, 2005, 09:06 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
You did not look close enough to what I wrote was the normal prefix above Look again

I wrote phpbb_
__________________
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 February 26th, 2005, 09:34 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Posts: 62
Talking

Thank you. That was it! What a week...but it appears I am there.
Thanks for your feedback.
CEDillard 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
Upgrade from PhotoPost 4.8.5 w/phpBB 2.0.18?? alma townsend Photopost Pro Installation & Upgrades 3 November 17th, 2005 12:28 PM
PHPBB and Photopost Cookies dmccuiston Photopost Pro Bug Reports 7 November 13th, 2005 12:36 PM
Migrate Photopost DB to phpBB petr55 Photopost Pro Installation & Upgrades 1 March 25th, 2005 11:09 PM
PHPBB and PHOTOPOST Damir P Photopost Pro How Do I...? 9 February 28th, 2005 10:30 AM
Photopost and PHPBB errors lakerszone Photopost Pro Installation & Upgrades 0 December 23rd, 2004 11:40 AM


All times are GMT -5. The time now is 04:02 AM.

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