Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
make avatar pool replace main site image
Avatar
nomis78
Member
Free Members
sp_UserOfflineSmall Offline
Apr 3, 2012 - 4:47 pm

hey guys I was wondering if there is a way to amek a selection from the avatar pool replace the main avatar for wordpress without disabling having the wordpress avatars take priority?

from what i can figure there isnt but i wanted to double check before I wrote of the pool feature request i had.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 3, 2012 - 7:01 pm

No, afraid not...  The WP avatar ALWAYS returns you an avatar, so its avatar will be displayed...

So not sure I fully understand what you want to do... If  you could explain further, we might be able to come up with some other ideas...  its possible you could filter on the avatar returned from wp and if you didn't 'like' it, you could try getting another...

Avatar
nomis78
Member
Free Members
sp_UserOfflineSmall Offline
Apr 4, 2012 - 10:11 pm

sorry i was pretty tired when i wrote this thread and I probably should have been more detailed

My current set up is to use a users wordpress/buddypress avatar as their forum avatar, some members have asked if its possible to impliment an avatar "pool" to select from like we had in our old invision free forums (loong before the site came under my adminship)

As i understand it, the only way to make it possible for the forum to replace the wordpress/buddypress avatar with the one they choose from the pool site wide is to make it so that the SP defaults appear above WP default

The main problem with this is it means that my users will loose their avatars and have to reupload them all again which would be a major inconveniance (considering ive had to ask them to do that twice allready due a crop script error in WP/BP affecting transparancy and then affecting blur on the SP forum)

what i need to know is, am i correct in my understanding of this or is there a work around to ensure that the wordpress/buddypress avatars dont get replace with the default "member" "admin" sillouhettes if i place the SP avatars about the WP avatars

hopefully that will clear things up a little

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 4, 2012 - 11:02 pm

SP runs through the avatar priorities searching for an avatar and stops when one is found...  there are two places it will always find an avatar - wp avatars and default sp avatars...

so if you put avatar pool as the first priority, it a user selects one from the pool it will used... if wp avatars is 2nd and there is no pool avatar selected, it will use the wp avatar...

sp default avatar and pool avatars are two different things...

I must caveat to say I have never actually tested this configuration, but it should work as I said...

Avatar
nomis78
Member
Free Members
sp_UserOfflineSmall Offline
Apr 5, 2012 - 1:12 am

oh no i understand that but there is an option to make the avatar from SP replace the WP avatar, but SP default must load before WP default, thats the bit that breaks the site what im wondering is if its possible to make the SP avatar replace the WP one on a sidewide basis without causign the aforementioned problem

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 5, 2012 - 5:16 am

I am a little iffy on this basically because I have not tried it but as far as I am aware the routine that returns an avatar in WP (leaving SP aside for a moment) is the get_avatar() function. This is what WP calls a pluggable function which means a theme or plugin can supply an alternate get_avatar() function which will take precedence over the WP core version.

So - in theory - you could replace this function with your own that returns a users SP avatar instead. Just need a little php coding skill!

(Steve - would you say this is achievable?)

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 5, 2012 - 6:56 pm

wait a minute...  you want the SP avatar to replace the WP avatar?  that's it?  there is an option for this...

forum - profile - avatars...  check the option to replace wp avatars with the sp avatar...

then make sure the wp avatar priority is BELOW the sp default avatar...  then the wp avatar will never enter into the equation...

but reading through all these posts again, its confusing...

sp default is different than wp avatar which is different from pool avatar...  did you even try what I said in post #4?  your post #5 has nothing to do with my answer on #4...  then you talk about replacing wp avatar with sp avatar...  but that is easy as discussed above... unless you expand on your post #5 with info from above...  so not sure I have a clear picture...

what my post #4 will do...

if avatar selected from avatar pool, use it...  if not, then use the wp avatar (which should be the wp/bp uploaded avatar)...

is that not what you want?  if not, then please explain with rules what you want to happen...

Avatar
nomis78
Member
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2012 - 3:29 am

ok currently user avatars are pulled from the WP avatar

placing SP avat above WP avatar will allow SP to replace the WP avatars thoughout the site at the expense of existing WP avatars not displaying unless they are manually re-uploaded into SP (not what i want)

users have requested an avatar "pool" to select from which SP facilitates, is it possile to make this pool (and only this pool) replace the the WP avatars WITHOUT making those who dont choose from the pool loose their avatars or stopping the WP avatars being displayed in the forum

not really sure how i can make that any clearer then it is if you still dont follow :-/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2012 - 9:25 am

well, sorry, but not sure how I can be more clearer either...

I am not sure if you are trying to do this for the wp site or for the forum or both...

as I said in post #4 and #6, for the forum avatars (that is on the forum pages), if you set the avatar pool priority as the highest and the wp avatars as second, the forum will use a pool avatar IF they have selected one...  If not, then it will use the wp avatar... 

so think I have answered how to do it on the forum pages already...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626