MyBB Community Forums

Full Version: Pm when user has been quoted?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2012-01-02, 08:06 PM)pavemen Wrote: [ -> ]I have submitted the plugin to the mods site, just waiting for it to be validated. It was a bigger deal than I expected due to how MyBB works, but it was doable.

Thanks Pavemen for doing this and thanks Paul for attempting it, much appreciated! +rep to you both! Smile

~ David
And approved.
it's a two step process that uses a global array variable. during the post/thread validation I prepare an array of users to PM, etc. using the same quote regex MyBB uses since I have access to the raw message at that time.

Then after the insert I use the new pid/tid info and the global array I made to iterate over the users, grab the users specific language and insert the PMs.
Pages: 1 2