The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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:
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)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Last edited by muzishun on 25 January 2008, 13:41
Posted
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<
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<
Posted
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.<
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)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Works great. If only my forum was on a coding topic.<
Posted
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)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
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.
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts.
Posted
Yeah. I thought about rewriting the whole thing in ASP... but only for a second. Considering just about every host allows PHP (not sure about free hosts though... anybody?), I didn't see that as being a major drawback. The only thing it really prevents is direct integration into the forum, though it's fairly seamless as is right 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)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Very nice but you're going to run into problems when trying to use this tag with a url tag in the same post (see my test posts in your demo topic). This is because you are closing the opening tag with "].
<
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
<
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Originally posted by ShaggyYep, had that too with the 'tooltip' mod. Decided to use the asterisk there instead: [tip=*text*][/tip] Perhaps for this one: [code=#code#][/code]?<
Very nice but you're going to run into problems when trying to use this tag with a url tag in the same post (see my test posts in your demo topic). This is because you are closing the opening tag with "].
portfolio - linkshrinker - oxle - twitter
Posted
Oooh, that's a good catch. Now that you mention it Marcel, I remember when you had that problem. I didn't even think about it for this MOD. I'll update the files and post back here when 0.75b is ready
.
Update: Version 0.75b is up on SnitzBitz. The only change is to the DoGeSHiCode function in inc_func_common.asp.<
Update: Version 0.75b is up on SnitzBitz. The only change is to the DoGeSHiCode function in inc_func_common.asp.<
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 Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Last edited by muzishun on 25 January 2008, 10:55
Posted
Update: I found some typos and errors in the readme file. New version is 0.8b.<
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 Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...