Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Inline Success Messages
#1
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
Zitieren
#2
Eine neue Version wurde veröffentlicht: Inline Success Messages 1.0
Zitieren