FAP CUSTOMIZATION - Full View Only For Members »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - Full View Only For Members



Anemia [ Fri 19 Jan, 2007 19:49 ]
Post subject: 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 ]
Post subject: 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 ]
Post subject: Re: Full View Only For Members
Artie wrote: [View Post]
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 ?


Hi ,

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


Artie [ Sun 21 Jan, 2007 00:25 ]
Post subject: Re: Full View Only For Members
This may work, but remember...

Mighty Gorgon wrote: [View Post]

The same modification should be applied to album_otf.php, album_picm.php and album_pic.php otherwise someone may access directly to the pic...

Remember that BBCode posted pictures in full mode may be affected as well.


OPEN album_showpage.php

FIND ( 2 instances of )
Code: [Hide] [Select]
$full_size_param = '&full=true';


AFTER ADD ( for both instances )
Code: [Hide] [Select]
if (!$userdata['session_logged_in'])
{
redirect(append_sid(album_append_uid(LOGIN_MG . '?redirect=album_showpage.'.$phpEx.'&pic_id='.$pic_id.'&full=true')));
}


Edit: OOOPS!




Powered by Icy Phoenix