• message count

    From Hax0r@VERT/HAX0RQWK to All on Thu May 2 07:20:00 2002
    is there a way to determine the total number of "unread" messages (by messages i mean message board messages) and display that to the user?



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Thu May 2 08:57:25 2002
    Re: message count
    By: Hax0r to All on Wed May 01 2002 11:20 pm

    is there a way to determine the total number of "unread" messages (by messag i mean message board messages) and display that to the user?

    Not using Baja, no. Possibly using JS, and certainly using C.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Wed May 8 05:30:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Thu May 02 2002 12:57 am

    is there a way to determine the total number of "unread" messages (by me i mean message board messages) and display that to the user?

    Not using Baja, no. Possibly using JS, and certainly using C.

    so, i'm assuming i'd have to implement some functionality of SMBLib and run it as a door to tell users how many unread message base message they have?



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Wed May 8 08:36:25 2002
    Re: message count
    By: Hax0r to Digital Man on Tue May 07 2002 09:30 pm

    is there a way to determine the total number of "unread" messages (by i mean message board messages) and display that to the user?

    Not using Baja, no. Possibly using JS, and certainly using C.

    so, i'm assuming i'd have to implement some functionality of SMBLib and run as a door to tell users how many unread message base message they have?

    If you wanted to write in C or C++, yes. Actually you would utilize "some functionality" of the SMBLIB (not implement it). This kind of thing should be doable with JS, if not now, then certainly in the future.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Thu May 9 05:17:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Wed May 08 2002 12:36 am

    If you wanted to write in C or C++, yes. Actually you would utilize "some functionality" of the SMBLIB (not implement it). This kind of thing should doable with JS, if not now, then certainly in the future.

    well, i started looking at the document on the SMB format -- heh, i havent done any c programming in quite some time, but the doc is fairly readable. by day i'm a vb programmer... since it seemed as if you had the formats pretty well defined, i've tinkered with the thought of creating classes to wrap the layout and maybe tap into the message base files --- tinkered with the thought is the operative word here there's not really any code written yet.

    anyways, i'd go the javascript approach, but i just don't even want to go there. i'm not a real big fan of javascript -- partly because i'm cold as dirt using it, and the only real thing i've ever done with java script is web client side validation of values. sure, i could learn the object model, but i'd much rather stick to something i'm more familiar with before i start exploring javascript and waste a whole lot of time writing this simple little program.




    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Tracker1@VERT/RDBBS to All on Thu May 9 19:05:00 2002
    "Hax0r" <Hax0r@VERT> wrote in message news:3CD995CC.118.BAJAPROG@theroughnecks.net...
    RE: message count
    BY: Digital Man to Hax0r on Wed May 08 2002 12:36 am

    If you wanted to write in C or C++, yes. Actually you would utilize "some functionality" of the SMBLIB (not implement it). This kind of thing should doable with JS, if not now, then certainly in the future.

    well, i started looking at the document on the SMB format -- heh, i havent done any c programming in quite some time, but the doc is fairly readable.
    by
    day i'm a vb programmer... since it seemed as if you had the formats pretty well defined, i've tinkered with the thought of creating classes to wrap the layout and maybe tap into the message base files --- tinkered with the
    thought
    is the operative word here there's not really any code written yet.

    Actually, this wouldn't be a bad idea, isn't most of the smb functionality already in an api/dll that you could call in vb? Haven't really looked, because my own preference would be doing it in JS... also, you just want the messages unread for the current area, correct?

    anyways, i'd go the javascript approach, but i just don't even want to go there. i'm not a real big fan of javascript -- partly because i'm cold as dirt using it, and the only real thing i've ever done with java script is web client side validation of values. sure, i could learn the object model, but i'd much rather stick to something i'm more familiar with before i start exploring javascript and waste a whole lot of time writing this simple little program.

    Javascript does have a lot more usefulness.. can be used for other mods in synchronet, and imho more flexable then baja... beyond this, you can do a lot more on the browser with js... In ASP on the webserver, you can use JS for the server-side scripting, as well as the fact that PHP, and Flash/Shockwave have a similar syntax, making these easier to learn.

    =======================================================================
    Michael J. Ryan - tracker1[*at*]theroughnecks.com
    Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net =======================================================================
    Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
    One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/

    ---
    þ Synchronet þ *QWK Origin: Roughneck BBS - theroughnecks.net
  • From Hax0r@VERT/HAX0RQWK to Tracker1 on Fri May 10 04:18:00 2002
    RE: message count
    BY: Tracker1 to All on Thu May 09 2002 11:05 am

    Actually, this wouldn't be a bad idea, isn't most of the smb functionality already in an api/dll that you could call in vb? Haven't really looked, because my own preference would be doing it in JS... also, you just want th messages unread for the current area, correct?

    yeah, just the message unread. there's no API that I'm aware which can be used to tap into. I was under the assumption that i'd have to write my own code to do it given the specs. Rob seems to have the format pretty well laid out, it would just be a decent amount of work.

    Javascript does have a lot more usefulness.. can be used for other mods in synchronet, and imho more flexable then baja... beyond this, you can do a l more on the browser with js... In ASP on the webserver, you can use JS for server-side scripting, as well as the fact that PHP, and Flash/Shockwave ha similar syntax, making these easier to learn.

    until javascript becomes more user friendly, i have no interest in it. i remember doing client side validation just how much of a pain in the ass it was to figure out the object model for shit. i had to dig through web page afer web page to find the reference for javascript on Netscapes web site. I've lost the link since then, and really don't feel i should have to learn not only the javascript object model, but the synchronet one as well -- thats just too much to ask. besides, as i said earlier -- javascript really holds no interest to me. i honestly hope that the damn thing just goes away and people use something a bit more sensible -- like vbscript ;)



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Fri May 10 07:01:19 2002
    Re: message count
    By: Hax0r to Tracker1 on Thu May 09 2002 08:18 pm

    Actually, this wouldn't be a bad idea, isn't most of the smb functionalit already in an api/dll that you could call in vb? Haven't really looked, because my own preference would be doing it in JS... also, you just want messages unread for the current area, correct?

    yeah, just the message unread. there's no API that I'm aware which can be used to tap into. I was under the assumption that i'd have to write my own code to do it given the specs. Rob seems to have the format pretty well lai out, it would just be a decent amount of work.

    There is an API, it's called SMBLIB. If you're going to write it in C/C++, use the SMBLIB (src/sbbs3/smblib.c) to save yourself a ton of work.

    Javascript does have a lot more usefulness.. can be used for other mods i synchronet, and imho more flexable then baja... beyond this, you can do a more on the browser with js... In ASP on the webserver, you can use JS fo server-side scripting, as well as the fact that PHP, and Flash/Shockwave similar syntax, making these easier to learn.

    until javascript becomes more user friendly, i have no interest in it. i remember doing client side validation just how much of a pain in the ass it was to figure out the object model for shit. i had to dig through web page afer web page to find the reference for javascript on Netscapes web site.

    You mean this one?

    http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html

    I've lost the link since then, and really don't feel i should have to learn not only the javascript object model, but the synchronet one as well -- that just too much to ask. besides, as i said earlier -- javascript really holds no interest to me. i honestly hope that the damn thing just goes away and people use something a bit more sensible -- like vbscript ;)

    VBScript is proprietary. JavaScript is not going away.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Sun May 12 08:25:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Thu May 09 2002 11:01 pm

    There is an API, it's called SMBLIB. If you're going to write it in C/C++, the SMBLIB (src/sbbs3/smblib.c) to save yourself a ton of work.

    well, it would be nice to compile it into a dll and be able to utilize it from other languages.... one of these days i'll have to spend some time and take a look at whats already there ;)

    You mean this one?

    http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html

    YES!!! hehe.. You wouldn't want to know how much time it took me to find that way back when. Netscape's site is not very user/search friendly -- atleast it wasn't last time i went looking for that doc.

    VBScript is proprietary. JavaScript is not going away.

    VBScript is ALOT easier to program in, atleast I think so. I was being cynical when I said Javascript is going to go away -- I know its not, but honestly I wish it would... heh



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Knightmare@VERT/RIVERNET to Hax0r on Sun May 12 19:02:00 2002
    RE: message count
    BY: Hax0r to Digital Man on Sun May 12 2002 12:25 am

    VBScript is ALOT easier to program in, atleast I think so. I was being cynical when I said Javascript is going to go away -- I know its not, but honestly I wish it would... heh


    4 out of 5 script kiddies actually do admit VBS is their choice.



    ---
    þ Synchronet þ StarKnight BBS - Billings, MT USA - Fidonet 1:xxx/xxx
  • From Digital Man@VERT to Hax0r on Mon May 13 22:04:18 2002
    Re: message count
    By: Hax0r to Digital Man on Sun May 12 2002 12:25 am

    There is an API, it's called SMBLIB. If you're going to write it in C/C++ the SMBLIB (src/sbbs3/smblib.c) to save yourself a ton of work.

    well, it would be nice to compile it into a dll and be able to utilize it fr other languages.... one of these days i'll have to spend some time and take look at whats already there ;)

    It already is: exec/sbbs.dll - all the smblib functions are exported.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Wed May 15 04:41:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Mon May 13 2002 02:04 pm

    It already is: exec/sbbs.dll - all the smblib functions are exported.


    really? i never knew that! wow, that makes things really interesting. i'll definately have to look into things now. do you provide an API somewhere as to exactly whats publically accessible and what params it takes/returns?



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Wed May 15 06:20:27 2002
    Re: message count
    By: Hax0r to Digital Man on Tue May 14 2002 08:41 pm

    It already is: exec/sbbs.dll - all the smblib functions are exported.


    really? i never knew that! wow, that makes things really interesting. i'll definately have to look into things now. do you provide an API somewhere as to exactly whats publically accessible and what params it takes/returns?

    Yes, src/sbbs3/smblib.h.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Thu May 16 05:57:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Tue May 14 2002 10:20 pm

    really? i never knew that! wow, that makes things really interesting. definately have to look into things now. do you provide an API somewher to exactly whats publically accessible and what params it takes/returns?

    Yes, src/sbbs3/smblib.h.

    dude.. thanks a lot. only question is, is there any place i can get just that header file and not have to download the entire sbbs source package?



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Thu May 16 07:06:37 2002
    Re: message count
    By: Hax0r to Digital Man on Wed May 15 2002 09:57 pm

    really? i never knew that! wow, that makes things really interesting. definately have to look into things now. do you provide an API somewh to exactly whats publically accessible and what params it takes/return

    Yes, src/sbbs3/smblib.h.

    dude.. thanks a lot. only question is, is there any place i can get just th header file and not have to download the entire sbbs source package?

    Yes, http://cvs.synchro.net/cgi-bin/cvsweb.cgi/~checkout~/src/sbbs3/scfglib.h?rev=1. 15&content-type=text/plain

    Of course, if you plan to #include it in your source code, you'll need some other files as well (smbdefs.h, filewrap.h, etc.).

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT/FREEBSD to Hax0r on Thu May 16 09:14:00 2002
    RE: message count
    BY: Hax0r to Digital Man on Wed May 15 2002 09:57 pm

    RE: message count
    BY: Digital Man to Hax0r on Tue May 14 2002 10:20 pm

    really? i never knew that! wow, that makes things really interesting. definately have to look into things now. do you provide an API somewh to exactly whats publically accessible and what params it takes/return

    Yes, src/sbbs3/smblib.h.

    dude.. thanks a lot. only question is, is there any place i can get just th header file and not have to download the entire sbbs source package?




    Well, you can always pull a single file via CVS... if you don't have cvs installed, you can use cvsweb... there's a link from http://cvs.synchro.net/ and download individual files.

    ---
    þ Synchronet þ telnet://FreeBSD.synchro.net ``Penguins are tasty snacks''
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Fri May 17 02:22:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Wed May 15 2002 11:06 pm

    Yes, http://cvs.synchro.net/cgi-bin/cvsweb.cgi/~checkout~/src/sbbs3/scfglib.h?re 15&content-type=text/plain

    Of course, if you plan to #include it in your source code, you'll need some other files as well (smbdefs.h, filewrap.h, etc.).

    can't i just add the dll as a reference and declare the functions in vb to call them? i've done this with several other dlls....



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Fri May 17 03:36:23 2002
    Re: message count
    By: Hax0r to Digital Man on Thu May 16 2002 06:22 pm

    Yes, http://cvs.synchro.net/cgi-bin/cvsweb.cgi/~checkout~/src/sbbs3/scfglib.h? 15&content-type=text/plain

    Of course, if you plan to #include it in your source code, you'll need so other files as well (smbdefs.h, filewrap.h, etc.).

    can't i just add the dll as a reference and declare the functions in vb to call them? i've done this with several other dlls....

    Yes, but the parameters are complex-types (defined smbdefs.h). I'm not sure how you'll convert those to VB types.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Hax0r@VERT/HAX0RQWK to Digital Man on Mon Jun 10 00:53:00 2002
    RE: message count
    BY: Digital Man to Hax0r on Thu May 16 2002 07:36 pm

    Yes, but the parameters are complex-types (defined smbdefs.h). I'm not sure you'll convert those to VB types.

    so are the parameters a pointer to a struct -- or by Complex, do you actually mean the numeric "complex" type. if they are pointers to a struct, then i should be able to mirror the structure in VB and send in a pointer to the structure. vb isn't that much different than traditional programming languages, it just hides a lot of the "complexities" from the user -- ie pointers/references.



    ---
    þ Synchronet þ .. hax0r's palace .. you've just been hax0r'd ..
  • From Digital Man@VERT to Hax0r on Mon Jun 10 23:10:11 2002
    Re: message count
    By: Hax0r to Digital Man on Sun Jun 09 2002 04:53 pm

    Yes, but the parameters are complex-types (defined smbdefs.h). I'm not su you'll convert those to VB types.

    so are the parameters a pointer to a struct -- or by Complex, do you actuall mean the numeric "complex" type.

    They are pointers to structures (defined in smbdefs.h).

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net