Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 GeSHi Syntax Highlighter integration
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  12:55:24  Show Profile  Visit muzishun's Homepage  Reply with Quote
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

Posted - 24 January 2008 :  14:07:35  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Do you have a demo anywhere ?<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 24 January 2008 :  14:17:45  Show Profile  Visit JJenson's Homepage  Reply with Quote
I was thinking the same thing podge I want to see this in action <
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  14:36:08  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  14:40:24  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 24 January 2008 :  15:36:12  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Nice one Bill!!! You're sure catching up on your list of todo's! <

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  16:05:41  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 January 2008 :  16:12:45  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
This looks really cool.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  16:33:14  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 24 January 2008 :  17:38:11  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
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
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  17:40:01  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 24 January 2008 :  17:40:14  Show Profile  Reply with Quote
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<
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  17:43:19  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 24 January 2008 :  17:50:40  Show Profile  Reply with Quote
Works great. If only my forum was on a coding topic.<
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 24 January 2008 :  17:59:12  Show Profile  Visit muzishun's Homepage  Reply with Quote
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)
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 24 January 2008 :  17:59:26  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Works for me in Firefox 2.0.0.11. Looks wonderful. Pity its in php though.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07