PROBLEM:
noobs are continually posting mountains of unhighlighted code, and its just nearly impossible to read such messes without highlighting... i dont even want to try, it hurts my head.
making this worse is the people who need the most help are the same people who are the worst offenders. often times, their errors are something simple syntax or typo error, and could easily be spotted if we could just read it.
It's bad enough getting them to use [code] tags in the first place. But I cant keep bitching at new guys or gals because they dont know to use specific syntax highlighting.
SOLUTION:
by default, unspecificed [code] tags will *always* use the syntax highlighting for whatever the particular forum happens to be. this will be backwards compatible, because all specific code syntax will continue work as normal. if there's not already an option, allow something like to just be plain vanilla text.
[B][U]EXAMPLE[/U][/B]
for the C code forum,
[noparse][code][/noparse] prints C-syntax highlighting [code=c] prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
whereas for the PHP forum
[noparse][code][/noparse] prints PHP-syntax highlighting [code=c] prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
et cetera...
.[code=plain] to just be plain vanilla text.
EXAMPLE
for the C code forum,
[code] prints C-syntax highlighting
prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
whereas for the PHP forum
[noparse][code][/noparse] prints PHP-syntax highlighting [code=c] prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
et cetera...
.[code=c] prints C-syntax highlighting
prints PHP highlighting [code=plain] prints plain text (no highlighting)
whereas for the PHP forum
[noparse][code][/noparse] prints PHP-syntax highlighting [code=c] prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
et cetera...
.[code=php] prints PHP highlighting
prints plain text (no highlighting)
whereas for the PHP forum
[noparse][code][/noparse] prints PHP-syntax highlighting [code=c] prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
et cetera...
.[code=plain] prints plain text (no highlighting)
whereas for the PHP forum
[code] prints PHP-syntax highlighting
prints C-syntax highlighting [code=php] prints PHP highlighting [code=plain] prints plain text (no highlighting)
et cetera...
.[code=c] prints C-syntax highlighting
prints PHP highlighting [code=plain] prints plain text (no highlighting)
et cetera...
.[code=php] prints PHP highlighting
prints plain text (no highlighting)
et cetera...
.[code=plain] prints plain text (no highlighting)
et cetera...
.