FreiChat related discussions
Avatar not appear in chat

My avatar presenting, but other users avatar is as "X"

My avatar presenting, but other users avatar is as "X"

Hi,

Can you right click that image and paste the image link here ?

Hi, Can you right click that image and paste the image link here ?

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"

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"

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

look, this is sample url to avatar which is NOT works with chat: http://forumkavkaz.com/index.php?action=dlattach;attach=299;type=avatar forumkavkaz.com/index.php?action=dlattach;attach=299;type=avatar This is url, which works with chat: http://foto.forumkavkaz.com/upload/853666ad7467d72ff5b995a722f0933e.jpg foto.forumkavkaz.com/upload/853666ad7467d72ff5b995a722f0933e.jpg
edited Dec 23 '14 at 4:46 pm

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';
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 ```php $list[$i]['avatar'] = $murl . 'attachments/' . $row['id_attach'] . '_' . $row['avatar_attachment_url']; ``` with ```php $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 ?

hah, now not works such tipe avatars in chat http://foto.forumkavkaz.com/upload/d267c505cf83a7235c908e2afdc81043.jpg foto.forumkavkaz.com/upload/d267c505cf83a7235c908e2afdc81043.jpg Can we add additional string in in freichat/server/drivers/SMF2.php ?
edited Dec 25 '14 at 6:25 pm

You can edit the same file and change the url based on a condition.

Let us know if you want help doing this.

You can edit the same file and change the url based on a condition. Let us know if you want help doing this.

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.

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.
edited Dec 26 '14 at 12:46 pm

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.

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.

>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.
edited Dec 26 '14 at 4:06 pm

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?

>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?
edited Dec 26 '14 at 4:23 pm

Hi,

You can revert the changes now.

We will try to replicate your setup in our localhost and post the solution.

Hi, You can revert the changes now. We will try to replicate your setup in our localhost and post the solution.

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.

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.
12
807
29
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft