Feature Request: Warning message before closing the editor.

Questions, comments, and suggestions about this site should go here.
Post Reply
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Feature Request: Warning message before closing the editor.

Post by Bender »

Hi,
The title says it.
How about a warning message that comes up when the user is editing/creating a post and by mistake clicks another link or closes the tab? Most forums and sites show a message like 'Warning: Any unsaved changes will be erased. Click OK to proceed or 'Stay on this page' to get back to the editor'
-Bender
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Feature Request: Warning message before closing the edit

Post by Combuster »

Backbutton works and preserves content
Undo close tab works and preserves content.

Learn to use your browser :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: Feature Request: Warning message before closing the edit

Post by Bender »

Well, this is my ignorance, after all this pointless thread gave me some info. :)
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: Feature Request: Warning message before closing the edit

Post by sortie »

Besides, you should 1) likely forward this request to the phpBB developers 2) encourage the administrators to run a version of phpBB that isn't ancient.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Feature Request: Warning message before closing the edit

Post by Combuster »

I can imagine quite a few people finding such a feature annoying. I actually abuse it's current implementation to navigate back to look up parts of the thread I'm replying to.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

About [code] tags.

Post by Bender »

Hi,
I dare not to create another topic, but I've seen some beginners post heaps of code. I know that posting a lot of code is against the forum rules, but it seems impossible to stop them (everyone does mistakes). Sadly the "

Code: Select all

" tags don't have a limit and they're stretched as long as the code, which IMO looks irritating. (when you see the whole page with 1000+ lines of code it does).
The FASM forum (which also uses phpBB), has a limit of "[code]" tags. After the code exceeds the limit, it adds a scroll bar, thus a very large piece of code can't take the whole page. Okay, I know you guys will point out a problem with this (which i'd like to know).
Example: http://board.flatassembler.net/topic.php?t=16082 (look at the post by "m3ntal").
-Bender
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Feature Request: Warning message before closing the edit

Post by iansjack »

My solution to this problem is to ignore any post that contains a large amount of source code. It's normally a sign that the poster is too lazy to do a bit of debugging; I'm too lazy to debug on behalf of others.
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Re: About [code] tags.

Post by JAAman »

Bender wrote:Hi,
The FASM forum (which also uses phpBB), has a limit of "

Code: Select all

" tags. After the code exceeds the limit, it adds a scroll bar, 
[/quote]
so does ours (at least it does for me...) if it doesn't for you, then its probably theme related (where certain themes do, and other themes don't)
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: Feature Request: Warning message before closing the edit

Post by Bender »

Yes, it works on SF_Centar and prosilver. I wonder if it's possible for other themes as well.
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
Post Reply