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.
:mrgreen: :mrgreen:
FAP SUPPORT - Photo Set As Avatar
Subject: Re: Photo Set As Avatar
No
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)
REPLACE WITH
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.
DWho wrote: [View Post]
No
DWho wrote: [View Post]
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)
'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
'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.
Page 1 of 1
You cannot post new topicsYou 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.0998s (PHP: 17% SQL: 83%)
SQL queries: 10 - Debug Off - GZIP Enabled