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 April 28th, 2006, 12:45 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 393
Question 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
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com is offline   Reply With Quote
Old April 28th, 2006, 09:46 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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?
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...

Last edited by DefenceTalk.com; April 28th, 2006 at 10:40 AM.
DefenceTalk.com is offline   Reply With Quote
Old April 28th, 2006, 10:43 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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 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?
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com is offline   Reply With Quote
Old 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...
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com is offline   Reply With Quote
Old April 28th, 2006, 12:34 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com is offline   Reply With Quote
Old April 28th, 2006, 04:37 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com is offline   Reply With Quote
Old April 28th, 2006, 05:15 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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 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!
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com is offline   Reply With Quote
Old April 28th, 2006, 05:51 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
__________________
Enjoy!
Virtualization.net : Defence Talk : Sino Defence Forum : AutoTalk.com : : Pakistan Talk : more coming soon...
DefenceTalk.com 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
inc_photopost.php and inc_features.php flavoflav Photopost Pro Installation & Upgrades 2 April 5th, 2006 01:52 AM
inc_features.php help s2kinteg916 Photopost Pro How Do I...? 15 December 19th, 2005 12:41 PM
[HELP] Using domain name - problems - server address - no problem Mathiau Photopost Pro Installation & Upgrades 3 November 9th, 2005 02:13 PM
inc_features.php hendri Photopost Pro How Do I...? 2 May 26th, 2005 07:49 PM
Server Move from current domain to IP SaN-DeeP Photopost Pro Installation & Upgrades 8 January 6th, 2005 01:49 PM


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

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