Author |
Topic |
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 12:55:24
|
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:
quote: 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) |
Edited by - muzishun on 25 January 2008 13:41:56 |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 24 January 2008 : 14:17:45
|
I was thinking the same thing podge I want to see this in action < |
|
|
muzishun
Senior Member
United States
1079 Posts |
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 14:40:24
|
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) |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 16:05:41
|
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) |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 16:33:14
|
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. < |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
|
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 24 January 2008 : 17:38:11
|
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 |
|
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 17:40:01
|
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) |
|
|
phy1729
Average Member
USA
589 Posts |
Posted - 24 January 2008 : 17:40:14
|
It doesn't work with FF 2.0.0.11 Mac 10.4.11 Oddly it does work in the preview. Looks nice other than that.
Also when trying to the to the preview from edit it has an error namely Microsoft VBScript runtime error '800a000d'
Type mismatch: 'rs'
/test/basesnitz/post.asp, line 642< |
|
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 17:43:19
|
phy, would you mind checking again just to be sure? I just re-uploaded the entire set of code (about 30 seconds before you posted), and it should be working at this point.
Note to self: Test on a different install of the forum when you give out links.< |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
|
|
phy1729
Average Member
USA
589 Posts |
Posted - 24 January 2008 : 17:50:40
|
Works great. If only my forum was on a coding topic.< |
|
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 24 January 2008 : 17:59:12
|
Thanks for double checking, phy.< |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Topic |
|