 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
April 28th, 2006, 12:45 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
| Using inc_features.php on different domain same server?
Hi,
I am trying to use inc_features.php to display random pictures on a DIFFERENT domain than the pp install. The inc_features.php works great with vBulletin on its own domain but cannot get it to work on a different domain. The other domain is on the same server and is using vBulletin as well.
Any help would be appreciated!
Thanks
|
| |
April 28th, 2006, 09:46 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
What do you mean it won't work? Should work fine that I see. You would need to post any errors here so I can assist.
|
| |
April 28th, 2006, 10:33 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
well, http://www.sinodefenceforum.com < see the error on top left
using this:
include('http://www.defencetalk.com/pictures/inc_features2.php');
Whats wrong?
Last edited by DefenceTalk.com; April 28th, 2006 at 10:40 AM.
|
| |
April 28th, 2006, 10:43 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
thats says it all
Could not select photopost database
The paragraph in bold should help you out PhotoPost Enhanced vB3 Index Integration |
| |
April 28th, 2006, 10:45 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
It should be vbulletin database of the site that im trying to put the featured photos on or the one that is integrated with PP?
|
| |
April 28th, 2006, 12:32 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
Can't get this to work... tried using the inc_features that is being used here, no error but no pics either. Also, tried changing the forum info to the OTHER domain but that gives error...
|
| |
April 28th, 2006, 12:34 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
You would need to uncomment the $link and mysql select db statements and fill in the proper info to connect to photopost and then at the bottom of the file the database to the correct database.
If the server info for mysql and paths are all on the same server there should be no issues here.
|
| |
April 28th, 2006, 12:43 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
Well, at the bottom what should be the "correct" database? The one that Photopost is integrated with OR the one on the OTHER domain?
I changed the info from the old inc_features.php to inc_features2.php and inserted database information for the vbulletin installed on the other domain.
|
| |
April 28th, 2006, 04:37 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
The top would be the photopost info and the bottom would be the vbulletin info of the vbulletin forum your integrating this with.
|
| |
April 28th, 2006, 04:47 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
So database names like pp is user1.com domain is like USER1_ppdatabasename and vBulletin in USER1_databasename but it changes on other domain:
user2.com is user2_databasename for vbulletin but im trying to pull the pics from USER1_ppdatabasename
Would that really work? I tried everything. |
| |
April 28th, 2006, 05:15 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Okay let's go through this again.
You can use this on separate domains if the programs are on the same server and mysql is on the same server. These are the parameters.
Therefore if those requirements are met then simply place the proper routines where they are needed. Fill out the $link and mysql select db lines with the proper info to connect to Photopost database in inc_features2.php. Then at the bottom place the forum database information to connect to the vb forum the include is being shown on so vb can continue on with its stuff |
| |
April 28th, 2006, 05:35 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
Okay, I will give it another try. Sorry about the confusion.
Thanks!
|
| |
April 28th, 2006, 05:51 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
No confusion at all.
As long as it is being used as stated and everything is accessible it should work fine. Just post any exact error here and I can assist. The one error you did post I responded to and we are trying to move forward from there.
|
| |
April 28th, 2006, 07:30 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 393
|
Thanks Chuck!
Apparently, I was inserting information for the vbulletin that is installed on the OTHER domain rather than username and password for the PP database it self....  So, see link posted above to see it fixed.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:45 PM. | |