https://www.icyphoenix.com/viewtopic.php?f=26&t=1721&p=12839#p12839
-----------------------------------
Mighty Gorgon
Thu 26 Apr, 2007 02:58

Re: Private Album Pics With Red X Under Viewprofile?
-----------------------------------
In theory it should be enough adding something like this (taken from thumbnail) in the cycle:
[codeblock]$album_user_access = album_permissions($album_user_id, $cat_id, ALBUM_AUTH_VIEW, $thispic);
if ( $album_user_access['view'] == false )
{
	message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
}[/codeblock]

But I need to have a further check when I'm not so tired... please wait... :roll:


