AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] Issue with avatars from external sources

6 Posts
4 Users
2 Reactions
4,226 Views
Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@pierre)
Active Member
Joined: 8 years ago
[#5412]

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: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

Thank you Pierre Lannoy,

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


Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@pierre)
Active Member
Joined: 8 years ago

Wow! Thank you for your responsiveness...


Wendell
Posts: 252
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@wendell)
Reputable Member
Joined: 9 years ago
Posted by: Pierre Lannoy

Wow! Thank you for your responsiveness...

These guys are awesome.


Posts: 1
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@paulparis75)
New Member
Joined: 8 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
Share: