Page 1 of 1 1
Topic Options
#90418 - 2002-12-09 03:09 AM TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
HEH! wrong forum at first... trying again.

so, didn't have anything better to do than read your messages so decided to do something.
this tracker is add-value for checker as this checks not the posts but the silent reader visits on the topic.

so, it gives you the info as example about how many users are feeling that a discussion or topic is not worth of involving after they've read it [Wink]

give it a try:
code:
$=createobject("kixtart.form")
$.size=300,50
$.borderstyle=0
$.center
$.caption="Enter URL"
$url=$.textbox("place here the topic URL to keep track of",10,15,220,20)
$go=$.button("shoot it",240,14,50,22)
$go.onclick="$$url=$$url.text $$.hide"
$go.default=1
$.show
$url.setfocus
$url.selstart=0
$url.sellength=-1
while $.visible $nul=execute($.doevents) loop
if 0=(instr($url,"?ubb=get_topic") and instr($url,"kixtart.org") and instr($url,"t=") and instr($url,"f=")) exit 0 endif
redim $go
if instr($url,"p=") $url=split($url,"p=")[0] $url=left($url,len($url)-1) endif
$url="http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=pntf;f="+split($url,"f=")[1]
$.size=120,200
$.caption="tracker"
$.left=$.screen.width-122
$.top=2
$eh=$.timer(60000)
$eh.ontimer="update $$.caption='tracker 0.2 ('+$$log.listcount+' members have read the topic)'"
$log=$.listbox(,10,10,100,160)
$log.sorted=1
$log.fontsize=8
$close=$.button("Exit",10,175,100,22)
$close.appearance=0
$close.borderstyle=2
$close.mousepointer=16
$close.onmouseup="$$.hide"
update
$.show
while $.visible $nul=execute($.doevents) loop

function update()
dim $, $_, $!,$#
$=createobject("microsoft.xmlhttp")
$.open("get",$url, not 1)
$.send
$#=split($.responsebody,'<a href="http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_profile;u=')
for $=1 to ubound($#)-2
$#[$]=split(split($#[$],'">')[1],"<")[0]
$!=1
for $_=0 to $log.listcount
$log.listindex=$_
if $log.value=$#[$] $!=0 endif
next
if $! $log.additem($#[$]) endif
next
endfunction



[ 09. December 2002, 06:19: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#90419 - 2002-12-09 03:11 AM Re: TopicReaderTracker 0.2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Very neat - how did you get this info - does it update periodically ?
Top
#90420 - 2002-12-09 03:12 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
once a minute.
I set it first to shoot once 10mins but that was little slow...

from recent visitors it is...
_________________________
!

download KiXnet

Top
#90421 - 2002-12-09 03:14 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
which is also reason why your appearance in here does not show [Razz]

as you seem to have disabled that feature. [Frown]
_________________________
!

download KiXnet

Top
#90422 - 2002-12-09 03:20 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
eh, can't anymore produce the form with small sysmenu...
it was something like:
borderstyle=1
borderstyle=5

eh...
_________________________
!

download KiXnet

Top
#90423 - 2002-12-09 03:20 AM Re: TopicReaderTracker 0.2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
5 = Toolbar Window
Top
#90424 - 2002-12-09 03:22 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you mean:
$form.5="toolbar window"

?
_________________________
!

download KiXnet

Top
#90425 - 2002-12-09 03:23 AM Re: TopicReaderTracker 0.2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
lol
Top
#90426 - 2002-12-09 03:24 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sorry, can't get it to work...
I'm roflol'ing but...

with build 35 remember there was a trick to do to get it working, now just can't...
_________________________
!

download KiXnet

Top
#90427 - 2002-12-09 03:26 AM Re: TopicReaderTracker 0.2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I just changed the first line of your monitoring script and it worked:

$.borderstyle=5

-Shawn

Top
#90428 - 2002-12-09 03:27 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, found it.
I had to do:

$form.borderstyle=4
$form.borderstyle=5
_________________________
!

download KiXnet

Top
#90429 - 2002-12-09 03:28 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yeah, but that is totally different.
if you have some previous state the behaviour is also different.

{edit}
btw, think this was discussed previously with chris or jochen and we cried for your help until figured it out by ourselfs...

[ 09. December 2002, 03:29: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#90430 - 2002-12-09 03:32 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
mmm...
that is no good as it also removes the form from taskbar...
_________________________
!

download KiXnet

Top
#90431 - 2002-12-09 03:33 AM Re: TopicReaderTracker 0.2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Yeah, thats a good thing no ?
Top
#90432 - 2002-12-09 03:35 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
depends on the usage.
if it's used as messagebox (which btw is annoyingly not showing in taskbar [Mad] )

if used as nicer look of form, no it's not good.
_________________________
!

download KiXnet

Top
#90433 - 2002-12-09 03:43 AM Re: TopicReaderTracker 0.2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
You want MessageBox to appear in task bar ?
Top
#90434 - 2002-12-09 03:48 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, I'm thinking these things in checker perspective [Wink]

I handled that with system-modal but it has that sticky on top...

you know, if someone has anything more important to do at the moment than answer to msgbox, he should be able to hide and then when has time, show it again.

if it does not show in taskbar, one needs to minimize other windows to see it.

oh, now speaking totally for checker.
ofcourse, once the form is visible, also the msgbox is accessible with clicking on the form.
_________________________
!

download KiXnet

Top
#90435 - 2002-12-09 06:19 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
minor update.
_________________________
!

download KiXnet

Top
#90436 - 2002-12-09 06:26 AM Re: TopicReaderTracker 0.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, got some sort of buggie in the in this version [Frown]
no time to sort out.
_________________________
!

download KiXnet

Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 313 anonymous users online.
Newest Members
Jojo67, MaikSimon, kvn317, kixtarts2025, SERoyalty
17873 Registered Users

Generated in 0.076 seconds in which 0.023 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