The format is this
http://www.domain.com/modules.php?na...wphoto&photo=1
Basically the name is the program name and every file call is just the filename no extention.
This is more than a forward change.
If you truly wanted to make Photopost Module compatible EVERY link needs to be changed throughout the program. Below is an example of a part of pmenu in showphoto 458-460
if ( $usercomment == 1 && $Globals['allowpost'] == "yes" ) {
$pmenu .= "<a href=\"{$Globals['maindir']}/comments.php?photo=$id\">{$Globals['pp_lang']['post']}</a>";
}
would be
if ( $usercomment == 1 && $Globals['allowpost'] == "yes" ) {
if ( $Globals['vbversion'] == "nuke" && $Globals['module'] == "yes" ) {
$pmenu .= "<a href=\"{$Globals['vbulletin']}/modules.php?name=photopost&file=showphoto&photo=$id\">{$Globals['pp_lang']['post']}</a>";
} else {
$pmenu .= "<a href=\"{$Globals['maindir']}/comments.php?photo=$id\">{$Globals['pp_lang']['post']}</a>";
}
Basically the entire program and every link needs to be written to that format posted above for module support