https://www.icyphoenix.com/viewtopic.php?f=26&t=965&p=7812#p7812
-----------------------------------
Artie
Sun 21 Jan, 2007 00:25

Re: Full View Only For Members
-----------------------------------
This may work, but remember...

[quote user="Mighty Gorgon" post="6724"]
The same modification should be applied to [b]album_otf.php[/b], [b]album_picm.php[/b] and [b]album_pic.php[/b] otherwise someone may access directly to the pic... :wink:

Remember that BBCode posted pictures in full mode may be affected as well. :wink:[/quote]

OPEN [b]album_showpage.php[/b]

FIND ( 2 instances of )
[codeblock]$full_size_param = '&amp;full=true';[/codeblock]

AFTER ADD ( for both instances )
[codeblock]if (!$userdata['session_logged_in'])  
     {  
         redirect(append_sid(album_append_uid(LOGIN_MG . '?redirect=album_showpage.'.$phpEx.'&pic_id='.$pic_id.'&full=true')));
     }  [/codeblock]

Edit: OOOPS!


