Thanks for this mod, but.....
I couldn't connect to my Photopost database.
At the end of your instructions, you say to adjust the
$Globals['pp_db_prefix'] = ""; line in the template if my default table prefix was changed, but I can't find any reference to this line anywhere.