FAP CUSTOMIZATION - Set As Avatar Option »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - Set As Avatar Option



Bullet [ Wed 31 Jan, 2007 03:44 ]
Post 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?


McManus [ Sun 29 Apr, 2007 20:20 ]
Post 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


Artie [ Mon 30 Apr, 2007 01:13 ]
Post subject: Re: Set As Avatar Option
Bullet wrote: [View Post]
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?

Sure, go ahead

Sorry, that was attempt at humor. I'll check on this.

McManus wrote: [View Post]
I'd like the opposite, and allow users to have the option on all galleries, except others users personal galleries
Isn't that the way it currently is ?


Artie [ Mon 30 Apr, 2007 01:46 ]
Post subject: Re: Set As Avatar Option
Bullet wrote: [View Post]
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?

I think MG has addressed this in the 1.4.2 version (yet to be released)

OPEN album_mod/album_hierarchy_sql.php

FIND
Code: [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: [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>' : '',


McManus, if you are using Icy Phoenix you may already be using FAP 1.4.2...if so, try reversing the procedure above.


McManus [ Mon 30 Apr, 2007 02:21 ]
Post subject: Re: Set As Avatar Option
cheers, I'll have a play


TheSteffen [ Wed 02 May, 2007 23:39 ]
Post subject: Re: Set As Avatar Option
McManus wrote: [View Post]
I'd like the opposite, and allow users to have the option on all galleries, except others users personal galleries


I'd like it too

Thanks Artie, I will test it if I will ahve some freetime


nims [ Fri 13 Jul, 2007 11:41 ]
Post 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.


Artie [ Sun 15 Jul, 2007 17:38 ]
Post subject: Re: Set As Avatar Option
nims wrote: [View Post]
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.


Posting basically the same question in multiple threads earns you a Yellow Card.


nims [ Tue 17 Jul, 2007 08:59 ]
Post subject: Re: Set As Avatar Option
My humble apologies


jazzking2001 [ Fri 03 Aug, 2007 20:12 ]
Post 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


Artie [ Sat 04 Aug, 2007 00:34 ]
Post subject: Re: Set As Avatar Option
jazzking2001 wrote: [View Post]
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
OPEN

Try this

Code: [Hide] [Select]
'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>' : '',


pepi [ Sat 04 Aug, 2007 01:05 ]
Post 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


Artie [ Sat 04 Aug, 2007 02:11 ]
Post subject: Re: Set As Avatar Option
My bad pepi....try it now

Code above edited




Powered by Icy Phoenix