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 SUPPORT - Photo Set As Avatar 
 
Hi

I have just set up a catergory to private so only certain members can see the photos but I also need users to use the set photo as avatar function for normal photos..

The only trouble is if someone sets their private photo as there avatar it appears all over the site so anyone can view it....

Is there anyway I can set the permissions where avatars show so only the ones not set to private show and the ones set to private either show another image....

or can I have that the set photo as your avatar option only appears in the main personal gallery...

thank you for any help.

   
 



 
DWhoSend private messageVisit poster's website  
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: Photo Set As Avatar 
 
DWho wrote: [View Post]

Is there anyway I can set the permissions where avatars show so only the ones not set to private show and the ones set to private either show another image....

No

DWho wrote: [View Post]

or can I have that the set photo as your avatar option only appears in the main personal gallery...

No, not the main personal gallery, but you can have it where the set avatar option appears only in the main public categories

OPEN album_mod/album_hierarchy_sql.php

FIND (or similar line)
Code: [Download] [Hide] [Select]
'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. append_sid('album_avatar.' . $phpEx . '?pic_id=' . $picrow[$j]['pic_id']) . '">' . $lang['Avatar_Set'] . '</a>' : '',




REPLACE WITH
Code: [Download] [Hide] [Select]
'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) && ($picrow[$j]['cat_user_id'] == 0) ) ? '<br /><a href="'. append_sid('album_avatar.' . $phpEx . '?pic_id=' . $picrow[$j]['pic_id']) . '">' . $lang['Avatar_Set'] . '</a>' : '',


Doing the changes above could still give you problems in a main category if it is set to private.
It should be possible to disable the option on any private gallery (public or personal), but would require additional changes from those listed above.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Photo Set As Avatar 
 
Thanks for the reply


I shall try it out now.

   
 



 
DWhoSend private messageVisit poster's website  
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