One problem, When accessed through vBportal you get this error if you are not admin.
Fatal error: Call to a member function on a non-object in /home/virtual/site223/fst/var/www/html/modules/Gallery/classes/Album.php on line 1037
It works fine if you access it directly.
that line, and surrounding lines are as follows
Code:
function getPerm($permName, $uid) {
$perm = $this->fields["perms"][$permName];
if ($perm[$uid]) {
return true;
}
global $gallery;
/* If everybody has the perm, then we do too */
$everybody = $gallery->userDB->getEverybody();
if ($perm[$everybody->getUid()]) {
return true;
}
/*
* If loggedIn has the perm and we're logged in, then
* we're ok also.
*/
$loggedIn = $gallery->userDB->getLoggedIn();
if ($perm[$loggedIn->getUid()] &&
strcmp($gallery->user->getUid(), $everybody->getUid())) {
return true;
}
return false;
}
the red line being 1037