 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 14th, 2006, 06:31 PM
|
#1 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 9
| Recent images on vb forum v 3.54
I just purchased photopost and got it installed and integrated with vb3.54. How can I place a row of recent images across my forum below my navbar like alot of fourms I've seen do?
Thanks for your help,
Joey
|
| |
March 14th, 2006, 06:53 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
| |
| |
March 14th, 2006, 08:34 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
Hey Joey, I hope you got it working how you want it.
Chuck, as the title implies ... PhotoPost Enhanced vB3 Index Integration
Is it necessary to have PP Enhanced turned on for these instructions to work?
( >>> Cringing at the thought of asking my wife to do this for me >>>)
We have 3 PP lic/installed > 1 forum (enhanced turned off) > in 1 dB
ie I'd like to show 3 Most Recent thumbs preview bars
in the 3 parent category navbar that they represent ...
Mark
|
| |
March 14th, 2006, 10:39 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
|
No those are blocks that appear on vbulletin so it is not tied to how you have the gallery appearing |
| |
March 14th, 2006, 11:24 PM
|
#5 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 9
|
OK i'm working on this integration right now and am getting stuck. I believe I have followed the instructions accordingly. I'm just trying to get a bar of photo boxes to show across my forum below my navbar.
Chuck, can you help me out?
In inc_photopost.php i have uncommented line 26 and it shows like this: mysql_select_db ("db_photopost")or die("Could not select photopost database"); Line 319 is uncommented as well and shows this: mysql_select_db ("db_forum");
In inc_features.php line 26 is uncommented and shows this: mysql_select_db ("db_photopost")or die("Could not select photopost database"); Line 199 is uncommented and shows this:
mysql_select_db ("getbent_forum");
In my forum index.php I have this on lines 58 and 59:
include('../gallery/inc_features.php');
include('../gallery/inc_photopost.php');
Before I proceeded further, I just went to my forum to test and the whole thing doesnt work. The only thing that is showing on the main page is an error that says this: Could not select photopost database
I know something is wrong so I don't want to proceed further yet.
Can you help me?
|
| |
March 15th, 2006, 05:30 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
|
Which error do you get?
Let's cover both. If you get a bar of black photo boxes in your photopost integration settings in Admin => Edit Integration check the data url and make sure it has a trailing slash.
If you get the could not select photopost database you either have entered the wrong photopost database name or you need to uncomment the $link statement and fill in host username and password
|
| |
March 16th, 2006, 01:20 AM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
|
The only "error" I get is 'Could not select photopost database' listed on the forum index
|
| |
March 16th, 2006, 01:31 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
In inc_features.php, uncomment line 25 and fill in your database info.
|
| |
March 16th, 2006, 01:36 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
| Quote: |
Originally Posted by Get Bent In inc_features.php, uncomment line 25 and fill in your database info. | Hi, I did that but nothing happens.
The forum and gallery is ine separat subdomanes like forum.domane.com and galleri.domane.com. Can this be the case?
|
| |
March 16th, 2006, 04:42 AM
|
#11 (permalink)
| | Registered User
Join Date: Mar 2006
Posts: 10
|
$link = mysql_connect ("localhost", "db_user", "db_password")
you need to fill in the right values here...
if you run different domains, I guess maybe your mysql server could be on a different host than localhost?
|
| |
March 16th, 2006, 04:04 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
| Quote: |
Originally Posted by oneOeight $link = mysql_connect ("localhost", "db_user", "db_password")
you need to fill in the right values here...
if you run different domains, I guess maybe your mysql server could be on a different host than localhost? | I've tryed that to. Now nothing is bing dispalyed. http://www.forum.modellflynytt.no |
| |
March 17th, 2006, 06:28 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
|
You need to elaborate on any errors or what you mean by nothing is displayed.
|
| |
March 19th, 2006, 04:18 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
|
First.
I have the same username for vb and photopost, and when I do as I then should I get the message "Could not select photopost database". I have here uncomment mysql_select_db on line 26 and the reselect command on line 199.
If I ucomment line 25 and enter the username and password I don't get the error but nothing is being printed.
I have the $photopostfeature code included like this: Code: Content visible to verified customers only.
Last edited by klausre; March 19th, 2006 at 04:21 PM.
|
| |
March 19th, 2006, 05:11 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
|
If your database for photopost and vbulletin are in different databases you must uncomment the select_db lines.
Have you edited your $forumhome template for that style have you placed the $photopostfeature variable in there. I dont see anything printing so it appears to me your missing this or have the hack not installed.
|
| |
March 20th, 2006, 02:30 AM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
| Quote: |
Originally Posted by Chuck S If your database for photopost and vbulletin are in different databases you must uncomment the select_db lines.
Have you edited your $forumhome template for that style have you placed the $photopostfeature variable in there. I dont see anything printing so it appears to me your missing this or have the hack not installed. | As I wrote; yes I have uncomment the db_select line and the reselect vb_db line.
And as I wrote; yes I have entered the $photopostfeature as you see in may other post.
Can you please answer on this. If I have the same username and password for vb and pp, way do I get the “Can’t select photopost db” message?
|
| |
March 20th, 2006, 08:48 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
|
Klaus there is nothing further we can say without seeing a link to your site and looking at your forumhome with the plugin active PhotoPost Enhanced vB3 Index Integration
If your forumhome looks like the attachment you have above sorry I am still going to say your forumhome template for that style does not include the variable to print the block or the file is not included via the file edit or plugin.
The very least if this file is included correctly you should get a bar called featured photos with no photos if there are none to include.
|
| |
March 20th, 2006, 10:39 AM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
|
Here's the site: http://forum.modellflynytt.no
Is it posible to send you the login for ftp and admin so you can take a look. I've out of hope here Chuck...
|
| |
March 20th, 2006, 10:47 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,944
|
Yes you can send admin login but I still have to say you have not edited the forumhome template for this style
ModelFlyNytt
If the plugin is active you should get featured photos printed where noted.
|
| |
March 20th, 2006, 11:49 AM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006 Location: Norway
Posts: 21
| Quote: |
Originally Posted by Chuck S Yes you can send admin login but I still have to say you have not edited the forumhome template for this style
ModelFlyNytt
If the plugin is active you should get featured photos printed where noted. | I sent it as a PM
|
| | |
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 02:06 PM. | |