Help
General ArrowChat talk that doesn't fit any other forum.
User avatar
winzbro
Free
 
Posts: 4
Joined: 28 Dec 2016, 03:56

 

by winzbro 29 Dec 2016, 06:46

Hello,

I've noticed that the chat fails to retrieve the profile picture from IPS4 (Invision Power Suite 4) because it is accessing the wrong link.

The chat is attempting to display the PP via this wrong link: http://www.my**web.com/arrowchat/public/uploads/monthly_2016_12/happy-new-year-wallpapers-2016.thumb.png.f8be3760b9fde59a02999b868a552795.png

While the correct link should be; http://www.my**web.com/uploads/monthly_ ... 552795.png

For now, i've copied all PP files to /arrowchat/public/uploads folder and it is working.

Please fix.. I don't want to do this forever.
Regards,
User avatar
Jason
Customer
 
Posts: 2334
Joined: 12 Dec 2009, 16:06

 

by Jason 29 Dec 2016, 10:59

What is your base URL set to? Because the code in the integration.php file looks correct. This may be a problem with the base URL or where ArrowChat is placed on your server.
User avatar
Jason
Customer
 
Posts: 2334
Joined: 12 Dec 2009, 16:06

 

by Jason 29 Dec 2016, 13:32

Nevermind, I just figured out the problem. I've also updated the v2.0 package to fix this issue for anyone installing here on out.

Solution to fix this issue
Existing IP.Board users can fix this by opening the includes/integration.php file. Find:

Code: Select all
return '../uploads/' . $image;


REPLACE WITH:

Code: Select all
return $base_url . '../uploads/' . $image;
User avatar
NSharma
Customer
 
Posts: 23
Joined: 27 Nov 2016, 17:43

 

by NSharma 29 Dec 2016, 13:39

Ok that seems to have worked for me. Thanks
User avatar
winzbro
Free
 
Posts: 4
Joined: 28 Dec 2016, 03:56

 

by winzbro 10 Jan 2017, 15:36

Thanks!