Version: 2.0, by MarkFL
Developer Last Online: Jun 2020
Category: Miscellaneous Hacks -
Version: 4.2.x
Rating:
Released: 12-22-2016
Last Update: Never
Installs: 12
Uses Plugins Auto-Templates
Translations
No support by the author.
Overview:
This simple product allows you to define what chracters will be permitted in thread/post titles using regex. You may elect to use HTML5 form validation when the user's browser supports it, but if you choose not to use this method, or the user's browser doesn't support it, then a message will be displayed above the editor block advising the user that they have illegal characters in their thread/post title if applicable. They will not be allowed to submit their post until the title has the illegal characters removed. You may define the CSS applied to the error message.
If a user has illegal characters in their thread/post title, and you have HTML5 form validation on and the user's browser supports the validation, then when they attempt to preview or submit their post, they will see something like:
Otherwise, they will see something like:
Compatibility:
Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.
Backup/Warning:
This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.
As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.
MarkFL has cited me as a Co-Author of this MOD, but my contribution was a request to vBulletin for a MOD that would do this. I don't write vBulletin MODS. I don't have the knowledge or skills to do so, rather, I'm an 'idea guy'.
I am continually amazed at the support I receive here in this Forum. Several members; MarkFL among them; have been willing and able to assist me in developing unique tools (MODs/Plugins) that address specific concerns I have in our Forum. This MOD/Plugin addresses a likely unique situation that has happened on our Forum due to our use of ZB Block. In short, it will greatly minimize (if not entirely prevent) Post/Thread Titles from being interpreted by ZB Block as possible SQL Injection vectors, a condition that has happened when non-alphanumeric characters were used.
I changed "illegal" to "prohibited" in the message text. Comes across a little bit nicer and accurately conveys what "we" are doing; prohibiting the use of all but the allowed characters shown in the message.
I changed "illegal" to "prohibited" in the message text. Comes across a little bit nicer and accurately conveys what "we" are doing; prohibiting the use of all but the allowed characters shown in the message.
That was one reason I phrased the messages, so they can be customized and translated.