Page 1 of 2 12>
Topic Options
#91281 - 2003-01-30 10:55 AM test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
removed code...

[ 30. January 2003, 12:08: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#91282 - 2003-01-30 11:01 AM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Test reply to see if text is outlined

(A bit of course [Razz] )

[ 30. January 2003, 11:04: Message edited by: jpols ]
_________________________



Top
#91283 - 2003-01-30 11:39 AM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hello from Lonkero!

and From Lurenko too! [Razz]


[ 30. January 2003, 19:36: Message edited by: Lonkero ]

_________________________
!

download KiXnet

Top
#91284 - 2003-01-30 11:39 AM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
keep the faith [Roll Eyes]
_________________________



Top
#91285 - 2003-01-30 11:49 AM Re: test crap of postprep - ignore
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Have you thought about putting the code in a table? That would allow you to explicitly set the background colour and set a border around it.

For example:


; UBB PostPrep 1.0.1 (build 5)
; ----------------------------------------------------------------------------------------------
; MINIMUM REQUIREMENTS
;
; KIXTART            4.20 (WKiX32)
; KIXFORMS           build 37 (2.2.0)
; ----------------------------------------------------------------------------------------------
; AUTHORs
;    Jooel Nieminen - Conversion Engine !
;    Jochen Polster - Form, Controls, Design, Codestarter
; ----------------------------------------------------------------------------------------------
; ACKNOWLEDGEMENTS
;   Shawn Tassie (for Kixforms of course!)
;    Richard Howarth (for pointing out the <br>-tag Issue)
;    All KiXtart Enthusiastics for which we wrote this  [Wink]
; ----------------------------------------------------------------------------------------------
; VERSION HISTORY
;    1.0.1    - 01/28/2003 bug-fixes to conversion engine, optional WordWrap added
;
;    1.0        - 01/27/2003 Initial worthwhile release
;
;    0.9 A    - different very buggy Alpha releases not worth to mention
;
;    0.9 P    - Preview Version(s) discussed on kixtart.org Bulletin board
;    http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=13;t=000426
; ----------------------------------------------------------------------------------------------

break on
$ = setascii("on")

$ReqForms = 37
$Version  = "1.0.1"
$Wordfile = @scriptdir + '\Wordfile.ini'
$Kix      = substr(@kix,1,4)

if $Kix < "4.20"
    $ = messagebox('This Script requires at least KiXtart 4.20 '

Top
#91286 - 2003-01-30 11:52 AM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yeah.
but the bloody width is a problem.
as there is no way to wrap the stuff due to dynamic width of the board...
_________________________
!

download KiXnet

Top
#91287 - 2003-01-31 12:01 AM Re: test crap of postprep - ignore
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
If the stuff is in a table it will word-wrap automatically to the size of the browser window.

The table in the sample that I posted does not wrap because the browser is already made wide due to the earlier posting.

Without that posting it will wrap

Top
#91288 - 2003-01-31 12:02 AM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
That could be the problem that prevents tables though !
_________________________



Top
#91289 - 2003-01-31 12:03 AM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
actually not.
as if you have long line without spaces, there is no way to wrap it.
tried with tables.
_________________________
!

download KiXnet

Top
#91290 - 2003-01-31 12:08 AM Re: test crap of postprep - ignore
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
True. If there are absolutely no spaces in the line then there is no-where to break it to wrap.

That's a problem with the line of code rather than tables though.

If you are parsing the code, you can put a "<WBR>" tag between operators or similar places. This doesn't force a break, however it tells the browser that it is allowed to break the line at that point if it needs to.

[ 30. January 2003, 12:09: Message edited by: Richard H. ]

Top
#91291 - 2003-01-31 12:15 AM Re: test crap of postprep - ignore
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Hey! You removed the code in the earlier script, and the stuff in the table wraps!.

Cool.

Top
#91292 - 2003-01-31 12:18 AM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mmm...
even my box is wrapped...
_________________________
!

download KiXnet

Top
#91293 - 2003-01-31 12:20 AM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Hmmm ... Release 1.0.2 ???
_________________________



Top
#91294 - 2003-01-31 12:54 AM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, how about this...

"BB code parser" ? ; Put together by Lonkero 16.8.2001
;script requirement: kix2001 RC-1 or newer

"you give topic to parse and I give you the clean code parts of the topic." ?
" Press some keys to get you going..." get $
cls
"so what topic you want to get?"
"(easiest is to copy the address from IE addressbar and paste it to this window)" ?< font color=#4682B4>
" -->"
gets $page
if instr($page,"http://kixtart.org/cgi-bin/ultimatebb.cgi?")
    $httpObj = createobject("winhttp.winhttprequest.5")
    if vartype($httpObj) <9 ? "failed to start Winhttp, press any key to quit..." get $ exit else "WinHTTP started" endif
    $httpObj.open("GET",$page
    ? if @error "failed to Initialize Winhttp ( error:@serror ), press any key to quit..." get $ exit else "WinHTTP initialized" endif
    ? ? "transferring topic..."
    $httpObj.send()
    $ = open(1,"%temp%\bbdecodec.tmp",5)
    $crlf = chr(13)+chr(10$c = 0
    $data = $httpObj.Responsetext
    $x = instr($data,">code:</font><HR><pre>")
    ? "parsing it..."
    while $x <0
        $c=$c+1
        $data = substr($data,$x+22,len($data)-($x+21))
        $x = instr($data,"</pre>") - 1
        $post = substr($data,1,$x)
        $ = writeline(1,"---------------- code #$c ----------------"+$crlf)
        for each $section in split($post,"<P>")
            for each $line in split($section,"<BR>")
                $ = writeline(1,$line+$crlf)
            next
        next
        $ = writeline(1,"------------------ end -------------------"+$crlf+$crlf)
        $x = instr($data,">code:</font><HR><pre>")
    loop
    $ = close(1)
    run "notepad %temp%\BBdecodec.tmp" cls
    sleep 3
    del "%temp%\bbdecodec.tmp"
else
    cls "You didn't give kixBB url-address. This script supports only BB found at kixtart.org!" get $
endif
exit


[ 30. January 2003, 16:27: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#91295 - 2003-01-31 12:56 AM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Think we can take this one to release [Big Grin] [Big Grin]
_________________________



Top
#91296 - 2003-01-30 01:14 PM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
man!
that is heavy!
_________________________
!

download KiXnet

Top
#91297 - 2003-01-30 01:30 PM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ouch .... sloppy scrolling now on post [Eek!] [Mad] [Roll Eyes]

Will contact you later

{mucho better now , still to wrench a bit}

[ 30. January 2003, 14:44: Message edited by: jpols ]
_________________________



Top
#91298 - 2003-01-30 02:55 PM Re: test crap of postprep - ignore
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what about now?
_________________________
!

download KiXnet

Top
#91299 - 2003-01-30 02:56 PM Re: test crap of postprep - ignore
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Get rid of that yellow border and we will test it for release [Wink]
_________________________



Top
#91300 - 2003-01-30 02:56 PM Re: test crap of postprep - ignore
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
Ummmm,

That is very wierd how you got the code to overlap the post window...
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
Page 1 of 2 12>


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1003 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.073 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org