Notifications
Clear all

wpForo 1.x.x [Solved] Issue with avatars from external sources

6 Posts
4 Users
2 Likes
2,451 Views
Posts: 8
Topic starter
(@pierre)
Active Member
Joined: 6 years ago

Hello all!

First of all I want to say wpForo rocks. Amazing plugin! Thanks for it!

Here are my small-but-annoying issue:
I'm using Super Socializer for social login. User's avatar is "sourced" from the social network used for login (i.e. Facebook, Twitter, etc.) and its url is something like

//graph.facebook.com/xxxxxxxxxxx/picture?type=large

For avatar in profile header, wpForo add a 

?lm=yyyyyyyy

so the profile image url is something like

//graph.facebook.com/xxxxxxxxxxx/picture?type=large?lm=yyyyyyyy

and of course... it fails (the cause is the two ? in the url).

For now I've made a patch for the wpforo_user_avatar function in /wpforo/wpf-includes/functions-template.php but it will be crushed by next wpForo update.

My question is: is it possible have a new version of this function in the next update? If no, how can I manage to replace "?lm=yyyyyy" by something like "&lm=yyyyyyyy"? (I've not seen any available hook for that).

Thanks in advance.
Pierre

 

 

5 Replies
Robert
Posts: 10499
Admin
(@robert)
Support Team
Joined: 8 years ago

Thank you Pierre Lannoy,

We'll care about this problem and fix it in next release.

Posts: 8
Topic starter
(@pierre)
Active Member
Joined: 6 years ago

Wow! Thank you for your responsiveness...

Wendell
Posts: 242
(@wendell)
Reputable Member
Joined: 7 years ago
Posted by: Pierre Lannoy

Wow! Thank you for your responsiveness...

These guys are awesome.

Posts: 1
(@paulparis75)
New Member
Joined: 6 years ago

Hello

Very nice plugin

I am in the same case than Pierre also using Super Socializer for social login and the prob is with Facebook and also Twitter

Thanks

Paul

Page 1 / 2