View Full Version : New version chatbox
WetWired
2008-02-11, 10:25 PM
http://zelaron.com/forum/mychat.php
I'm in the process of completely rewriting the shoutbox. The first stage is complete, which you can check out at the link above.
New features so far:
Cleaner element positioning Net code doesn't stall (a feature because in the old version it did very easily) Last update time displayed so you can see if you're having connectivity issues Color Minimal updates reduce bandwidth usage Configurable font size Text doesn't scroll to the bottom unless you resize or someone sends a message Old messages remain on the box until you close it
Coming soon:
Recent threads populated New archive page Rewrite of corner chatbox
Please check it out on all browsers available to you and post issues in this thread.
!King_Amazon!
2008-02-11, 10:50 PM
Bravo, good sir.
KagomJack
2008-02-11, 11:16 PM
Bravo, good sir.
I second that.
WetWired
2008-02-13, 09:59 PM
By popular demand, the chatbox is now adjusted to not scroll to the bottom if you're not near the bottom already. We'll see if this causes other problems.
Goodlookinguy
2008-02-13, 10:04 PM
By popular demand, the chatbox is now adjusted to not scroll to the bottom if you're not near the bottom already. We'll see if this causes other problems.
That was a great idea to make it not scroll to the bloody bottom every time it refreshes. Good job WW, you are really on the ball right now.
EDIT: Still I wonder were you able to block html <object> scripts from running in the archived area?
WetWired
2008-02-13, 10:07 PM
That area is going away for a completely different version, anyway, but I isolated the bug.
Goodlookinguy
2008-02-13, 10:11 PM
Aw, all is well and good then. What is going to be different from the new one compared to the old one?
Thanatos
2008-02-14, 07:10 AM
I....
think I love you.
but I'll hate you in a week.
<3 in the words of borat
VERY NIIIIIIIIIIIIIICE
Goodlookinguy
2008-02-14, 11:48 AM
Where did all of this come from?
Where did all of what come from?
Goodlookinguy
2008-02-14, 01:02 PM
All of the nonsense, pure unadulterated nonsense.
I'm being serious, I'm glad there's new versions coming up, <3 to WW for making it happen.
Goodlookinguy
2008-02-14, 01:08 PM
I'm being serious, I'm glad there's new versions coming up, <3 to WW for making it happen.
No, not you. Thanatos' comment, it was nonsense.
Thanatos
2008-02-14, 02:14 PM
YOUR WHOLE EXISTANCE IS NONSENSE.
Assclown.
Goodlookinguy
2008-02-15, 01:29 AM
YOUR WHOLE EXISTENCE IS NONSENSE.
Yes, I know it is.
Nonsense is a great word, and I seem to be using it a lot lately.
*You spelled Existence wrong. In the quote I fixed it.
Thanatos
2008-02-15, 08:10 AM
u win this time cheese lover
prepare for round 2
Goodlookinguy
2008-02-15, 11:52 AM
You win this time cheese lover
prepare for round two.
There's a round two!?
Demosthenes
2008-02-16, 11:29 AM
Is there any way to get the chatbox to show up without restarting your browser once you have closed it?
WetWired
2008-02-16, 01:02 PM
What do you mean? The chatbox lives in a browser window.
Demosthenes
2008-02-16, 05:35 PM
Once I close the chatbox or shoutbox, is there any way to open it back up without having to restart Mozilla?
WetWired
2008-02-16, 05:36 PM
No, since it would be Mozilla that is running it.
WetWired
2008-02-17, 03:22 PM
The new log page is in place. I'm still working out what kind of stats I'm going to do.
The new corner chatbox is in place.
You can now personalize the color of your name in the chatbox (Click here, scroll down (http://zelaron.com/forum/profile.php?do=editoptions)). Don't abuse it.
Lenny
2008-02-17, 03:34 PM
Just something about the name colour which I said in the Chatbox, but you might have missed:
When the standard colour is selected, if you hover over the name, it turns white, as links are prone to do. If the user has a colour selected, however, and you hover over their name in the Chatbox, there is no change.
I don't know whether this is intentional or not. The cursor still turns into the hand, by the way, it's just that the link doesn't turn white on mouse hover.
WetWired
2008-02-17, 03:53 PM
Nothing I can do about that. Really, I'd rather the names be the normal text color, but since that varies, it's a pain to fix it up that way.
Lenny
2008-02-17, 03:55 PM
Can I ask how things like that work with the Chatbox?
And a question that's slightly off-topic, but still relevant - can PHP variables (I think would be the right name for them) be used in CSS documents?
WetWired
2008-02-17, 04:24 PM
Can I ask how things like that work with the Chatbox?Not sure what you mean.
You can use PHP variables in CSS if the CSS is being output by PHP
Lenny
2008-02-17, 04:34 PM
Sorry. What I mean is the name colour, mostly, and how it works as a link. What type of scripting is used to achieve that within the Chatbox?
The relation of CSS to this is that... in fact, I'll post some CSS code I use on my sites for menus:
A.menu:link {
color: #000000;
text-decoration: none
}
A.menu:visited {
color: #000000;
text-decoration: none
}
A.menu:active {
color: #FFFFFF;
text-decoration: none
}
A.menu:hover {
color: #FFFFFF;
text-decoration: none
}
I don't need to explain it to you.
My thoughts were that, if the Chatbox makes use of stylesheets for it's style, code such as that above could be used to set the links - for the first two (:link and :visited), the colour code could be replaced by a PHP variable, whilst the bottom two (:active and :hover) could have the #FFFFFF colour code to make them white.
Just to go to the PHP variable - I have very little knowledge of PHP, so I'm probably wrong, but is it possible to send what the user chooses as their name colour in their user options as a PHP variable, which can then be placed into something like that above?
---
I have doubts that above would work, but they're my thoughts on the link hover =/= white matter. A lot of fuss for a tiny... well, it's not even a problem. :p
WetWired
2008-02-17, 05:04 PM
The issue is that the PHP code doesn't have access to the default color and that the set color overrides the color for all states of the link, including hover.
Lenny
2008-02-17, 05:13 PM
Ah, fair enough. So to try and 'solve' it would mean re-writing a lot of the code? A hell of a lot of work for something that's purely aesthetic. :p
WetWired
2008-02-17, 07:29 PM
To prevent confusion, which was the true point of the colored names in the first place, I've put in place a system where colors are first-come, first-serve. If someone else is already in the chatbox with a name length close to yours and your selected color, you will be assigned the closest alternate.
For example, if Chruser (length 7, profile color red) is already in the chatbox, and Lenny (length 5, profile color red) joins, Lenny's name will be in orange instead of red.
Demosthenes
2008-02-18, 12:42 AM
Any way to still check shoutbox stats?
WetWired
2008-02-18, 07:39 AM
The old archive page is still up, though not for long.
WetWired
2008-02-29, 09:11 PM
And recent threads is live!
Asamin
2008-03-02, 03:29 AM
So whoever has the longest name gets to keep their color?
WetWired
2008-03-02, 02:17 PM
No, whoever is already using it gets to keep it. If there's someone already in the chatbox with a name of similar length using your color, your color gets changed for the session (not permenantly). This is so you can keep up with who's saying what without having to read the names, which was the whole point of adding the colors in the first place.
WetWired
2008-03-02, 03:01 PM
Opening the Chatbox no longer disables the Recent Chatbox Messages window. Instead, the Recent Chatbox Messages window is disabled as long as the Chatbox is open; once your Chatbox session expires, the Recent Chatbox Messages window will reappear on the next page load.
Also, I'm working out a technology in my head that will allow you to open the chatbox in the same window/tab as you're browsing in. I'm not sure if I can make it work, or how well it will work, ATM.
On the Recent Threads display in the chatbox, you can now clear the list and only threads with new posts since the last time you cleared it (during the session) will appear; this makes it easier to "bookmark" your spot.
WetWired
2008-03-07, 08:29 PM
Mini chatbox first stage is live. Right now it doesn't stay open between page loads. That's part of its second stage. In the meantime, feedback on the rest is welcome.
It's a lot less annoying than a popup when I type.
WetWired
2008-03-08, 01:05 PM
I also attempted to fix your z-order issue. Does it still appear under avatars?
Doesn't look like it. The weird flashing image (of wires, on Synthesis) that used to appear when I moused over someone's avatar is gone too.
Edit: spoke too soon. The weird flashing wires thing doesn't happen in THIS thread, but happens in others. Buh?
WetWired
2008-03-09, 09:47 PM
User join/leave notifications added at KA's request.
Thanatos
2008-03-10, 08:18 AM
Good going KA.
Here's a suggestion, get rid of the counter that displays people leaving and joining the chat, it just clusterfucks it up.
Goodlookinguy
2008-03-10, 10:27 AM
Here's a suggestion, get rid of the counter that displays people leaving and joining the chat, it just clusterfucks it up.
Yeah. It does really. Maybe a way to prevent multible "has left," "had joined" in a row from one user.
WetWired
2008-03-10, 11:55 AM
Trust me, I've been thinking the same thing since I implemented it, but I'm not sure how to make it work. When I get home, I'm going to disable them on the recent messages display, though.
I'm thinking atleast make the timeout longer, instead of 1 minute or whatever it's set at, put it more like 30 minutes, and no duplicates within 30 minutes or something...
WetWired
2008-03-10, 12:51 PM
At that time scale, it would be useless. As I said, I wanted to remove in and out messages with no messages between them (on the log or when starting, but you'd still get them if you were in-channel ATM), but there's no point in telling you that someone has left the chat 30 minutes after it happens. I do intend to reduce the timeout on communications so that they will retry before you idle out of the chat, but it would appear that your real problem is due to trying to use the minichatbox in the same window while you browse arround the forum, which really isn't viable untill the next phase.
WetWired
2008-03-17, 09:41 PM
In this update, I've removed comm timeouts. That's not to say that they can't happen, but they won't be so intrusive. The new system uses an adaptive timeout so that it should quickly recover from network/server transients, but still work on higher latency connections. Also, instead of a comm timeout message, the update time will change color to indicate high latency. To top it all off, the popup chatbox uses a different domain so that other Zelaron activity doesn't squash the chatbox under the "two simultaneous connections per domain" rule; couldn't fix this for the mini chatbox as HTTPXMLRequest doesn't allow cross domain requests.
Also this version, you can see who's in the chatbox from the recent messages display, to hopefully prevent some of that retarded in-and-out that certain people likes to do.
khwiii
2008-03-18, 04:52 AM
Nice work WW.
WetWired
2008-03-21, 11:11 AM
Persistant chatbox is up. If you're AFK for 5 minutes, it will close. Idlers can idle in the real chatbox.
alex132005
2008-09-08, 05:30 PM
The chatbox rox
Goodlookinguy
2008-09-08, 05:38 PM
The chatbox rox
Useless Revival! Ban him! :)
Wallow
2008-09-08, 07:11 PM
Nice Job WW. I probably use the chatbox more than I post.
Wallow
2008-09-08, 08:26 PM
<3 ,3
I honestly hate those smiley faces. I like the =/ face the best
vBulletin® v3.8.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.