Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
AnemiaSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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 ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
AnemiaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [Download] [Hide] [Select]
$full_size_param = '&full=true';


AFTER ADD ( for both instances )
Code: [Download] [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!
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron