Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

Inline Success Messages

Adds support for inline success messages instead of (un)friendly redirection pages.

Version: 1.0
Author: Shade
Submitted: 17th March 2013
Last Updated: 21st December 2013
Inline Success Messages

Inline Success Messages lets you see an inline success message instead of the classic "friendly redirection page" MyBB comes with.

MyBB already comes with the "Show friendly redirection page" option, but waiting 5 seconds before being redirected to a new page is a bit annoying to me. If you disable this option, you are immediately redirected to the target page but you lose a textual feedback of what you have done before and therefore you don't know if the action performed has been a success or not.

Inline Success Messages is something in between these scenarios. With it you are immediately redirected to the target page but you will be informed of the actions you've just taken.

The flow
Upon installation, ISM will search for any {$__error__} variable (__ stands for any character) and will add a {$inlinesuccess} variable after it. This variable is used by the plugin to display any message stored in the $_SESSION array, which is populated upon redirecting.

Previously, the plugin edited the core patching every if($error) condition. The current method avoids core edits by exploiting PHP's sessions to store messages upon different script calls.

Requirements PluginLibrary to install/uninstall
Edits core No
Edits templates Yes (about 40)