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

Myalerts pm support & password empty?

22 Sep 2016
#1
This issue is marked as solved
Hey,

so i was testing the pm notification of this plugin and noticed two things.

1. The automatic pm doesn't give a Alert with the MyAlerts plugin from EuanT. ( I don't use the mybb pm notification bar )
Could this be adapted somehow?

2. The "Your Password is:" doesn't show a password. See screenshot: [Image: hk4WDoS.png]
Shade 23 Sep 2016
#2
Unfortunately, MyAlerts hooks into private_do_send_end, which is located into private.php. Flyover uses MyBB's pmhandler to deliver PMs as it was a normal page, which is located into an "higher" level than private_do_send_end. Ideally you can add the hook yourself to Flyover's code before where the PM is actually sent (file inc/plugins/flyover.php, line 332) BUT keep in mind that the hook is usually ran outside a function(), while in Flyover it would run wrapped into one (so third party plugins, MyAlerts included, might NOT work anyway if they rely on core variables which are not being globalized. This is a scope issue, and cannot be solved without a change in MyAlerts hook target, which is another bad practice anyway).

As for the second issue, you are most probably using the emailless and passwordless option. With that option enabled, users are registered without a password and an email. If you want to require an email and/or a password, you must disable it. You can change the PM text from Flyover's settings if you want to keep the setting enabled while still providing a welcome PM (hint: {password} refers to the automatically generated password).
Brenda 23 Sep 2016
#3
Well, i ain't a developer, so i won't be able to change anything. Have to wait for a myalerts update then.

Alright, thought the missing pw is a bug, so i'll adapt the message & since welcome pm isn't that important, i will have to live with the current no welcome pm alert for now.
Shade 23 Sep 2016
#4
While I do believe that MyAlerts should be updated to use datahandler hooks instead of private.php ones, I don't think Euan (its developer) is going to update it anytime soon. He's the MyBB developing leader at the moment and has busier stuff to do. Anyway, I'll open a PR to MyAlerts if I manage to edit the hook without changing the plugin's code too much.
Brenda 23 Sep 2016
#5
Ok, sounds good. :)