[Tutorial] How to fix profile pictures – UserPro Forums https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/feed/ Sun, 05 May 2024 14:51:15 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45315 <![CDATA[[Tutorial] How to fix profile pictures]]> https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45315 Sun, 04 Jan 2015 00:42:32 +0000 Mr.J Hi there!
Personally, I haven’t bought the plugin, I hope to buy it when I have enough money. I think it’s a good plugin. (:

I found a problem with avatars (profile images). I searched Google and I’ve watched many topics about it, all without a feasible solution. So I spent a few hours to solve it on my own, and I would leave this tutorial for people with the same problem can fix it.

The problem is that the image isn’t displayed in the profiles. How to fix? Very easy.
In FTP, go to userpro/functions/hooks-filters.php and in line 18 replace this:

$crop = bfi_thumb(get_site_url().(strpos($url,”http”) !== false ? urlencode($url) : $url),$params);

For this:

$crop = bfi_thumb($url);

I hope this can serve you all those who have not found a solution to your problem. Thank you very much for your attention. (:

]]>
https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45351 <![CDATA[Reply To: [Tutorial] How to fix profile pictures]]> https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45351 Tue, 06 Jan 2015 11:39:38 +0000 MJSupport UserPro Thank you so much 🙂

]]>
https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45429 <![CDATA[Reply To: [Tutorial] How to fix profile pictures]]> https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45429 Thu, 08 Jan 2015 07:58:03 +0000 themedutch will this be included in a next update?

]]>
https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45467 <![CDATA[Reply To: [Tutorial] How to fix profile pictures]]> https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45467 Fri, 09 Jan 2015 06:59:19 +0000 MJSupport UserPro Hi themedutch, This solution works for some site. We need to first test this with all possible server then only we can apply this update.

]]>
https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45630 <![CDATA[Reply To: [Tutorial] How to fix profile pictures]]> https://forum.userproplugin.com/forums/topic/tutorial-how-to-fix-profile-pictures/#post-45630 Mon, 19 Jan 2015 11:06:34 +0000 WildRocket Hi Mr.J

Thanks so much! Yes this worked for me and UserPro is now showing user photos. However, the user photo is now stretched. You can see what I mean here: http://wildrocket.com.au/userprophoto.png

Any suggestions?

Thanks again!

Rusty

]]>