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.
Change the path in the plug-in itself. If the path is correct and you still get that error, put another period in front of the slash. Works like a charm. Thanks!
It dosent show in my page i haved set like this where my galley called galleri
include('./galleri/inc_features.php');
and put the $photopostfeature in the Forum Home template wher i want it but it dosent still came up
Both Photopost and Vbulletin is in the same database
k, when I put the full url in, I get the following:
Code:
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 '.http://www.tunernetwork.com/forum/gallery/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(488) : eval()'d code on line 133
k, when I put the full url in, I get the following:
Code:
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 '.http://www.tunernetwork.com/forum/gallery/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(488) : eval()'d code on line 133
any thoughts?
a path is not a url ...... you must supply the serverpath not the url
It dosent show in my page i haved set like this where my galley called galleri
include('./galleri/inc_features.php');
and put the $photopostfeature in the Forum Home template wher i want it but it dosent still came up
Both Photopost and Vbulletin is in the same database
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
open the plugin XML and change the path to the value it should have for your setup