Are there some functions to get the owners email address from the currently active album?
I need to get the email address from an external page so:
`
require_once("../../zp-core/template-functions.php");
zp_load_album($_POST['album']);
function returnOwner() {
global $_zp_current_album;
$owner = $_zp_current_album->getOwner();
return $owner;
}
`
Now how can I get the email address?
I found something with $userobj->getEmail() but having difficulties creating the userobj.
http://www.zenphoto.org/documentation/classes/Zenphoto_Administrator.html
Btw, you might want to sanitize the POST value for your own security....