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?

Profile PM  
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
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 :icy_lol_flag:

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 ?

Profile PM  
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: [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>' : '',


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

Profile PM  
Subject: Re: Set As Avatar Option
cheers, I'll have a play

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 :mryellow:

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

Profile PM  
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
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. :x

Profile PM  
Subject: Re: Set As Avatar Option
My humble apologies :oops:

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

Profile PM  
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: [Download] [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>' : '',

Profile PM  
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

Subject: Re: Set As Avatar Option
My bad pepi....try it now

Code above edited

Profile PM  

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.191s (PHP: 12% SQL: 88%)
SQL queries: 10 - Debug Off - GZIP Enabled