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.
My problem was the inc_features.php file that I needed to edit as follows:
Quote:
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
mysql_select_db ("XXXXXXXXXXXX")or die("Could not select photopost database");
You need to uncomment (remove the // before the above line) and you need to be replaced the above red X's with your database name.
Other than this path problem, It looks ok... I just don't see any photo's.
your path is not correct with a setup like that you need to set the path to for example
Code:
/var/www/njflyfishing.com/public_html/photopost
don't know if that's one correct just an example.But you are better of to install Photopost inside vbulletins directory why ? otherwise ones the path is correct you might be affected by the "openbase_dir" restriction (this is a PHP security feature) so you need to set the path to your www root and then include a /photopost at the end
Warning: Unknown: failed to open stream: No such file or directory in /index.php(488) : eval()'d code on line 133
Warning: Unknown: Failed opening './photopost/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(488) : eval()'d code on line 133
Yep, thats the error im getting, any clue? Im bout to punch the screen,lol. thanks
What ive done so far is just upload the plugin, and i get that error right away, I didnt put any code in the FORUMHOME yet cause i wanna get this part fixed.
also, my path to my gallery is: public_html/forum/gallery/ that have something to do with it?
Warning: Unknown: failed to open stream: No such file or directory in /index.php(488) : eval()'d code on line 133
Warning: Unknown: Failed opening './photopost/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(488) : eval()'d code on line 133
Yep, thats the error im getting, any clue? Im bout to punch the screen,lol. thanks
What ive done so far is just upload the plugin, and i get that error right away, I didnt put any code in the FORUMHOME yet cause i wanna get this part fixed.
also, my path to my gallery is: public_html/forum/gallery/ that have something to do with it?
yes that path is not correct it is impossible a path like that works you need to set the "FULL" path if you don't know what this value should be look at the
K, where do i change the path at? the plugin itself or a file already on the server? If you can just get a lil specific, sorry, i havent messed with the gallery too much yet