FAP CUSTOMIZATION - Set As Avatar Option
Subject: FAP CUSTOMIZATION - Set As Avatar Option
I noticed members can set photos they upload to public galleries as an avatar. Can I make it so they can only set avatars from photos in there personal gallery?
Subject: Re: Set As Avatar Option
I'd like the opposite, and allow users to have the option on all galleries, except others users personal galleries
Subject: Re: Set As Avatar Option
Sure, go ahead :icy_lol_flag:
Sorry, that was attempt at humor. I'll check on this.
Bullet wrote: [View Post]
Sure, go ahead :icy_lol_flag:
Sorry, that was attempt at humor. I'll check on this.
Isn't that the way it currently is ?McManus wrote: [View Post]
Subject: Re: Set As Avatar Option
I think MG has addressed this in the 1.4.2 version (yet to be released)
OPEN album_mod/album_hierarchy_sql.php
FIND
REPLACE WITH
McManus, if you are using Icy Phoenix you may already be using FAP 1.4.2...if so, try reversing the procedure above.
Bullet wrote: [View Post]
I think MG has addressed this in the 1.4.2 version (yet to be released)
OPEN album_mod/album_hierarchy_sql.php
FIND
'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>' : '',
McManus, if you are using Icy Phoenix you may already be using FAP 1.4.2...if so, try reversing the procedure above.
Subject: Re: Set As Avatar Option
I'd like it too :mryellow:
Thanks Artie, I will test it if I will ahve some freetime :?
McManus wrote: [View Post]
I'd like it too :mryellow:
Thanks Artie, I will test it if I will ahve some freetime :?
Subject: Re: Set As Avatar Option
Hi, I already have this code in my file. But I do not understand from where to select picture from personal album for using it as avatar ? Can u help.
Subject: Re: Set As Avatar Option
Posting basically the same question in multiple threads earns you a Yellow Card. :x
nims wrote: [View Post]
Posting basically the same question in multiple threads earns you a Yellow Card. :x
Subject: Re: Set As Avatar Option
currently is is set 2
someone can set the thumbnail as avatar in their own personal gallery
what i would want is that
anyone can set any thumbnail as their avatar in the public section of the gallery
someone can set the thumbnail as avatar in their own personal gallery
what i would want is that
anyone can set any thumbnail as their avatar in the public section of the gallery
Subject: Re: Set As Avatar Option
Try this
OPENjazzking2001 wrote: [View Post]
Try this
'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['session_logged_in']) && ($picrow[$j]['cat_user_id'] == 0) ) ? '<br /><a href="'. append_sid('album_avatar.' . $phpEx . '?pic_id=' . $picrow[$j]['pic_id']) . '">' . $lang['Avatar_Set'] . '</a>' : '',
Subject: Re: Set As Avatar Option
Hi
sorry Artie it dons't works also in icy by me with set as avatar
i can you get an account as admin on my test - forum when you wish
pepi
sorry Artie it dons't works also in icy by me with set as avatar
i can you get an account as admin on my test - forum when you wish
pepi
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.191s (PHP: 12% SQL: 88%)
SQL queries: 10 - Debug Off - GZIP Enabled