MyBB.de Forum
Inline Success Messages - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-82.html)
+--- Thema: Inline Success Messages (/thread-27722.html)



Inline Success Messages - MyBB.de Bot - 21.03.2013

Eine neue Erweiterung wurde veröffentlicht: Inline Success Messages

Zitat: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.

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

Vorschau:
http://projectxmybb.altervista.org/forum



RE: Inline Success Messages - MyBB.de Bot - 21.12.2013

Eine neue Version wurde veröffentlicht: Inline Success Messages 1.0