Purchase Credits 2.0.1 released and NewPoints 2.1.2 released .
Blocking Certain Characters
#1
I am wondering how to prevent people from searching using certain/special characters. For example, I don't want people to be able to search for private messages containing the following characters: < > / '

When a person attempts how to search using these characters it would just say something along the lines of "Invalid characters used in search".

I'm doing this because people can create a mysql error by searching private messages using certain 'phrases'.

Seems to cause the error on all mybb powered forums.

Would I be able to do this by just making a few changes to the private.php/search.php file?
Reply
#2
Wait for 1.8, you won't have such issues Smile
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#3
(08-19-2014, 07:15 AM)Pirata Nervo Wrote: Wait for 1.8, you won't have such issues Smile

I've heard that and I look forward to it.

When is 1.8 being released? Big Grin
Reply
#4
Hopefully this week Smile
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#5
(08-19-2014, 09:03 PM)Pirata Nervo Wrote: Hopefully this week Smile

Wow, awesome! Didn't expect it to be so soon.
Reply





Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2020 MyBB-Plugins Forums.

Statistics

  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here