https://www.icyphoenix.com/viewtopic.php?f=26&t=965
-----------------------------------
Anemia
Fri 19 Jan, 2007 19:49

FAP CUSTOMIZATION - Full View Only For Members
-----------------------------------
hi , 
i wanna show the full pictures only for forum users and not for guest. how can i realise that ?! 

guest shoud only see the midthumbnail but not the full view


-----------------------------------
Artie
Fri 19 Jan, 2007 20:40

Re: Full View Only For Members
-----------------------------------
This topic

http://www.icyphoenix.com/viewtopic.php?t=808

discusses only full view for users.... blocks thumb and mid-thumb

Do you need the mid thumb viewable ?


-----------------------------------
Anemia
Sat 20 Jan, 2007 14:07

Re: Full View Only For Members
-----------------------------------
[quote user="Artie" post="7762"]This topic

http://www.icyphoenix.com/viewtopic.php?t=808

discusses only full view for users.... blocks thumb and mid-thumb

Do you need the mid thumb viewable ?[/quote]

Hi , 

yes the midthumb only for guests , the fullview should be for Members only


-----------------------------------
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!


