FAP CUSTOMIZATION - Guest On FAP, Only Thumbnail Please


Subject: FAP CUSTOMIZATION - Guest On FAP, Only Thumbnail Please
From: 22 Dec, 2006

middiu wrote: 
hi,
I want the guests only to see the thumbnails without the possibility to enlarge the pics

how can i do it?

thanks!


Artie wrote: 
For your Mid/Full pics on register only. Try the code below.
I only tested this briefly, but seems to work ..... though, will not work if you have View full pic as a popup set to Yes in ACP

Code: [Download] [Hide]
  1. #  
  2. ##------------------- [ OPEN ] ------------------------------------------------  
  3. #  
  4.  
  5. album_showpage.php  
  6.  
  7. #  
  8. ##----------------- [ FIND ] ----------------------------------------------------  
  9. #  
  10.  
  11. // ------------------------------------  
  12. // TEMPLATE ASSIGNEMENT  
  13. // ------------------------------------  
  14.  
  15. #  
  16. ##--------------- [ BEFORE ADD ] -----------------------------------------------------------  
  17. #  
  18.  
  19. if (!$userdata['session_logged_in'])  
  20. {  
  21. redirect(append_sid(album_append_uid(LOGIN_MG . "?redirect=album_showpage.$phpEx&pic_id=$pic_id")));  
  22. }  
  23. #  
  24. ## --------- [ SAVE FILE ] ---------------------------------------------  
  25. #EoM  
  26.  

Profile PM  
Subject: Re: Guest On FAP, Only Thumbnail Please
Great,

maybe there should be a switch in ACP for this. ;-)

Profile PM  
Subject: Re: Guest On FAP, Only Thumbnail Please
Good suggestion... when I have some free time I'll do it...

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... :wink:

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

Subject: Re: Guest On FAP, Only Thumbnail Please
Mighty Gorgon wrote: [View Post]
Remember that BBCode posted pictures in full mode may be affected as well. :wink:


No there's something I never would have have thought of.

I now know why you make the big bucks. :wink:

Profile PM  
Subject: Re: Guest On FAP, Only Thumbnail Please
Artie wrote: [View Post]
No there's something I never would have have thought of.

I now know why you make the big bucks. :wink:

Ha ha ha... Usually there is even something I forgot... just wait that someone will read this and found what I missed... :wink:

Subject: Re: Guest On FAP, Only Thumbnail Please
I want use it for view profile. How can i do?




EDITED:
I have used this:
Code: [Download] [Hide] [Select]
if (!$userdata['session_logged_in'])
{
append_sid('LOGIN_MG. "?redirect=profile.' . $phpEx . '?mode=viewprofile&u=' . $user_id );
}


it seems to work...

Last edited by Gianni PB on Mon 24 Dec, 2007 18:41; edited 3 times in total
Subject: Re: Guest On FAP, Only Thumbnail Please
in 1.1.9.24 it doesn't work in profile.php :(

why?


Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1876s (PHP: 17% SQL: 83%)
SQL queries: 10 - Debug Off - GZIP Enabled