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
Aug 2, 2013 - 3:48 pm

a couple things...

first, I can guarantee you we will not be making such a code change... its just wrong...  that code, with your mod, asks, do we have an uploaded avatar, no, then use it...  wrong...

keep in mind, uploaded avatar means: an avatar uploaded through simple press...  it will NOT consider an avatar uploaded through wp, bp or any other plugin...  it just asks did you upload an sp avatar...

with the bp integration, the avatar will end up being a default one next because you only have two priorities (assuming google translate is working)... uploaded or default...  so the user will get a default... but then, at the end of the avatar routine,via a filter, it will get replaced with the user's BP avatar...

just to be sure, are you running bp integration plugin v0.98?

the real question still remains as to why we are getting the thumb vs full from bp...

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

can you revert that code change so I can look into this? eh,  you are gone... I will do it via ftp so I can test...

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

Okay, I have completely misunderstood what you were saying the issue was...  looking back through the thread, think there was a terminology issue...

you ARE getting the fullsize BP image and NOT a thumbnail...  That part is working great...

but what you are getting is a size constrained avatar...  in other words, you are getting the full sized BP avatar, but the image tag has a width='50' attribute on it...  so its making it appear as a thumbnail, but its really not...

the reason for this is because of the default sp avatars you are using...  The default sp avatar is 50px by 50px...  so based on your avatar priorities, since no one has an sp uploaded avatar, you will always get the sp default avatar...  you have set the max profile avatar size to 150px... not, that is a max... so users can upload something smaller - and the defaults are smaller as you have them on your server (they are just what we delivered)...  so when the sp avatar is determined, if the avatar that will be used (keep in mind, the bp plugin has not acted on the hook yet to replace) is smaller than the max width, the avatar gets a width attribute of its width...  This is to keep the avatar image from getting enlarged and looking poor... of course, if the avatar width is larger than the max, if will limit it...

I did comment out that line of code for you so it works... you will see it as:

//                    if ($avdata[0] < $avatarData->size) $avatarData->size = $avdata[0];

I will open a discussion on our end too...  perhaps there is no reason for us to put a fixed width in there... if the avatar size is less than the max, we might could be able to leave off the width parameter (though there are other benefits to always having a width on imgs)...

a more permanent fix (until if and when we change something) for you would be to simply resize the sp default avatars (there are 3 of them) to be 150x150px... would solve it for you too...

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

great answer thanks

I'm open for any easy solution :)

How can I change default wp size easily, is it a settings in wp, or in the theme ?

I can probably do the change yes, i'll look into it

Our avatars were all loaded by buddypress, in a 150pix size, we do not really use wp avatars, in the forum avatar panel, i tried all priorities order but all had the low quality effects in the end.

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

quality was fine, just the size wasnt...

in wp-content/sp-resources/forum-avatars (or where ever your sp avatars are stored), there will be three that come with sp... admin, user and guest...  just resize them to be 150px by 150px...

your issue should go away...

we dont have a way to force a specific size - just a max size...  you could of course filter the avatar before its output and make it whatever size you wanted...

Avatar
ToySoldiersUnite
Member
Free Members
sp_UserOfflineSmall Offline
Aug 3, 2013 - 9:26 am

I should keep a closer eye on by inbox. Turns out the memory allocation issue I was experiencing was in fact down to the avatar settings. Honestly I had been following the thread, I just must've missed the part where it became relevant to my own issue.

So yes, changed the avatar priorities, and it ended the issue and finally got to upload the buddypress plugin without it causing the site to spit up errors. I can finally play about with all the settings now.

Thank you Mr. Papa for your help!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 3, 2013 - 10:16 am

good news Sgt Dutch!  thanks for the update.

Avatar
Kevin Bowers
Member
Free Members
sp_UserOfflineSmall Offline
Aug 3, 2013 - 12:58 pm

Since the simple press forum update I did yesterday the buddypress plugin isn't working properly. When posts appear on my activity stream from the forum they are showing up broken.

Here is an example:

Original forum post: http://vapersplace.com/forum/a.....telescopic

Post on the activity stream, it's the most recent activity - http://vapersplace.com/members.....avidvaper/

 

 

 

Avatar
ToySoldiersUnite
Member
Free Members
sp_UserOfflineSmall Offline
Aug 3, 2013 - 3:27 pm

Ok, so now I got that sorted, I have a question in regards to buddypress groups. These are public/private/problem-with-post-edit-buttonidden groups that people can belong to (in our case we call them divisions since we're a parody army).

In fact, they're the ONLY reason we've still got buddypress, since everything else can be handled by SP.

For clarification, these aren't user groups with various permissions. Each group has its on admin (and/or) moderator to handle join requests/denials, and formerly moderate the forum that each would be assigned (this got dropped since BP dropped bbpress). Each group get's its own page and an activity feed.

So the question is this. How would one go about inserting the list of groups a user is part of from a BP profile to an SP profile?

And is there any likelihood of there being a plugin for SP to replace the BP groups system? (please say yes, please yes, or PM me a price quote if it might be a custom jobbie).

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 3, 2013 - 3:33 pm

I will need Steve (Mr Papa) to answer the question regarding displaying the BP groups within SP.

But it seems to me that this could all be probably done with SP User Groups which, while primarily a security/access control feature can also be used to simply group up your members. This is probably exemplified by a large number of school teachers who use SP and create user groups based around their different classes.

andy-signature.png
YELLOW
SWORDFISH
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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625