Log in

View Full Version : A minor suggestion


Rayquaza
January 10th, 2013, 06:18 PM
Would it be possible for you guys to add a small script that asks "Are you sure you want to leave this page" dialog on the chat room page, since, and I know this happens a lot, a lot of us accidently close the room and try to get back in. It's not a big issue but would be cool if you could.

Mirage
January 10th, 2013, 08:53 PM
I'm all for this. All it would require is a simple javascript (here (http://www.openjs.com/scripts/events/exit_confirmation.php)) and it would add tons of functionality.

Infidelitas
January 10th, 2013, 09:21 PM
I'm for this. I have accidentally hit the back button and lost everything so many times.

Skyline
January 10th, 2013, 11:02 PM
yes! i love this idea,i always accidentally leave the chat it gets quite annoying

Jupiter
January 10th, 2013, 11:07 PM
I support it :)

Iron Man
January 10th, 2013, 11:59 PM
Make it so, Number One.

workingatperfect
January 11th, 2013, 12:05 AM
I love this idea. I hate when I'm typing a long message and I accidentally leave the page.

Breakeven
January 11th, 2013, 12:06 AM
great idea :D

Erasmus
January 11th, 2013, 07:26 AM
This would be nice. :)

Professional Russian
January 11th, 2013, 08:01 AM
I like.I think it would help.....alot

ReginaGeorge
January 11th, 2013, 09:56 AM
All in favor, say I.

project_icarus
January 11th, 2013, 04:50 PM
I think this would be brilliant. All of my hell yes.

Jess
January 11th, 2013, 04:51 PM
I would like this as well, if it's possible.

SosbanFach
January 11th, 2013, 06:01 PM
Another in favour over here. OK, so its true that I'm a clumsy idiot, but I always seem to end up accidentally going back, or closing the browser window. If this can be utilised, then I for one would see it as a helpful addition.

ShatteredWings
January 14th, 2013, 02:07 AM
Make it so, Number One.

gmods can't do this
/nerd

But yes this would be useful.

PoseidonX43
January 14th, 2013, 02:32 AM
this would be great!

ImCoolBeans
January 14th, 2013, 09:11 PM
Are you sure you guys really want this? I mean it's going to bring up that pop-up window every time you leave chat, even when you want to leave. There will be a lot of people who don't like that. I'm indifferent and will support it if you want it; but are you sure you want that to pop up every time you try to exit chat?

Erasmus
January 14th, 2013, 09:13 PM
I at least, still do want it. It's been too many times that I've accidentally logged out of chat.

Gandalf
January 15th, 2013, 02:16 AM
Are you sure you guys really want this? I mean it's going to bring up that pop-up window every time you leave chat, even when you want to leave. There will be a lot of people who don't like that. I'm indifferent and will support it if you want it; but are you sure you want that to pop up every time you try to exit chat?

Who could ever want to leave chat? :P

Another side affect it would slow any nasties crawling off so quickly so you'd have extra seconds to ban them before it's too late


I think I made myself clear that I support this.

Rayquaza
January 15th, 2013, 09:53 AM
Yeah, and a lot of us seem to have "backspace-syndrome"

That thing where you think you're typing, press backspace and suddenly you're out of the chat.
Also, a lot of the people that come in the chat are regulars too, it's only every now-and-again someone new comes in.

Harley Quinn
January 15th, 2013, 10:48 AM
Yeah, and a lot of us seem to have "backspace-syndrome"

That thing where you think you're typing, press backspace and suddenly you're out of the chat.
Also, a lot of the people that come in the chat are regulars too, it's only every now-and-again someone new comes in.

The amount of times I've done that is actually ridiculous. I'm for this suggestion.

Jupiter
January 15th, 2013, 11:42 AM
and i think.. it might even come up before it idles. i mean... wouldn't it? because idling would be leaving, so it would ask if you are sure.

am i wrong?

Rayquaza
January 15th, 2013, 11:56 AM
and i think.. it might even come up before it idles. i mean... wouldn't it? because idling would be leaving, so it would ask if you are sure.

am i wrong?

no, idling leaves the chat within the applet, but what im suggesting is a dialog box to open when the page itself is physically left.

Jupiter
January 15th, 2013, 11:57 AM
no, idling leaves the chat within the applet, but what im suggesting is a dialog box to open when the page itself is physically left.

i know what you're suggesting.

DerBear
January 15th, 2013, 01:30 PM
and i think.. it might even come up before it idles. i mean... wouldn't it? because idling would be leaving, so it would ask if you are sure.

am i wrong?

If you're asking if its going to effect you timing out if you've been "idle" for a period of time. I'd think not, simply because the idle function is almost --in a way-- like the kick function. It just kicks you out for being idle.

StoppingTime
January 15th, 2013, 03:15 PM
Derri is correct. The chat applet basically kicks you and leaves you with the message 'your session timed out' or something. This suggestion is completely unrelated to that.

Aves
January 16th, 2013, 11:24 PM
Or for those of us who don't do this, is it a possibility to add a check box saying "Don't ask me again"

Maverick
January 20th, 2013, 06:05 PM
<script>
window.onbeforeunload= function() { return "Do you want to leave the chat room?"; };
</script>

This code would work (I've tested it on my test forum) but there wouldn't be a way for people to disable it.

PerpetualImperfexion
January 20th, 2013, 08:32 PM
As someone who doesn't do this I can say that I still support it.

ImCoolBeans
February 11th, 2013, 08:37 PM
It should pop up for you guys now before you leave chat.

Rayquaza
February 12th, 2013, 02:48 AM
It should pop up for you guys now before you leave chat.

^_^ Awesome. No more backspace exiting for me. Cheers Mike.

Jess
February 12th, 2013, 10:45 AM
Sweet, thanks Mike.

xAlfredo
February 12th, 2013, 05:24 PM
<script>
window.onbeforeunload= function() { return "Do you want to leave the chat room?"; };
</script>This code would work (I've tested it on my test forum) but there wouldn't be a way for people to disable it.

There would be a way, actually.
Make a new profile field using single-select menu or radio buttons, asking if they would like to be warned about leaving the chat box, Yes to enable, No to disable.

New code would be:


<if condition="$bbuserinfo[fieldx]=='Yes'">
<script>
window.onbeforeunload= function() { return "Do you want to leave the chat room?"; };
</script>
</if>

then, you would change the red x to the field # associated with the profile field you made. ;)

Maverick
February 12th, 2013, 11:51 PM
There would be a way, actually.
Make a new profile field using single-select menu or radio buttons, asking if they would like to be warned about leaving the chat box, Yes to enable, No to disable.

New code would be:


<if condition="$bbuserinfo[fieldx]=='Yes'">
<script>
window.onbeforeunload= function() { return "Do you want to leave the chat room?"; };
</script>
</if>

then, you would change the red x to the field # associated with the profile field you made. ;)
I got to hand it to you man... that would indeed work... Currently there's a similar set up like that with the Gender on each post. I stand corrected... nice work.

PoseidonX43
February 15th, 2013, 05:14 PM
thanks mike!

WalkingOnDisaster
February 17th, 2013, 07:08 PM
I don't use chat... But why not?