GeSHi Syntax Highlighter integration - Posted (2947 Views)
Senior Member
muzishun
Posts: 1079
1079
Current version: 0.8b

If you haven't already seen it, GeSHi is a phenomenal syntax highlighting engine written in PHP. It supports several dozen languages, and is just all around cool. I saw a MOD for a phpBB forum that used GeSHi and decided Snitz needed one as well.
Download from SnitzBitz.
From the readme:
This MOD adds a new forum code tag that uses the GeSHi syntax highlighter to highlight different code languages. In order to use this, you must be able to run PHP scripts on your web server.
<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Support Moderator
Podge
Posts: 3776
3776
Do you have a demo anywhere ?<
Posted
Advanced Member
JJenson
Posts: 2121
2121
I was thinking the same thing podge I want to see this in action smile<
Posted
Senior Member
muzishun
Posts: 1079
1079
Sure thing.
http://www.chimericdream.com/test/basesnitz/topic.asp?TOPIC_ID=2

User/pass: test/test<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Senior Member
muzishun
Posts: 1079
1079
Update: I noticed that the change to inc_func_common.asp included code that was site specific. The readme has been updated to indicate this.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Nice one Bill!!! You're sure catching up on your list of todo's! bigsmile<
Posted
Senior Member
muzishun
Posts: 1079
1079
Thanks a bunch. I sure am. I've got about a half dozen more MODs lined up in my queue. Hopefully I'll make my way through the list by late February or early March.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
Posted
Senior Member
muzishun
Posts: 1079
1079
Yeah it does. When I saw it being used on the Web Developers' forum here at work, I knew I *had* to do it for Snitz. There's another interesting PHP app that I am working on creating a MOD for, but that one will remain a secret for now. wink<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Senior Member
MaD2ko0l
Posts: 1053
1053
eermm...hi, just went on the testing site and its just a load of code...nothing is highlighted or anything..am i missing somthing?<
© 1999-2010 MaD2ko0l
Posted
Senior Member
muzishun
Posts: 1079
1079
Sorry. I was working on testing something else that I am working on, and the GeSHi part broke. Everything should be working now.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
You Must enter a message