Version: 1.00, by Delphiprogrammi
Developer Last Online: Aug 2015
Version: 3.5.4
Rating:
Released: 03-29-2006
Last Update: 03-29-2006
Installs: 47
Uses Plugins Template Edits
No support by the author.
hi people,
I see people who are heavenly modifying there boards to get this done.This is actually not needed.Photopost includes a files that does this automatically
1)install the plugin
2)tempate modification
template FORUMHOME find this code
HTML Code:
<!-- /main --><br /><br />
replace with
HTML Code:
<!-- /main --><br />
$photopostfeature
<br />
remember to modify the path to inc_features.php(this is a PhotoPost file) if your photopost installation is different from mine
that's all
enjoy
all done no more modifications to the original vb files needed
possible problems
Question:After installation i get an error message like
Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/inc_features.php on line xx
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/inc_features.php on line xx
Answer:This Could be because you did not set a value for the $ppdbprefix (database table prefix) Photopost uses.Open your config-int.php and set the correct value for the $ppdbprefix variable
You can also set this in your Photopost Administration panel under "edit integration" (PhotoPost Database Table Prefixes) field
question i don't know what my path should be can you help me ?
PHP Code:
<?php phpinfo(INFO_VARIABLES); ?>
and look at the value of $_SERVER['PATH_TRANSLATED']; this is the serverpath to the file you are currently vieuwing within your webbrowser when you are done remove this file from your server (security )
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
make sure you correctly edited inc_features.php and doublecheck the path to that file for example if you have it installed in a directory within the vbulletin directory "/forums/photopost" the path would be
PHP Code:
include('./photopost/inc_features.php');
if you have called the directory which hold Photopost gallery it would be
Yep that is correct, I left it with the default - photopost, from the forum root.
It would appear to find the file correctly, but have issues with MySQL queries within that file - apparently I would be the only person with this problem!
Thanks for your help.
[edit]
After a quick search for the exact same MySQL error, I found out where I was going wrong - my Photopost database is alongside the VBB one - and in the config.int.php file, the prefix wasn't set, which I set to "pp_" and now it's fine, just must be me, sorry for the hassle!
[/edit]
Yep that is correct, I left it with the default - photopost, from the forum root.
It would appear to find the file correctly, but have issues with MySQL queries within that file - apparently I would be the only person with this problem!
Thanks for your help.
[edit]
After a quick search for the exact same MySQL error, I found out where I was going wrong - my Photopost database is alongside the VBB one - and in the config.int.php file, the prefix wasn't set, which I set to "pp_" and now it's fine, just must be me, sorry for the hassle!
[/edit]
Warning: Unknown(./public_html/gallery/inc_features.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1
Warning: Unknown(./public_html/gallery/inc_features.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1
Warning: (null)(): Failed opening './public_html/gallery/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(485) : eval()'d code on line 1
Warning: Unknown(./public_html/gallery/inc_features.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1
Warning: Unknown(./public_html/gallery/inc_features.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1
Warning: (null)(): Failed opening './public_html/gallery/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(485) : eval()'d code on line 1
What should I do?
do not include your public_html directory there it should be
Yes if your going to use the ./ directory pointer then take out the public html bit otherwise take out the ./ and replace it with the full path (not url) to the folder you want..