Version: 1.00, by Zachariah
Developer Last Online: Jan 2020
Version: 3.5.4
Rating:
Released: 04-03-2006
Last Update: Never
Installs: 43
DB Changes Uses Plugins Template Edits
Additional Files Translations
No support by the author.
/* ----------------- 4/03/2006 4:37PM ----------------- Add PhotoPost Pro to each forum.
This hack will allow you to fill-in catagories from Photopost Pro to display in a film strip format under the $navbar. This will show in every thread of the forum as well.
1 querry
1 template
4 Fields
1 file upload
3 plugins
5 phrases
Tested on:
vBulletin 3.5.4
PhotoPost Pro 5.21
Each forum extra options:
- Image Count:
(How many images would you like to show ?)
- Image Order:
(Enter 1 for newest, 2 for most viewed, 3 for most comments, 4 for highest rated, 5 for random.)
- Select Catagory(s):
(Here you can list catagories you wish to show images from. EX: 1,10,20)
- Show Imagebit:
(Title, Description, Rating, Username, Views, Dimensions, and more.)
+-+-+-+-+-+-+-+-+-+-+-+-
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Sherry, I think he intends on working with 3.6.x...but from the post prior to yours...looks like he's swamped with other priorities. I'm with ya though...patiently waiting.
Just attempted an install and get the following error message when trying to save forum information:
Unknown column 'ppgcount' in 'field list'
I've seen references to this error in previous messages but no indication on how to fix it. Has anyone who has encountered this figured out how to fix it?
If so, please advise. Thanks. -- Rik
BTW, I have my PP and VB databases installed in the same directory. I'm running vb 3.6.4 and PP 5.31.
I came back for a 2nd attempt at installing this very nice mod and found that the plugin xml file simply wasn't adding any of the 4 required columns to our "forums" table.
In our case, the problem was with the ... NOT NULL DEFAULT '' statement which created SQL syntax error messages by mySQL. By removing the DEFAULT '' and running the queries manually (didn't attempt to alter the XML file for which this change should also work) everything is now fine.
FYI, we are running mySQL 5.0.24-standard and vb 3.6.4.
Hope that helps others and thanks to Zachariah for a really neat mod!
I have installed and I get this error in the forum I have enabled album:
Warning: main() [function.main]: open_basedir restriction in effect. File(/config-int.php) is not within the allowed path(s): (/var/www/vhosts/gstrail.es/httpdocs:/tmp) in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15
Warning: main(config-int.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15
Fatal error: main() [function.require]: Failed opening required 'config-int.php' (include_path='.:') in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15
I have installed Vbulletin 3.6.4 and Photopost Pro 5.62. in a VPS.
If is a permission problem in PHP.info I have safemode LOCAL: Off / REMOTE: On
Just to note down my experiences.
I have vBulletin 3.6.4 and Photopost Pro 5.6.2
I have vB installed in root/forums and Photopost installed in root/photopost
I've installed the mod straight as it stands and followed the install instructions.
It installed perfectly, but thumbnails didn't display at all.
After some investigation I saw that the thumbnail URL was not formed properly.
I edited the inc_vbcat.php file that goes in the Photopost folder and made the following corrections.
From:
PHP Code:
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo)
To:
PHP Code:
<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo)
Note the added slash between the {$data_dir}{$pcat}. The above correction needs to be made in 2 places, when you open up the file to edit it should be easily apparent where they are as they are close together.
Hope this helps someone with the same problem.
Mod works a treat though and is really great.
We use a popular hack to create a left column for our forums. I'd like to move this hack so that it would display in that left column instead of its current placement. I assume that would require a new "hook." Does anyone know how to accomplish that?
Just to note down my experiences.
I have vBulletin 3.6.4 and Photopost Pro 5.6.2
I have vB installed in root/forums and Photopost installed in root/photopost
I've installed the mod straight as it stands and followed the install instructions.
It installed perfectly, but thumbnails didn't display at all.
After some investigation I saw that the thumbnail URL was not formed properly.
I edited the inc_vbcat.php file that goes in the Photopost folder and made the following corrections.
From:
PHP Code:
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo)
To:
PHP Code:
<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo)
Note the added slash between the {$data_dir}{$pcat}. The above correction needs to be made in 2 places, when you open up the file to edit it should be easily apparent where they are as they are close together.
Hope this helps someone with the same problem.
Mod works a treat though and is really great.
Did this, made the db config changes in inc_vbcat.php and enabled it in a couple of forums inyet I get absolutely nothing on my site :?