The Shoutbox / Chat

Questions, suggestions and comments regarding Phantasy Star Cave goes here

Re: The Shoutbox / Chat

Postby BenoitRen » Thu Apr 28, 2011 2:31 pm

Here's what I think needs to happen:
  • Reverse the archive order. Reading from bottom to top isn't pleasant. It also means that every chat line bumps everything down one notch, which means it's possible to miss a line when switching pages because the previous page's last line has bumped to the current page's top.
  • Have sound off by default.
  • Make the archive member-only.
  • Make it stop relying on jQuery (I'll work on this when I have some time)
  • Make it usable without JavaScript (only issue is not being able to submit your chat line)
Get Xenoblade Chronicles!
User avatar
BenoitRen
Moderator
Moderator
 
Posts: 3122
Joined: Fri Jul 27, 2007 5:19 pm
Location: Belgium

Re: The Shoutbox / Chat

Postby Missagh » Thu Apr 28, 2011 2:40 pm

Have sound off by default.

Why?
Make the archive member-only.

I can do that easily if there are requests for it. I believe I asked this earlier but didnt get any replies from anyone...
Make it stop relying on jQuery (I'll work on this when I have some time) - Make it usable without JavaScript (only issue is not being able to submit your chat line)

Feel free to adjust it, however let me know before you let anything go live. Will the changes affect how the chat runs for the user? And also why no jQuery? JQuery even works for IE6 if I am not mistaken :D
Reverse the archive order.

I will see if that change is easy to make...
-- Missagh Alami, webmaster of Phantasy Star Cave.
User avatar
Missagh
The Administrator
The Administrator
 
Posts: 1189
Joined: Mon Jan 02, 2006 3:16 am
Location: Sweden and UK

Re: The Shoutbox / Chat

Postby Zucca » Thu Apr 28, 2011 3:55 pm

Lag is the worst. Otherwise it's quite ok.
I am NaN!
User avatar
Zucca
Neifirst
Neifirst
 
Posts: 1916
Joined: Sun Sep 23, 2007 7:06 pm
Location: Rasi, Kouvola, Finland

Re: The Shoutbox / Chat

Postby BenoitRen » Thu Apr 28, 2011 5:08 pm

The "Use sound?" option isn't saved, so if one doesn't want sound, (s)he has to turn it off each time. Not everyone does, and so it scares some users something fierce when suddenly something is blaring out of their speakers (see the archive for today's instance, which prompted my suggestion).

Regarding jQuery, JavaScript libraries suck because they have to be loaded and parsed entirely every time, even if only some of their functions are used. This slows down loading and operation unnecessarily. In most cases jQuery isn't even needed today and has been resorted to out of laziness.

Don't worry, I'll experiment with my own board style, as usual. ;)
Get Xenoblade Chronicles!
User avatar
BenoitRen
Moderator
Moderator
 
Posts: 3122
Joined: Fri Jul 27, 2007 5:19 pm
Location: Belgium

Re: The Shoutbox / Chat

Postby Missagh » Thu Apr 28, 2011 7:20 pm

The "Use sound?" option isn't saved, so if one doesn't want sound, (s)he has to turn it off each time. Not everyone does, and so it scares some users something fierce when suddenly something is blaring out of their speakers (see the archive for today's instance, which prompted my suggestion).

Actually it is very possible to turn of the sound entirely and have it saved. I remember informing everyone earlier but must have used the shoutbox for it and therefor not everyone saw it. If you go to your control panel and click the mchat tab, you can adjust settings there :)

Regarding jQuery, JavaScript libraries suck because they have to be loaded and parsed entirely every time, even if only some of their functions are used. This slows down loading and operation unnecessarily. In most cases jQuery isn't even needed today and has been resorted to out of laziness.

Well if we would use Google's jQuery, then it will most likely be cached for most visitors as most websites use that one to avoid the loading.
-- Missagh Alami, webmaster of Phantasy Star Cave.
User avatar
Missagh
The Administrator
The Administrator
 
Posts: 1189
Joined: Mon Jan 02, 2006 3:16 am
Location: Sweden and UK

Re: The Shoutbox / Chat

Postby BenoitRen » Thu Apr 28, 2011 7:27 pm

The file will be cached, but it still has to be parsed each time. Additionally, using external resources is a security risk.
Get Xenoblade Chronicles!
User avatar
BenoitRen
Moderator
Moderator
 
Posts: 3122
Joined: Fri Jul 27, 2007 5:19 pm
Location: Belgium

Re: The Shoutbox / Chat

Postby Missagh » Thu Apr 28, 2011 7:48 pm

How can it be a security risk to use Google's jQuery? :)
-- Missagh Alami, webmaster of Phantasy Star Cave.
User avatar
Missagh
The Administrator
The Administrator
 
Posts: 1189
Joined: Mon Jan 02, 2006 3:16 am
Location: Sweden and UK

Re: The Shoutbox / Chat

Postby BenoitRen » Thu Apr 28, 2011 8:17 pm

Someone can hack Google and replace jQuery by malicious code. This kind of thing happens. Just ask Black Sword about his visit to Wikia, which hosts ads from external sources, which introduced malware to his system.
Get Xenoblade Chronicles!
User avatar
BenoitRen
Moderator
Moderator
 
Posts: 3122
Joined: Fri Jul 27, 2007 5:19 pm
Location: Belgium

Re: The Shoutbox / Chat

Postby Dr_Odin » Thu Apr 28, 2011 8:24 pm

Is Black Sword a he? isnt Black Sword a female?
"Cannabis forgivness to the merciful mercy of Rune's Thrayness!" - Dr_Odin's preach in the shoutbox.
User avatar
Dr_Odin
Blastoid
Blastoid
 
Posts: 120
Joined: Wed Feb 13, 2008 11:45 pm

Re: The Shoutbox / Chat

Postby Zucca » Thu Apr 28, 2011 8:42 pm

Oh please... Loading and parsing ~80kb .js -file is an issue?
Why don't we just transform this whole forum to a mailing list? Then everything would be in ASCII - no html, no scripts, no security issues.

All I ask is a reality check at this point.
I am NaN!
User avatar
Zucca
Neifirst
Neifirst
 
Posts: 1916
Joined: Sun Sep 23, 2007 7:06 pm
Location: Rasi, Kouvola, Finland

Re: The Shoutbox / Chat

Postby BenoitRen » Thu Apr 28, 2011 9:57 pm

Yes, it is an issue. Not all computers and browsers are as beefy as yours, and they're real. Dial-up connections are also still real.

You have no place to lecture me on my craft, sir.
Get Xenoblade Chronicles!
User avatar
BenoitRen
Moderator
Moderator
 
Posts: 3122
Joined: Fri Jul 27, 2007 5:19 pm
Location: Belgium

Re: The Shoutbox / Chat

Postby Missagh » Mon May 16, 2011 3:24 pm

The 10 second posting limit has been decreased to 3 seconds.
-- Missagh Alami, webmaster of Phantasy Star Cave.
User avatar
Missagh
The Administrator
The Administrator
 
Posts: 1189
Joined: Mon Jan 02, 2006 3:16 am
Location: Sweden and UK

Re: The Shoutbox / Chat

Postby Zucca » Mon Jun 13, 2011 9:21 am

If you need to keep jQuery you should host own jQuery.

Anyway. I think chat needs an option: "Display new posts on chat".
Is this doable?
I am NaN!
User avatar
Zucca
Neifirst
Neifirst
 
Posts: 1916
Joined: Sun Sep 23, 2007 7:06 pm
Location: Rasi, Kouvola, Finland

Re: The Shoutbox / Chat

Postby Missagh » Mon Jun 13, 2011 1:06 pm

Will probably add jQuery with the new design of the site regardless.

Do you mean that it makes a shout when new topics are created? If that is what you are requesting, I did already make that modification for a while ago ;)
-- Missagh Alami, webmaster of Phantasy Star Cave.
User avatar
Missagh
The Administrator
The Administrator
 
Posts: 1189
Joined: Mon Jan 02, 2006 3:16 am
Location: Sweden and UK

Re: The Shoutbox / Chat

Postby BenoitRen » Mon Jun 13, 2011 1:10 pm

Missagh wrote:Will probably add jQuery with the new design of the site regardless.

Not if it's up to me!
Do you mean that it makes a shout when new topics are created?

He asked for posts, not topics.
Get Xenoblade Chronicles!
User avatar
BenoitRen
Moderator
Moderator
 
Posts: 3122
Joined: Fri Jul 27, 2007 5:19 pm
Location: Belgium

PreviousNext

Return to Site related

Who is online

Users browsing this forum: No registered users and 4 guests

cron