it's not giving "copy link".
If you will go to http://forumkavkaz.com/index.php you will see two users in chat. One is normal avatar, second (1to1) is "X"
aha, chrome gave link: http://forumkavkaz.com/attachments/299_bb662415c591160625eda31c1f9d6205791d1665
Hi,
Can you try giving read permissions to attachments directory since the url
http://forumkavkaz.com/attachments/299_bb662415c591160625eda31c1f9d6205791d1665
is giving a 403 forbidden error.
look, this is sample url to avatar which is NOT works with chat:
forumkavkaz.com/index.php?action=dlattach;attach=299;type=avatar
This is url, which works with chat:
foto.forumkavkaz.com/upload/853666ad7467d72ff5b995a722f0933e.jpg
Hi,
Which version of SMF are you using ?
Can you make the following change in freichat/server/drivers/SMF2.php
On lines 106 and 145,
Replace
$list[$i]['avatar'] = $murl . 'attachments/' . $row['id_attach'] . '_' . $row['avatar_attachment_url'];
with
$list[$i]['avatar'] = $murl . 'index.php?action=dlattach;attach=' . $row['id_attach'] . ';type=avatar';
hah, now not works such tipe avatars in chat

foto.forumkavkaz.com/upload/d267c505cf83a7235c908e2afdc81043.jpg
Can we add additional string in in freichat/server/drivers/SMF2.php ?
adesh, we are playing ping pong. Can you read more attention the problem?
With chat works first type of avatar or another. SMF works with BOTH type of avatars. Chat not shown BOTH type of avatars.
What I can edit in mentioned file to make BOTH type of avatars workable?
THis both together, in same time, not works with chat:
Type-1: forumkavkaz.com/index.php?action=dlattach;attach=299;type=avatar
Type-2: foto.forumkavkaz.com/upload/853666ad7467d72ff5b995a722f0933e.jpg
Before editing your file (as you asked: http://codologic.com/forum/index.php?u=/topic/1562/avatar-not-appear-in-chat/#post-6764) works first link. After editing, works second, but first -no.
Hi,
Yes, I know about the problem, but I cannot give a copy/paste solution without having any information about the profile avatars.
That was the reason we asked you to edit the file and make changes yourself.
If you can provide us with your FTP details, we can solve the problem immediately.
Hi,
Yes, I know about the problem, but I cannot give a copy/paste solution without having any information about the profile avatars.
That was the reason we asked you to edit the file and make changes yourself.
If you can provide us with your FTP details, we can solve the problem immediately.
Yes, I made copy/paste changes myself and first type avatar start work, but second stopped.
I'm not authorized to give ftp access to third part persons. Sorry. Need to some trouble approves. May be you can fix it yourself and give to me copy/paste solutions. I think you have SMF 2.0.9 for testings. You just need to make some users with avatars linked to other sites. This is second type avatar.
Can you tell us the different type of smf avatars you are using in your website.
We will replicate your settings in our localhost and try to fix the issue.
Can you tell us the different type of smf avatars you are using in your website.
We will replicate your settings in our localhost and try to fix the issue.
One type is attached on my website: forumkavkaz.com/index.php?action=dlattach;attach=299;type=avatar
second type is any avatars linked from any third party web sites.
example: foto.forumkavkaz.com/upload/d267c505cf83a7235c908e2afdc81043.jpg
Also clients can use any other hostings and I do not know how it will be?
Be attention, that in "fectory default" SMF 2.0.9 third party link avatars will work but integrated in forum avatars -no. After changes in smf2.php, that you gave to me earlier, integrated avatars start works. Also third party linked avatars work, which was working in chat before changing in smf2.php, but new chat users with such linked from other sites avatars, not works. That mean chat remember old avatars.
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.