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 December 29th, 2004, 02:22 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 27
Photopost v4.8.5 & vBulletin v3.0.3 Installation

I'd like to integrate all of Photopost's products, especially Photopost v4.8.5 with vBulletin v3.0.3, without running amok with all kinds of errors and problems that other users, myself included, are experiencing.

Since there are a lot of users asking the same kind of questions over and over concerning this subject, I think that the documentation is not explained quite clearly, i.e. the infamous PP_PATH error. The author assumes that everybody installs vBulletin at the root of the server while in reality, very few do.

Using my case as an illustration. I'd like to install both programs' databases separately (trying to keep everything simple).

MySQL Databases:
-------------------------------------------------
Photopost : mydomain_photo (dbprefix: pp_ )
vBulletin : mydomain_vbb (dbprefix: vb3_ )
--------------------------------------------------

Paths:
-------------------------------------------------
Photopost : /home/mydomain/public_html/photopost
vBulletin : /home/mydomain/public_html/vbulletin
--------------------------------------------------

URL Paths:
--------------------------------------------------
Photopost : http://www.mydomain.com/photopost
vBulletin : http://www.mydomain.com/vbulletin
--------------------------------------------------

Quote:
Assuming you have already configured your config-int.php file, you can modify the first section in inc_photopost.php and inc_features.php to customize your layout. Follow the instructions in the Configuration section for any options which you can set.

If you have PhotoPost and vB in different databases, you'll need to scroll to the bottom of the script and uncomment the mysql_select_db() command (on line 26) and insert your vB database name and uncomment the mysql_select_db on line 310 and add your vB3 database in quotes.
1.A/ In my case, should I uncomment (from the file inc_photopost.php) the mysql_select_db() command (line 26?), insert mydomain_vbb (where ?, which line #?), and uncomment the mysql_select_db on line 310 and add mydomain_vbb in quotes ?

Quote:
// If you have placed PhotoPost into a seperate database, you will need to
// uncomment these lines to connect to the PhotoPost database. It is suggested
// that you install PP into the same database as vB for better performance.
//
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
//
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
//mysql_select_db ("pp_database")or die("Could not select photopost database");
1.B./ What do I do with the file inc_features.php ? Need I edit something in this file, i.e. insert mydomain_vbb somewhere ?

Quote:
In your vB index.php file, you will need to add two lines under under these four:

// ######################### 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');
2.A./ Should I modify the 2 additions to something as shown below:
include('/home/mydomain/public_html/photopost/inc_features.php');
include('/home/mydomain/public_html/photopost/inc_photopost.php');

Quote:
In your vB templates, select Forum Home Templates and edit the FORUMHOME template.

To include the PhotoPost "features" box, add the variable $photopostfeature to your template:

$header
$navbar
$photopostfeature
In other words, log into my vBulletin board as ADMIN, open Style Manager (under Styles & Templates), select EDIT TEMPLATES from the All Style Options, double-click Forum Home Templates, double-click FORUMHOME, locate following code:
...
</head>
<body>
$header
$navbar
.....

and ADD below 3 lines:

<!--- start insert $photopostfeature below -->
$photopostfeature
<!--- end insert $photopostfeature -->

then, from the same template FORUMHOME, go down few lines, and locate following code:
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
...

and ADD below 5 lines:
<!--- start insert $photopostcats below -->
<br />
$photopostcats
<br />
<!--- end insert $photopostcats -->

so that, your modified template FORUMHOME would look like below:
...
</head>
<body>
$header
$navbar
<!--- start insert $photopostfeature below -->
$photopostfeature
<!--- end insert $photopostfeature -->
<!-- main -->
<!--- start insert $photopostcats below -->
<br />
$photopostcats
<br />
<!--- end insert $photopostcats -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
...

3.A./ Is my work done after I've completed all these tasks, assuming that I have entered info correctly into the file config-int.php ?

3.B./ Need I modify the header-inc.php file ?

3.C./ What's the difference between Data virtual path and Server path OR they're the same, i.e. /home/mydomain/public_html/photopost/data ?
Imajine is offline   Reply With Quote
Old December 31st, 2004, 07:22 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
1. yes you need to uncomment the database select and also the link line and make sure the proper information in the link statement as well.

2. yes

3. There should be no need to modify anything else. I dont know where your getting this term data virtual path. In your Photopost admin select edit integration and fill out the paths etc as needed.
__________________
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 December 31st, 2004, 12:32 PM   #3 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 27
Pictures Display in vBulletin 3.0.3

Thank you for your help and clarifications. PhotoPost got integrated nicely to vBulletin.

My next question deals with how to get the pictures displayed. Currently, they are listed vertically.

1./ I'd like the featured photos to be listed horizontally (valign=top) OR vertically on the right side of the forum.

2./ To have the pictures categories table listed (switched) at the bottom of the forum.
Imajine is offline   Reply With Quote
Old December 31st, 2004, 01:44 PM   #4 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 27
I just figured it out.

In the inc_features.php, I changed the lines from
Code:
Content visible to verified customers only.
to
Code:
Content visible to verified customers only.
Imajine is offline   Reply With Quote
Old January 1st, 2005, 08:47 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yes and that would display 5 photos in one row horizontal correct
__________________
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 30th, 2006, 10:17 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 8
Help...

I am new to changing code and I do not understand what you mean by "uncomment". I have changed the files and nothing is showing up.

Also, could I get more direct instructions for changing the header-inc file. When I changed it, it keeps trying to go to Photopost/profile.php. I get an error message stating that this file does not exist.

Also, in vb3.5 when I click on my avatar for more pics, it tries to send me to gallery.php. how do I change that to direct them to their photopost profile?

Thank you for your help,
Ella
daystorm is offline   Reply With Quote
Old May 30th, 2006, 10:37 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Hello

I think your posting to the wrong thread. Now if you have an issue trying to get the photo block on vbulletin forumhome this is the thread you want

http://www.photopost.com/forum/showthread.php?t=122207

I suggest if you have questions about vb 3.5 you visit there support forums or the hack thread of any hacks you have installed as there is no such file as gallery.php in our code.
__________________
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 June 21st, 2006, 02:27 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 8
I have moved this question to the 3.5.4 area...
daystorm 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
vBulletin & Photopost same users FreDy Photopost Pro How Do I...? 3 July 10th, 2005 05:31 PM
Problem with PhotoPost 5.12 & vBulletin 3 integration Doctor-Who Photopost Pro Installation & Upgrades 2 July 4th, 2005 08:05 AM
Photopost 4.8.6 & Vbulletin 3.0.6 Intergration LordVngr Photopost Pro Installation & Upgrades 1 January 26th, 2005 09:05 PM
Photopost v4.86 & vBulletin v3.0.3 Installation smgvbest Photopost Pro Installation & Upgrades 2 January 3rd, 2005 06:08 PM
Photopost & VBulletin on different Domains Marc Photopost Pro Installation & Upgrades 3 December 5th, 2004 06:34 PM


All times are GMT -5. The time now is 06:49 AM.

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