Chat Archive
avatar.php?userid=35113

03 Apr 2011 22:07 by James Kanjo. Edited 0 times.
First message!

avatar.php?userid=35113

03 Apr 2011 22:10 by James Kanjo. Edited 0 times.
Second message!

[[footnoteblock]]

avatar.php?userid=35113

03 Apr 2011 22:10 by James Kanjo. Edited 0 times.
Third message!

[[footnoteblock]]

avatar.php?userid=35113

03 Apr 2011 22:11 by James Kanjo. Edited 0 times.
Fourth message!

[[footnoteblock]]

avatar.php?userid=47197

03 Apr 2011 22:24 by tsangk. Edited 0 times.
Good morning James!

[[footnoteblock]]

avatar.php?userid=47197

03 Apr 2011 22:25 by tsangk. Edited 0 times.
Wow! Now it works on iOS safari!

[[footnoteblock]]

avatar.php?userid=47197

03 Apr 2011 22:34 by tsangk. Edited 0 times.
Offta school now :D
Bye James!

[[footnoteblock]]

avatar.php?userid=35113

03 Apr 2011 23:52 by James Kanjo. Edited 0 times.
Hi Kenneth, I'm off to work as well. It's not quite finished yet, just a couple of bugs I need to iron out :-)

[[footnoteblock]]

avatar.php?userid=35113

04 Apr 2011 00:07 by James Kanjo. Edited 0 times.
Nine

[[footnoteblock]]

avatar.php?userid=35113

04 Apr 2011 00:08 by James Kanjo. Edited 0 times.
Ten

[[footnoteblock]]

avatar.php?userid=35113

04 Apr 2011 00:08 by James Kanjo. Edited 0 times.
Eleven!

[[footnoteblock]]

avatar.php?userid=35113

04 Apr 2011 15:26 by James Kanjo. Edited 0 times.
Funny bug, I can't work it out… the “Currently Active Users” section should be 200 pixels wide, and be aligned to the right (adjacent to any visible vertical scroll bars). Can anybody work it out?

[[footnoteblock]]

avatar.php?userid=47197

04 Apr 2011 22:30 by tsangk. Edited 0 times.
Strange… it appears that the first <td> isn't extending to it's full length…

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 01:54 by tsangk. Edited 0 times.
Works at school :P

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 01:58 by tsangk. Edited 0 times.
James, I found the problem.

Remove the display:block;

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 02:00 by tsangk. Edited 0 times.
Another bug? "Currently active users"…

tsangk
tsangk
tsangk
tsangk
sangk
ngk
k
tsangk#tsangk

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 06:32 by tsangk. Edited 0 times.
Actually, solution:
*http://chat.wdfiles.com/local--code/css:2**

1| .chat-active {width:200px !important;}
2| 
3| ......

chatarchive

1| [[module CSS]]
2| @import url(...
3| .chat-active {width:0px;overflow:hidden;}
4| [[/module]]
5| ...

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 06:39 by tsangk. Edited 0 times.
I made some changes. Fixes for Chrome… haven't tested for other browsers. Basically, instead of adjusting display in style, the width is adjusted. If css:2 isn't applied, the width is 0px with overflow set as hidden. When it is, the width is set to 200px with !important.

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 06:42 by tsangk. Edited 0 times.
Also, are you aware of the bug is the currently active users?

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:33 by James Kanjo. Edited 0 times.

James, I found the problem.
Remove the display:block;…

Golly! You're right! I (correctly) used the "display: none;" tag to hide the cell, but I incorrectly used the "display: block;" tag to show it.

I have since updated it to the correct "display: table-cell;" tag.

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:37 by James Kanjo. Edited 0 times.

Instead of adjusting display in style, the width is adjusted. If css:2 isn't applied, the width is 0px with overflow set as hidden. When it is, the width is set to 200px with !important.

Impressive workaround! I have reverted the system back to the "display" method, which I like better because some browsers don't know how to handle text-overflow very well. All browsers know how to handle display methods.
Still, impressive workaround!

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:37 by James Kanjo. Edited 0 times.
It's thinking outside the box!

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:45 by James Kanjo. Edited 0 times.

Also, are you aware of the bug is the currently active users?

Yeah, I was. It's fixed now :)

Which means this chat upgrade is ready to go live!

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 12:51 by tsangk. Edited 0 times.
Awesome :D

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:51 by James Kanjo. Edited 0 times.
Mind you, it's not really that much of an upgrade. It's simply a few backend changes to simplify the structure. I didn't like that you needed to create 8 pages on your site to install the application. Now there's only 4 pages to create. And thanks to the advent of CSIs, this framework becomes much much easier to push updates and fixes.

Currently the Chat application is not flexible in terms of customisation. But that will come later.

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:54 by James Kanjo. Edited 0 times.
Oh, something that I've had planned to do was to upgrade the code for the “new message” alert. Currently it uses Flash to play the sound, but I would rather implement a HTML5 solution… this would increase compatibility amongst devices (especially iOS devices).

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 12:56 by tsangk. Edited 0 times.
Yes, the installation looks much simplified…

I have since updated it to the correct "display: table-cell;" tag.

I looked at Chrome's developer tools and it said display:table cell (with the space)… I tried that and realised it didn't work and reverted to adjusting the width :D

Oh, something that I've had planned to do was to upgrade the code for the “new message” alert. Currently it uses Flash to play the sound, but I would rather implement a HTML5 solution… this would increase compatibility amongst devices (especially iOS devices).

Yeah, I haven't tried the new <audio> tag in iOS, does it work like the flash or as a separate player (like the <video> tag?

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 12:59 by James Kanjo. Edited 0 times.
It's all new to me, to be honest. I remember playing with the audio tag several months ago, and there were issues. For example, FireFox wouldn't play .mp3 sounds at the time, but every other browser worked. I don't know how much has changed since then though…

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:00 by tsangk. Edited 0 times.
And for some strange reason, I was a member of this site "537 days ago"….
I don't remember joining…

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:01 by tsangk. Edited 0 times.
I think there are ready-made scripts to switch between Flash and HTML5 <audio> tag when they are capable :D

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:01 by James Kanjo. Edited 0 times.
This was originally an IronGiant Redirect site (your creation). It redirected you to "chatroom.wikidot.com"

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:03 by James Kanjo. Edited 0 times.
Well, that's what I was thinking too. I remember dwelling amongst "browser detection" code in order to manufacture something like that myself. Apparently browser detection is a discouraged technique in web development, however.

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:04 by James Kanjo. Edited 0 times.
Do you like the new chatroom sound?

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:06 by tsangk. Edited 0 times.

This was originally an IronGiant Redirect site (your creation). It redirected you to "chatroom.wikidot.com"

Ahh… but Pieter is MA.

Do you like the new chatroom sound?

I don't have speakers… I'll go and find some headphones…

HTML5 MP3 Audio Detection: https://gist.github.com/253174

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:13 by James Kanjo. Edited 0 times.
Thanks for the link Kenneth!

Let's try it out aye?

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:16 by tsangk. Edited 0 times.
Okay… BTW, I just switched to my iPod… I turned my PC off…

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:19 by tsangk. Edited 0 times.
Another suggestion: improve/modify the 'saving page'/'page saved' dialog. I like the was Bryce did it to his comments on css3.wikidot.com… AJAX-style loader > Smiley Face.

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:22 by James Kanjo. Edited 0 times.
That's a great idea! As you've probably noticed, I was inspired by Shane's forum posts… what do you think?

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:27 by tsangk. Edited 0 times.
What forum posts?

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:29 by James Kanjo. Edited 0 times.
http://www.wdeditor.com/thread:159

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:33 by tsangk. Edited 0 times.
You mean for the layout of the new chat message box?

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 13:33 by James Kanjo. Edited 0 times.
Yeah :)

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:35 by tsangk. Edited 0 times.
And for some strange reason, none of Wikidot's odate spans work on Safari for iOS…

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:36 by tsangk. Edited 0 times.
I like it. It's simple and easy to see with the large avatars showing.

[[footnoteblock]]

avatar.php?userid=47197

05 Apr 2011 13:44 by tsangk. Edited 0 times.
Well, goodnight James. I have a science practical exam tomorrow. Gotta get to bed now… Talk to you soon!

[[footnoteblock]]

avatar.php?userid=35113

05 Apr 2011 14:07 by James Kanjo. Edited 0 times.
Good luck!

[[footnoteblock]]

avatar.php?userid=35113

06 Apr 2011 01:23 by James Kanjo. Edited 0 times.
I implemented a new method of Avatar Grabbing: JavaScript Avatar Grabber.

I've found it loads a bit faster than the server method :)

[[footnoteblock]]

avatar.php?userid=35113

06 Apr 2011 01:56 by James Kanjo. Edited 0 times.
Okay, I'm bringing this live to the actual chatroom.

[[footnoteblock]]

avatar.php?userid=35113

06 Apr 2011 04:46 by James Kanjo. Edited 0 times.
I ended up converting to HTML5/Flash via the W3Schools HTML5 standards: <audio> tag

[[footnoteblock]]

avatar.php?userid=35113

06 Apr 2011 13:23 by James Kanjo. Edited 0 times.
I'm in the middle of implementing a mini version of the chatroom…

[[footnoteblock]]

page 1 of 212next »

Sorry! No users have been active over the past hour.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License