PDA

View Full Version : Restrict Forecolor options


Charlie2009
09-17-2009, 05:40 PM
Our forum is having an issue with our members posting in colors that can't be seen until you highlight the text. It is becoming an annoyance to deal with. Is there a way to restrict the forcolor pallete without disabling it completely? I realize that we still need to deal with custom BB code, but I will just try to deal with one problem at a time.

Thanks

James Birkett
09-17-2009, 05:56 PM
You could create a plugin on a newthread hook (Not too sure which would be the most appropriate) which would do a preg_match (or maybe a strstr(); function), finds the colour people are using that matches your background then change it?