Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

Inline Success Messages 2.1

16 Jun 2016 Edited
#1
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 acts something in between these scenarios. You are immediately redirected to the target page but you are informed of the action you've just performed. The message is sent as a jGrowl notification.

Previously, more than 40 templates were edited in order to add a variable. With version 2.0, this is no longer needed as the message is powered by MyBB's default message handler which is jGrowl. If you are using something different on your board, feel free to edit the template "inlinesuccess_success" and play it around with your own JS message handler.

[Image: bE7kjad.png]

I no longer support the legacy version for 1.6 users. You either upgrade to 1.8 or manually include jQuery and jGrowl into ISM's template.
Filename Size Downloads
5.52 KB 523
8guawong 22 Jul 2018 Edited
#11
thx for the reply but still the same after the above change to template

[Image: tBouQu2.jpg]

its weird i have a plugin that lets user link their steam account to their forum account and with

redirect($mybb->settings['bburl'] . '/usercp.php?action=steam_link', $lang->steam_link_success);
the inline box filled with pink color

[Image: KuPThV5.jpg]
Shade 22 Jul 2018
#12
Sorry, my memory is seriously degrading. This is the correct code:

$.jGrowl('{$message}', {theme:'jgrowl_success'});
8guawong 22 Jul 2018 Edited
#13
yea its working now
how is the color of the background determined?
i see green right now on my forum

also a suggestion it seems redirect with no messages will show the inline success box as well

[Image: J0y0KXQ.jpg]
Shade 22 Jul 2018
#14
The color is determined by the "theme" property you put in; here's the plugin MyBB is using: https://github.com/stanlemon/jGrowl

Thank you for your suggestion. It's likely I will deploy version 2.2 soon with this little thing fixed.
8guawong 22 Jul 2018 Edited
#15
Sorry, my memory is seriously degrading. This is the correct code:

$.jGrowl('{$message}', {theme:'jgrowl_success'});
Shade (22 Jul 2018)
The color is determined by the "theme" property you put in; here's the plugin MyBB is using: https://github.com/stanlemon/jGrowl

Thank you for your suggestion. It's likely I will deploy version 2.2 soon with this little thing fixed.
Shade (22 Jul 2018)
cool
will you change it so that no msg redirect will not show up as well? ;)

another bug i just found.... if i edit post no redirect will happen just get a blank page...
Shade 22 Jul 2018
#16
The editpost thing is not due to Inline Success Messages. MyBBoost is using it and you can edit posts just fine with the message correctly delivered. That's likely caused by another plugin.

I'm not sure I understand the "no msg redirect" request. Would you please elaborate a bit more? Thank you.
8guawong 22 Jul 2018 Edited
#17
screen shot with blank page is with your plugin activated after saving edit
the other one is with your plugin deactivated

QuoteI'm not sure I understand the "no msg redirect" request. Would you please elaborate a bit more? Thank you.

https://www.mybboost.com/thread-release-...11#pid1911

the picture showed a green msg box without any messages
Shade 22 Jul 2018
#18
Yes, the update will include the empty message fix.

You didn’t let the page load completely. ISM replaces the redirection page with the popup message, but you need to wait for the full page load to let it appear.
8guawong 22 Jul 2018
#19
Yes, the update will include the empty message fix.

You didn’t let the page load completely. ISM replaces the redirection page with the popup message, but you need to wait for the full page load to let it appear.
Shade (22 Jul 2018)
How long was I suppose to wait? I mean I was on that blank page for more than 5 seconds...
Shade 22 Jul 2018
#20
It depends on how good your internet connection is and how fast your server is responding. From here (Italy), some pages load faster than others. The page load speed might also depend on how heavy are the resources in every page, how well designed is your caching game, and so forth. Sorry I can't help any further. ISM is behaving fine in the UCP as well as all the other pages (it is not designed to touch the UCP at all, as it hooks into every page).