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 November 17th, 2005, 11:02 PM   #1 (permalink)
Member
 
Join Date: Oct 2005
Posts: 152
Send a message via Yahoo to shadowdancer36
VB integration

I was reading your post and I ran into a little snag. Here you have:

Quote:
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');
What do you do if you have your photopost installed in another directory? Mine is installed into www.site.com/gallery and VB is in www.site.com/forum


I'm an idiot when it comes to programming, but is it some sorta path command so that i can say /gallery instead of ./gallery?


Last but not least, once intergrated how do I add the option to add a link to the photo gallery in the top navigation?
shadowdancer36 is offline   Reply With Quote
Old November 18th, 2005, 01:17 AM   #2 (permalink)
Member
Verified Customer
 
Crow's Avatar
 
Join Date: Dec 2003
Location: Michigan. USA
Posts: 201
You'd just need to change the photopost to where ever your gallery is..

include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');

To

include('./gallery/inc_features.php');
include('./gallery/inc_photopost.php');

if its located in www.domain.com/gallery/
Some servers might need to full path to it, Meaning something like this might be needed, Check your host for your dir path

include('/www/htdocs/domain/gallery/inc_features.php');
include('/www/htdocs/domain/gallery/inc_photopost.php');

Mine needs the full path like above...

As for the link in the nav bar, you'll need to login to your Admincp for the forums then goto the style & templates section and find the Navigation / breadcrumb templates. Then open the navbar template and find :
Code:
Content visible to verified customers only.
And add :

Code:
Content visible to verified customers only.
Changing www.domain.com with your domain name..
__________________
Harley-Davidson Community!
Crow is offline   Reply With Quote
Old November 18th, 2005, 10:51 AM   #3 (permalink)
Member
 
Join Date: Oct 2005
Posts: 152
Send a message via Yahoo to shadowdancer36
Unhappy

Quote:
Originally Posted by Crowsworld
You'd just need to change the photopost to where ever your gallery is..

include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');

To

include('./gallery/inc_features.php');
include('./gallery/inc_photopost.php');

if its located in www.domain.com/gallery/
Some servers might need to full path to it, Meaning something like this might be needed, Check your host for your dir path

include('/www/htdocs/domain/gallery/inc_features.php');
include('/www/htdocs/domain/gallery/inc_photopost.php');

Mine needs the full path like above...
Well I tired the
Code:
Content visible to verified customers only.
With no luck. I also tried using the full path:

Code:
Content visible to verified customers only.
It produced this error at the top of the screen:
Code:
Content visible to verified customers only.
Not sure what that means exactly, I'm new to this PHP stuff.
Any other suggestions? Oh, thanks for the Nav info. I'm bout to try that out right now.
shadowdancer36 is offline   Reply With Quote
Old November 19th, 2005, 05:59 AM   #4 (permalink)
Member
 
Join Date: Oct 2005
Posts: 152
Send a message via Yahoo to shadowdancer36
Okay after staying up all nite, I looked at things more logically.

Just to recap, the forum is located: www.mysite.com/forum

photopost is located: www.mysite.com/gallery

The command I supposed to insert was:

Code:
Content visible to verified customers only.
This time I put:

Code:
Content visible to verified customers only.
Basically telling it to exit the forum directory, then go into the photopost directory and find those two files. Now after all that crap, this is the error I get:

Code:
Content visible to verified customers only.
So now what? Chuck u have any ideas?
shadowdancer36 is offline   Reply With Quote
Old November 19th, 2005, 10:35 AM   #5 (permalink)
Member
Verified Customer
 
Crow's Avatar
 
Join Date: Dec 2003
Location: Michigan. USA
Posts: 201
Is the database prefix set-up right for both the forums and gallery?

double check the config-int.php file in your gallery for $pp_db_prefix = "";
make sure its set to that you used during install
i.e.
Code:
Content visible to verified customers only.
__________________
Harley-Davidson Community!
Crow is offline   Reply With Quote
Old November 19th, 2005, 10:42 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
two things

Make sure you have your table prefix for photopost entered in the integration settings in admin

If your forum and gallery are in separate databases you need to follow the instructions and uncomment and fill out the link statement select database statements accordingly

PhotoPost Enhanced vB3 Index Integration
__________________
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 19th, 2005, 04:07 PM   #7 (permalink)
Member
 
Join Date: Oct 2005
Posts: 152
Send a message via Yahoo to shadowdancer36
Quote:
Originally Posted by Crowsworld
Is the database prefix set-up right for both the forums and gallery?

double check the config-int.php file in your gallery for $pp_db_prefix = "";
make sure its set to that you used during install
i.e.
Code:
Content visible to verified customers only.
Yes it's the same....Correct me if I'm wrong.

For Photopost:

Code:
Content visible to verified customers only.
For Vbull:

Code:
Content visible to verified customers only.
If this is correct, anything else you can suggest?
shadowdancer36 is offline   Reply With Quote
Old November 19th, 2005, 04:14 PM   #8 (permalink)
Member
 
Join Date: Oct 2005
Posts: 152
Send a message via Yahoo to shadowdancer36
Quote:
Originally Posted by Chuck S
two things

Make sure you have your table prefix for photopost entered in the integration settings in admin

If your forum and gallery are in separate databases you need to follow the instructions and uncomment and fill out the link statement select database statements accordingly

PhotoPost Enhanced vB3 Index Integration
They using the same database, they also pointing to 'pmc_' as the prefix.
One thing I noticed in the code... One uses double quotes, and the other single. I thought in php they operate the same. Or am I wrong? I'm slowly learning how to work with php.
shadowdancer36 is offline   Reply With Quote
Old November 19th, 2005, 04:25 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
No you would not set your photopost prefix to your vbulletin table prefix thats something different

$pp_db_prefix is your photopost table prefix
__________________
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 20th, 2005, 11:50 AM   #10 (permalink)
Member
 
Join Date: Oct 2005
Posts: 152
Send a message via Yahoo to shadowdancer36
Question

Quote:
Originally Posted by Chuck S
No you would not set your photopost prefix to your vbulletin table prefix thats something different

$pp_db_prefix is your photopost table prefix

So does it harm it to be "pmc_" ? It should still work right?

Everything looks like it want to be in working order, but check out this error:

Code:
Content visible to verified customers only.
What does all that mean?
shadowdancer36 is offline   Reply With Quote
Old November 20th, 2005, 07:09 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
If they are using the same database the only thing I can think is in edit integration settings you have not set your photopost prefix which is pp_ right?
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vB integration header/footer integration w/2.11 robferrari Classifieds Bug Reports 1 March 8th, 2005 09:37 AM


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

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