how to in editor error
#1
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.
   

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()?


Attached Files Thumbnail(s)
   
Reply
#2
I can see how I can modify it, but won't have time for that until next week.
Reply
#3
no problem. I appreciate all the help and effort you have put into helping me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)