Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   Forum News, Suggestions and Discussion (http://zelaron.com/forum/forumdisplay.php?f=2)
-   -   New version chatbox (http://zelaron.com/forum/showthread.php?t=44582)

WetWired 2008-02-11 10:25 PM

New version chatbox
 
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

Quote:

Originally Posted by !King_Amazon!
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

Quote:

Originally Posted by WetWired
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.

D3V 2008-02-14 07:11 AM

<3 in the words of borat





VERY NIIIIIIIIIIIIIICE

Goodlookinguy 2008-02-14 11:48 AM

Where did all of this come from?

D3V 2008-02-14 12:31 PM

Where did all of what come from?

Goodlookinguy 2008-02-14 01:02 PM

All of the nonsense, pure unadulterated nonsense.

D3V 2008-02-14 01:07 PM

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

Quote:

Originally Posted by D3V
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

Quote:

Originally Posted by Thanatos
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

Quote:

Originally Posted by Thanatos
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). 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

Quote:

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:

Quote:

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.

Grav 2008-03-08 09:25 AM

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?


All times are GMT -6. The time now is 11:56 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.