GeSHi Syntax Highlighter integration - نوشته شده در (2948 Views)
Senior Member
muzishun
مطلب: 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)
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Support Moderator
Podge
مطلب: 3776
3776
Do you have a demo anywhere ?<
نوشته شده در
Advanced Member
JJenson
مطلب: 2121
2121
I was thinking the same thing podge I want to see this in action smile<
نوشته شده در
Senior Member
muzishun
مطلب: 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)
نوشته شده در
Senior Member
muzishun
مطلب: 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)
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
Nice one Bill!!! You're sure catching up on your list of todo's! bigsmile<
نوشته شده در
Senior Member
muzishun
مطلب: 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)
نوشته شده در
Snitz Forums Admin
ruirib
مطلب: 26364
26364
نوشته شده در
Senior Member
muzishun
مطلب: 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)
نوشته شده در
Senior Member
MaD2ko0l
مطلب: 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
نوشته شده در
Senior Member
muzishun
مطلب: 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)
شما باید یک متن وارد کنید