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)
 Mod: VBScript Highlighter
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Nathan
Help Moderator

USA
7664 Posts

Posted - 09 March 2002 :  18:56:06  Show Profile  Visit Nathan's Homepage
I updated the readme.html file because there was some confusion on the alterations to inc_top_short.asp

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 09 March 2002 :  18:58:44  Show Profile
Give me the colors you want and I'll add them.

Highlighting in preview works now too.

By the way, Nathan was kind enough to put in some other colors for your pleasure




http://www.frutzle.com

Snitz Exchange | Do's and Dont's

Edited by - FrutZle on 09 March 2002 19:02:23
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 09 March 2002 :  19:08:02  Show Profile  Visit Nathan's Homepage
Humm, for some reason eveything inside [code] and [/code] on your site becomes red Frutz.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 09 March 2002 :  19:14:59  Show Profile
Seems like you have to have <% and %> for highlighting to work on things like keywords and functions and such. So, hypothetical situation....someone pastes a few lines of code from the middle of a large block of asp code. Is there a way to account for that?

Nikkol
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 09 March 2002 :  19:24:25  Show Profile  Visit Nathan's Homepage
If you dont have <% and %> then you can use [highlight:asp] and [/highlight:asp]

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 09 March 2002 :  19:34:48  Show Profile
awesome...now what about an addition to the FAQ for this

Nikkol
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 09 March 2002 :  19:40:16  Show Profile
quote:

Humm, for some reason eveything inside [code] and [/code] on your site becomes red Frutz.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's




If you defined anything as red in the highlighter config, that's probably the problem. I don't use red in any of my CSS statements.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 09 March 2002 :  19:55:08  Show Profile
It's seems like if you don't put %> on the same line as the <%, you get unexpected results.

Nikkol
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 09 March 2002 :  20:12:58  Show Profile  Visit Nathan's Homepage
Lines should only break comments.

They dont currently break strings, thats a bug.

Roland, the hilighter code will not affect the [code] tags. Only stuff between the tags is parsed. Unless you have a CSS class for your forum thats got the same name as a CSS class in the mod.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 09 March 2002 :  20:47:24  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Roland,

When I try and prview my post I get this....

[highlight]fdfdsfds[/hilight]

The ending tag that it inserted when I told it to promt me was wrong.

Is there any madness to what color it codes stuff? On the test page on Rolands site, I couldnt tell what colors it did.

Brad
Web Hosting with SQL Server @ $24.95 per month
Snitz Mod Archive

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 09 March 2002 :  21:31:18  Show Profile  Visit Nathan's Homepage
quote:
When I try and prview my post I get this....

[highlight]fdfdsfds[/hilight]

The ending tag that it inserted when I told it to promt me was wrong.



Its a spelling error/typo, I got it fixed and am uploading a new zip. It only effected "Prompt" mode.

You can see a demo forum with some more readable (no offence to Frutz) here -- > http://www.ls3k.com/highlighter/

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 10 March 2002 :  06:50:47  Show Profile
quote:

quote:
When I try and prview my post I get this....

[highlight]fdfdsfds[/hilight]

The ending tag that it inserted when I told it to promt me was wrong.



Its a spelling error/typo, I got it fixed and am uploading a new zip. It only effected "Prompt" mode.


Yep. that's Nathan's fault

quote:

You can see a demo forum with some more readable (no offence to Frutz) here -- > http://www.ls3k.com/highlighter/


Thanks Nathan. I can remove the highlighter from my forums now.
No offence, but I like the RTE better than the highlighter and since they don't go together...



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 10 March 2002 :  18:03:08  Show Profile  Visit Nathan's Homepage
I can write a function to make them work together. Probably will do that for RTE version 2 me thinks.

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 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