Well I'm onto something else with this mod. I was trying to figure out how to add the more photos link that reloads the random photo when you click it.
So far, which isn't much I have figured out this.
It appears that this code located in the showphoto.php file
$prevajax = "« <a title=\"{$Globals['pp_lang']['morephotos']}\" href=\"javascript:sendPhotoReq('$npid','$cat','$photo','$limit','$sortby','$sortdir','$sorttime','$ppuser');\">{$Globals['pp_lang']['more']}</a> ·";
}
and this
$nextajax = "· <a title=\"{$Globals['pp_lang']['morephotos']}\" href=\"javascript:sendPhotoReq('$npid','$cat','$photo','$limit','$sortby','$sortdir','$sorttime','$ppuser');\">{$Globals['pp_lang']['more']}</a> »";
}
are the parts that handle the more photos commands but where this would get plug into the inc_feature2.php and if that would work are beyond me.
Anyone have anyideas on this?