Subj : Determining the posting message area
To   : Digital Man
From : Nightfox
Date : Sun Feb 17 2013 11:42 am

Hi DM,

In Synchronet's JavaScript, is there a (reliable) way to determine which
message area the user is posting a message in?  From what I can tell, there are
2 JavaScript variables that store sub-board codes:
bbs.smb_sub_code: The sub-board code of the message being read
bbs.cursub_code: The sub-board code of the user's current sub-board

The problem is that those two sub-board codes can be different, and the user
could be posting a message in either of those sub-boards.  I'm not sure how to
reliably tell which of those sub-boards the user is posting a message in.

Nightfox

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