Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
BuddyPress Plugin Integration Beta
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 1:01 pm

what is this tipsy avatar thing?  its something that is trying to overwrite avatars and messing them up...

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 1:17 pm

sorry I'm not sure what you are talking about ? tipsy avatar thing ?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 29, 2013 - 6:18 pm

exactly my point... look at an avatar on your site... inspect it...

something is adding a whole bunch of html for tipsy avatar.. I have no clue what it is... for example, one of 'our avatars':

<img width="150" height="150" alt="Avatar de bliz" src="http://www.warlegend.net/wp-content/uploads/avatars/366/308b6b9348da2fc5211cad3e205dea8a-bpthumb.jpg" original-title=" <div> <img src="http://www.warlegend.net/wp-content/uploads/avatars/366/308b6b9348da2fc5211cad3e205dea8a-bpfull.jpg"> </div> <div class='tipsy-content'> <div> <h3> <a href="http://www.warlegend.net/members/bliz/">bliz</a> </problem-with-post-edit-button3> <div><strong>Actif il y a 3 jours  3 heures</strong></div> @bliz </div> <div><strong>Dernière Maj</strong><br></div> <a href="http://www.warlegend.net/members/bliz/">Voir le profil</a> </div> <div> ">   

   

that is messing with our avatar... this tipsy avatar and content... and it opens a popup too....

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Jul 31, 2013 - 7:18 pm

this is buddypress hovercard plugin

this is normal behaviour,

but i tried to delete it and no change :(

i asked the dev of this plugin how to disable the hovercards on the forum, and it did not help either lol ...

i had a dev friend checking a bit more into (while not knowing anything about the issue)

he's asking why the priority of avatar is different for admins and non admins ?

I changed a bit the avatars priorities, and now my others members are small icons, while admins are 150pix

he was able to fix the issue, and had everyone showing 150pix HQ by disabling the avatar priority switch while doing only switch cases 0 and 2 (commenting the rest)

avatar priority for admin : 0 and 2 only

avatar priority for other users : all

but it imply changing the code of simplepress, cannot use it, won't work in next update :) how can we make it so the behaviour is the same for every user ?

 

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 31, 2013 - 8:06 pm

priority of avatars is NOT (at least not intentionally) different for admins or users...  they apply to all equally...  I would like to understand more what he means and what he changed...

a long time ago, I asked about your avatar priority in regards to wp avatars...  long thread, have not looked back...  maybe post a screenshot of your avatars admin panel would help...

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2013 - 2:43 am

/wp-content\plugins\simple-press\forum\content\sp-common-view-functions.php:548
foreach ($spAvatars['sfavatarpriority'] as $priority) {
commented all switch cases except 0 and 2
case 0: # Gravatars
case 2: # Uploaded avatars

doing that made all avatar 150pix and HQ

no idea why, this is really bandaid, would be better to solve another way ;)

Maybe i understand the trick a bit more now: i think i was wrong, it has nothing to do with admins

If the priorities are the same for everyone, it means that step 2 of the switch (file /wp-content\plugins\simple-press\forum\content\sp-common-view-functions.phpn line 549) is skip for everyone (which is the highest priority) and then fall back to step 0 which is gravatars
since I have one, i don't have the bug, it does not continue, succefully executing code "break 2;"
however, it continues further to other steps for non gravatars users

Which feels wrongs, we all have uploaded avatars... it should not continue further case 2 !

I admit i did not research further this point... maybe there is something wrong with our configuration, but it seems that on my forums only people with gravatars got HQ avatars

but in the current system, i cannot have 150pix avatar in HQ, even with the hovercards disabled, so it's not the culprit i'm afraid

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2013 - 12:44 pm

would still like to see a screenshot of you sp admin profile avatar panel...

if it cannot find uploaded avatars, perhaps there is a permission issue on the server not making them web accessible... on forum - integration - storage locations, does the avatar storage show valid?

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2013 - 2:30 pm

http://dhainne.free.fr/sp-permission.jpg

you have access to my site if you want to check more :) (i'm the same annoying guy with the members not automatically going into the member group;p)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2013 - 2:49 pm

yes, I know... but as I said there, might be day or two before I can get in...  but we do have to run the forums, so a screenshot would get viewed quicker... ;)

and that is not the avatar one...

Avatar
Denis Courtin
Member
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2013 - 3:23 pm

sorry

here's the correct screenshot

http://dhainne.free.fr/sp-avatar.jpg

update : oh just now my dev friend also found another way to fix it on our side, here's his message :

================
Some news on what I found !
If you inspect theses lines of code, you can find something quite interesting : https://dryft.org/simple-press.png
This is not really a fix because it feels wrong. It looks like "empty($userAvatar['uploaded'])" is broken somehow and badly evaluate.
So that every user with a real uploaded avatar is evaluated as if it doesn't. Fortunately, inverting the condition make it works... but "wrongly" work.
It there something in our configuration or plugins that could make this variable to be badly written somehow ?
=================

we will use this to fix things, we have hq 150pix avatars now, can you add this in your code or will this break something else of others users ?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625