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 January 7th, 2007, 09:31 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 9
Display the last pictures on vbulletin index.php

Hello, I like to ask how can I display the last published fotos in my vbulletin 3.6.4 forum startpage? I like to tease the visitors to open the photo gallery.
Thanks in advance.
familiabierstedt is offline   Reply With Quote
Old January 7th, 2007, 10:43 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
This thread should assist you

http://www.photopost.com/forum/showthread.php?t=122207
__________________
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 January 7th, 2007, 11:28 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 9
Chuck, thank you for your answer.

I am using two different data bases. One for photpost and one for vbulletin. Both are using same user table for registration.

My problems are:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/docs/*****/photopost/inc_features.php on line 67

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/docs/*****/photopost/inc_features.php on line 143

I have seen on your threads and answers that you recommend to install photopost into vbulletin database.

My question is: Is there still a possibilty that can I integrate

inc_photopost.php ("is used to integrate a gallery listing into your forums")
inc_features.php ("is used to add a "featured photos" box to your Main Index")

into vbulletin?

P.S. ***** = folder (deleted the name here in the tread)
familiabierstedt is offline   Reply With Quote
Old January 7th, 2007, 11:32 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 9
Sorry I just found following and I will try it.

1) 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. If your username password is different to connect to the databases then you will need to uncomment the $link statement and fill in the proper variables for the host username and password to access the photopost database
familiabierstedt is offline   Reply With Quote
Old January 7th, 2007, 12:08 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 9
I changed some parameter but itīs still not working

I changed in_features.php as followed

// 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 ("myhost", "$Databasephoto", "$Passwordphoto") or die('I cannot connect to the database.');

mysql_select_db ("Databasphoto")or die("Could not select photopost database");

// If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database!
mysql_select_db ("Databasevbulletin");

But I am still receiving the error message "Could not select photopost database"

What is wrong?

$link = mysql_connect ("myhost", "$Databasephoto", "$Passwordphoto") or die('I cannot connect to the database.');

mysql_select_db ("Databasphoto")or die("Could not select photopost database");

$links = Access information to vBulletin or photopost?
mysql_select_db ("Databasphoto")or die("Could not select photopost database"); = Access information to vBulletin or photopost?
familiabierstedt is offline   Reply With Quote
Old January 7th, 2007, 02:13 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2007
Posts: 9
I like to post my question again.

Question:

1.) $links
What Access information do I need? vBulletin or photopost?

2.) mysql_select_db ("???")or die("Could not select photopost database")
What Access information do I need? vBulletin or photopost?
familiabierstedt is offline   Reply With Quote
Old January 7th, 2007, 05:54 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Quote:
// 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.
//
At the top you need to enter all photopost database info. at the bottom line you enter the vb database info.
__________________
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
Last days pictures don't display marit General Discussion 3 December 6th, 2005 04:57 PM
After install, no user text on index.php or adm-index.php silknet01 Classifieds Installation & Upgrades 6 April 14th, 2005 01:43 PM
Only pictures in vb3 photofeature on index cognaccola Photopost Pro How Do I...? 1 January 10th, 2005 07:13 PM


All times are GMT -5. The time now is 09:12 AM.

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