MyBB Community Forums

Full Version: how to in editor error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This
                error("Your post has been flagged as spam and blocked. Please press the back button on   your browser and remove any content that appears to be spam and then repost.");
says what i want. But the problem is the users post is gone after they move to this, and when they hit back, they have to retype everything out. Ive seen this with another plugin, but i cant remember which one. It created an error popup above the editor and allowed the user to not have to retype the whole post.
[attachment=37848]

edit:
the plugin i am modifying is
https://github.com/metulburr/wordblock
note: original author is dragonexpert, not me

how to replicate this error as opposed to just using php's error()?
I can see how I can modify it, but won't have time for that until next week.
no problem. I appreciate all the help and effort you have put into helping me.