Help
Ask questions about how to do or fix things in Arrowchat
User avatar
Artax
Customer
 
Posts: 4
Joined: 10 Feb 2012, 05:22

 

by Artax 11 Feb 2012, 14:41

Hi all.

Everything's working except the popout buddy list which doesn't show the users' avatars.
The url appears to be borked, trying to pull the website URL then the image's full URL again.
example; http://www.websiteurl.com/http://www.we ... tar123.png

I'm a little bit of a n00b, but had a look at the index.php in /arrowchat/popout but can't see anything obvious that I'd be able to tweak and fix.

Help muchly appreciated!


1.07 running on IP.Board 3.2.3.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 11 Feb 2012, 14:54

Open up the includes/functions_receive.php file and modify the getAvatar function. It should be returning a relative path instead of a full URL. AKA remove:

Code: Select all
$INFO['board_url']


We'll be fixing this next version.
User avatar
Artax
Customer
 
Posts: 4
Joined: 10 Feb 2012, 05:22

 

by Artax 18 Feb 2012, 08:50

Confirmed fix.

Thanks!
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.