Quote:
Originally Posted by Delphiprogrammi
yes this is because both hacks use the same function pp_get_ext() it's a PhotoPost function so if you want to use both hacks on the same board then open the plugin's php code find this code
PHP Code:
function pp_get_ext($filename)
{
return substr($filename,strpos($filename,"."));
}
and comment it out by doing
PHP Code:
/*function pp_get_ext($filename)
{
return substr($filename,strpos($filename,"."));
}*/
that's all it should work now
|
Nope, did not work.
When you said "open the plugin's php code", which one are you referring too? Zach's or yours? I've applied your suggestion to ppp_block.php & also tried it in PhotoPost Gallery Photos in profile - Hook location: member complete and I'm still getting an error:
Fatal error: Call to undefined function pp_get_ext() in /home/xxxxxx/public_html/photopost/ppp_block.php on line 72