Confirm before abandoning a message being written |
OverviewDescriptionThis trick allows you to set up a system that will assist you in writing your messages on Forumotion so that you never lose them again due to a moment of distraction. In fact, if you are about to leave a page while there is content in your text editor (quick or classic reply and private message), a dialog box will appear asking you to confirm to leave the page and will offer you the possibility to stay and continue the your text.DemonstrationTechnical limitations› This tutorial is dedicated to the forums powered by Forumotion free forum service› Requires to be the Founder of the #Forumotion Forum › It works with all Forumotion forums' versions › It only works with PhpBB3/PhpBB2/PunBB/Invision/AwesomeBB/ModernBB Forumotion forums' versions › The resource can be adapted to work also on external websites InstallationIntroductionGeneral remarks or considerations about the installationJavascript & jQueryFor the next step you need to go towards Administration Control Panel (ACP) Modules HTML & Javascript Javascript codes management and create a new code - upon verifying that Javascript codes management is enabled.
Javascript CustomizationIt is possible to integrate the resource also on external websites by changing the
Simply edit in the script this par, by replacing
Then, if you don't run on Sceditor as messages editor, also remove
Final considerations
Notes
|
This resource belong to this community unless differently stated. No reproduction possible without our agreement, in accordance with article L122-1 of the CPI. |