Nigel Jackson
(Fresh Scripter)
2002-04-19 09:54 PM
Error when posting

I tried to cut and paste a script into the Message: window and I got this error - how can I make it stop...

Sorry, we do not permit this HTML tag: Parenthesis in HTML tag

I wasn't trying to do any HTML - it was just an example KiX script...


Chris S.
(MM club member)
2002-04-19 10:04 PM
Re: Error when posting

Are you using the Code button when posting?

Nigel Jackson
(Fresh Scripter)
2002-04-20 01:04 AM
Re: Error when posting

no but I'll give it a try

Les
(KiX Master)
2002-04-20 02:18 AM
Re: Error when posting

If all else fails, run it through http://home.wanadoo.nl/r.s.m.s.dejong/Scripts/PostPrep.htm

Kdyer
(KiX Supporter)
2002-04-20 07:54 AM
Re: Error when posting

Les,

Even with Drillsergeant's "code prepper," you will see the message about no parenthis allowed within HTML with the following code for example:

code:
break on cls
$x = 0
setascii("on")
$a = 1
cls
while $a < 5 ;Change this value to get more or less numbers
$y = 1
while $y <= 80
$z = 1
while $z <= 20
at($z,$y) "$x " + chr($x)
$z = $z + 1
$x = $x + 1
loop
$y = $y + 10
loop
? ? "Hit any key to continue" get $k
$a = $a + 1
loop
exit

I have use DrillSergeant's page on several occasions and I really like it, but the parenthis thing is a bit annoying.

I do remember when we could copy code directly from people's postings, but after the last couple of updates to the board, this functionality has gone away.

- Kent


Les
(KiX Master)
2002-04-21 04:32 AM
Re: Error when posting

Damn! What happened? It used to work like a charm. [Mad]

DrillSergeant
(MM club member)
2002-04-22 10:35 AM
Re: Error when posting

Hi Guys,

I think it's the end of the postprep fun [Frown]

The board is interpreting HTML coding different then before. The PostPrep changed things like the LESS THAN sign to HTML code ( & LT; ).

The latest version of the board only accepts the LESS THAN sign, either ascii or HTML code, if it's between CODE brackets.

What I did with the PostPrep was making it look like the CODE tags with other HTML stuff. The board doesn't recognize it as CODE so it checks for illegal use of the LESS THAN sign, which of course, is often used in KiX coding.

Ok, did this make anything clearer? or are y'all just more [Confused]

bottom line:

Posting code from now on ONLY works between the CODE brackets... [Roll Eyes] [Mad]


LonkeroAdministrator
(KiX Master Guru)
2002-04-22 10:43 AM
Re: Error when posting

drill, have you coded with kixgui or kixforms?
I'd like to see this code preparation in such a tool as bbcodeparser is.
what you think?


DrillSergeant
(MM club member)
2002-04-22 11:18 AM
Re: Error when posting

Hi Lonkero,

I think we're all gonna have to go for your Code Parser instead of the PostPrep.

The advantage was that the PostPrep way is the Posters job and not the reader, which made it easier for newbies e.a. to just copy-n-paste the code into notepad.

But your Code Parser is a very nice tool and easy to use, so if we can get it across to the general public that we should all use the Parser to extract code it will all be ok.