Door Games Unlimited

Welcome, Guest.


Subject: bbs.smb_curmsg in message Date: Sun May 12 2013 09:21:00
From: Nightfox To: Digital Man

  Re: bbs.smb_curmsg in messages to you
  By: Digital Man to Nightfox on Sun May 12 2013 00:18:20

 >> I've started examining the values of bbs.msg_offset and bbs.msg_number
 >> (using a "development" version of SlyEdit on my BBS).  When I reply to
 >> a message, using the message read prompt, it seems that both
 >> bbs.msg_offset and bbs.msg_number are always 0, no matter which
 >> message I'm replying to. It doesn't seem to matter which message group
 >> or sub-board I'm reading/replying in, either.  Not sure if this is
 >> normal?

 DM> It's as designed apparently, but unexpected. I'm making a change now in
 DM> CVS which will allow those properties to be used in more places than just
 DM> the "show message header" function (which doesn't directly use JavaScript)
 DM> - that was an oversight on my part.

I updated to this morning's build, but I'm still seeing some odd behavior with
bbs.msg_offset.  I first read a few messages (using the message read prompt)
and bbs.msg_offset was 0 for each message.  Then I tried the "Scan for messages
to you" in a different sub-board, and bbs.msg_offset had a non-zero value
(which I imagine was correct for that situation).  Then I came back to the
first sub-board I was in and read messages again with the Message read prompt,
and bbs.msg_offset was 2.  The message I was reading was the last message in
the sub-board, so that doesn't seem right.

Nightfox

---
 ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com

Previous Message       Next Message
In Reply To: bbs.smb_curmsg in message (Digital Man)
Replies: bbs.smb_curmsg in message (Digital Man)