Forums
First  << 1 >>  Last
Forum Main>>Bugs & Issues>> opening chat with someone
Faygo

ID: 1358862
Level: 30
Posts: 442
Score: 13
7th Faygo [1358862]Reply | Quote | Report

Thread created on Sat Jun 09, 2012 22:22:13
Last replied to on Sun Jun 24, 2012 23:59:39
when i go to my friends profile while traveling the chat button disappears and it wont let me use chat but i keep going through profiles and its only certain people it disappears on ill try and get a screenshot real quick.

for some reason i cant find anyone i can open chat with the button disappears on every profile
bug2.png

Last Edited: Sat Jun 09, 2012 23:30:10
Super secret reinforced spam barrier 2.0
Marc

ID: 24377
Level: 64
Posts: 5553
Score: 3442
JUXMarc [24377]Reply | Quote | Report

Posted on Sat Jun 09, 2012 23:30:36
They could be using mobile mode?

Super secret reinforced spam barrier 2.0
Faygo

ID: 1358862
Level: 30
Posts: 442
Score: 13
7thFaygo [1358862]Reply | Quote | Report

Posted on Sat Jun 09, 2012 23:33:17
well dang i tried like 10 different profiles and some were even offline and my friend said he was using his computer again

Super secret reinforced spam barrier 2.0
Faygo

ID: 1358862
Level: 30
Posts: 442
Score: 13
7thFaygo [1358862]Reply | Quote | Report

Posted on Sat Jun 09, 2012 23:40:26
are you using mobile?


bug4.png

Super secret reinforced spam barrier 2.0
Two

ID: 1290648
Level: 75
Posts: 11445
Score: 5360
[ĞA]Two [1290648]Reply | Quote | Report

Posted on Sun Jun 10, 2012 06:37:34
Confirming this one for Chedburn, I went on laptop and on a profile of someone actively speaking in Global (thus on full torn) there was no icon to initiate chat from the profile.

9cc1e98e.png

Check out my latest sig auction!
http://www.torn.com/forums.php?forumID=23&ID=14977867
Super secret reinforced spam barrier 2.0
Marc

ID: 24377
Level: 64
Posts: 5553
Score: 3442
JUXMarc [24377]Reply | Quote | Report

Posted on Sun Jun 10, 2012 16:33:54
I wasn't use mobile at the time

Super secret reinforced spam barrier 2.0
Chedburn

ID: 1
Level: 35
Posts: 7240
Score: 12649
Chedburn [1]Reply | Quote | Report

Posted on Mon Jun 11, 2012 12:41:32
Have you ignored him, or he you?

Ched.jpg
Super secret reinforced spam barrier 2.0
Faygo

ID: 1358862
Level: 30
Posts: 442
Score: 13
7thFaygo [1358862]Reply | Quote | Report

Posted on Mon Jun 11, 2012 12:55:56
nope i was messaging him and checking the laptop while traveling got annoying so i was going to open chat but the button wasnt there just a blank box where it use to be

Super secret reinforced spam barrier 2.0
Marc

ID: 24377
Level: 64
Posts: 5553
Score: 3442
JUXMarc [24377]Reply | Quote | Report

Posted on Mon Jun 11, 2012 14:05:50
I'm definitely not ignored with the user either

Super secret reinforced spam barrier 2.0
X5-

ID: 1576955
Level: 57
Posts: 2507
Score: 1429
OBX5- [1576955]Reply | Quote | Report

Posted on Mon Jun 11, 2012 16:48:38
This is just a problem that just happens at the laptop for me.

"My story is one of many thousands, and the world will not suffer if it ends too soon".
Super secret reinforced spam barrier 2.0
Faygo

ID: 1358862
Level: 30
Posts: 442
Score: 13
7thFaygo [1358862]Reply | Quote | Report

Posted on Mon Jun 11, 2012 16:53:07
yea i just noticed that

Super secret reinforced spam barrier 2.0
Chedburn

ID: 1
Level: 35
Posts: 7240
Score: 12649
Chedburn [1]Reply | Quote | Report

Posted on Mon Jun 11, 2012 17:38:35
This is because it's in an iframe. There's no easy way to fix this that I can find. We'll need to wait for the new chat system which should resolve it.

Ched.jpg
Super secret reinforced spam barrier 2.0
cyberdude

ID: 1613175
Level: 47
Posts: 850
Score: 1097
NuBzcyberdude [1613175]Reply | Quote | Report

Posted on Sun Jun 24, 2012 23:59:39
"This is because it's in an iframe. There's no easy way to fix this that I can find. We'll need to wait for the new chat system which should resolve it."
This is also plain wrong. Ask the users in my faction (The users of my script) to confirm that I fixed chat on laptop using my script.

The only thing wrong with the chat on the laptop is that the corresponding javascripts aren't even loading!

My script quite simply injects the corresponding JS files
/js/jquery.js
/js/jstorage.min.js
/js/base.js
/js/longpoll.js
/js/chat.js

and the css file /css/chat.css
And triggers top.chat.start(), voila Chat is enabled on laptop.

Here the part of the userscript that injects the files (The reason it's written this way is that the userscript needs to fully load the javascript in this particular order for it to work):

addLaptopChatScript(1);
addCSS('/css/chat.css');

function addLaptopChatScript(i)
{
var callback = function(){addLaptopChatScript(i+1);};
var file;
if(i==1)
file = '/js/jquery.js';
else if(i==2)
file = '/js/jstorage.min.js';
else if(i==3)
file = '/js/base.js';
else if(i==4)
file = '/js/longpoll.js';
else if(i==5)
{
callback = function(){
unsafeWindow.top.chat.start();
};
file = '/js/chat.js';
}
addScript(file,callback);
}

function addScript(file,callback)
{
var script = document.createElement("script");
script.type = "text/javascript";
script.src = file;
script.addEventListener('load', callback);
document.getElementsByTagName('head')[0].appendChild(script);
}

function addCSS(file,callback)
{
var script = document.createElement("link");
script.type = "text/css";
script.rel = "stylesheet";
script.href = file;
script.addEventListener('load', callback);
document.getElementsByTagName('head')[0].appendChild(script);
}



Last Edited: Mon Jun 25, 2012 00:02:49
Forum Main>>Bugs & Issues>> opening chat with someone
First  << 1 >>  Last