by removing:
if ($userid)
{
$wherequery[] = 'images.userid = ' . $userid;
}
You loose (under some circonstances) the user category in filmstrip when doing prev/next, jumping to overall imagecategory...
not a big deal, unless you are the imageowner...
then you wont have some small drawbacks... like "unsubscribe to that category wont appear" (not imagesubscription.. that will be there.. but category subscription) etc...
Please test this quickfix:
find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
cant test it, because not at home... but it should work.. and the hack should not interfere anymore..
Luc
PS:
we use if(isset($_REQUEST['userid']) AND intval($_REQUEST['userid']) instead of if($_REQUEST['userid']) because for some reason php >5.3 issues a warning saying request[userid] is not set.... (vbulletin suppresses that warning, so you wont see it.. but checkin isset first, the warning doesnt appear at all...