Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 25 Jul 2012, 12:52
Sarteck's Avatar
Sarteck Sarteck is offline
Join Date: Mar 2008
Bunny! Better syntax highlighting for SQL, PHP, HTML, etc. on

Using GeSHi (Generic Syntax Highlighter), we could have highlighted code for SQL (and, IMO, better highlighting for HTML and PHP as well) as BB Codes for use on We could also include JavaScript, CSS, and (for server optimization, etc.) BASH highlighting.

I give some examples on how to do this for vB4 here, and I don't think the process would be much more involved for vB 3.6.12 ('s version). Although I guess since you have that thing where only licensed members can view code, it might get a little more involved...

But anyways. It's not any huge deal, and we've obviously gotten on well enough without it. I'd just like to bring it to your attention in case it's not previously been considered, and maybe get some member feedback on it as well.

So give it some thought (or not, if you've got your hands full elsewhere, heh). :3
Reply With Quote
Old 25 Jul 2012, 12:58
vbenhancer's Avatar
vbenhancer vbenhancer is offline
Join Date: Dec 2009
Real name: nexia
Geshi is a bit outdated and unsupported, but your idea join mine regarding a new Code Parser... but coders sites are not that popular, so focussing on coding a complete new highlighter/parser would be a loss of time...i have mine for MySQL, which is the version used by since day one, but that's about it...

the PHP/HTML/CODE bbcodes are used by how many websites around here?... not much if we consider that nobody need to highlight a PHP code in a parenting forum or a lizards fan group...
Reply With Quote
Old 28 Jul 2012, 02:38
Sarteck's Avatar
Sarteck Sarteck is offline
Join Date: Mar 2008
I'm not talking about including it in the default vBulletin software--I agree, that's more or less an exercise in futility. :P

I'm talking about using it here at, where we often do communicate code.

Here's an example. See this thread. Note the JavaScript in the HTML box in my second post? Having that all prettified to actual JavaScript code would be nice. Having it parse correctly at all would be nice. XD
Reply With Quote
Old 28 Jul 2012, 15:50
Ziki's Avatar
Ziki Ziki is offline
Join Date: Nov 2005
You have my bow.

Though unfortunately I don't see this ever happening.
My free mods~click here
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
BB Code Enhancements Better code syntax highlighting Sarteck vBulletin 4.x Add-ons 43 21 Aug 2017 00:19

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 22:58.

Layout Options | Width: Wide Color: