I've been working with Sr_erick's sub-forum code and noticed a small problem. I have a forum that's marked as "Allowed Members Only (Hidden)" and while it will only let allowed members in, its not hidden.
I would like to add some checks for hidden forums, but I'm not sure what I should be checking for...
This isn't a critical issue, but I hate not having something work right.<
The MOD itself (as a distinct MOD) is still very Beta. I'm using it on the company intranet and noticed the problem. Things have been so busy (I think its worse than before I went on vacation, but that's another story another time) that I haven't had a chance to dig in.
Back to ChkDisplayForum, MemberID and ForumID I've got, but for ForumPrivateForums and ForumFPasswordNew - are those options or stuff that should be pulled in the query? (I'll try to clarify this as soon as get a little more time, I've got a class to teach in a few min.)<
F_PRIVATEFORUMS and F_PASSWORD_NEW are columns in the forum table. If the sub-forums are kept on a seperate table, you should check it to see if like columns exist.
edit - I just downloaded and had a look at the mod. It just adds a column to the forum table. Also F_PRIVATEFORUMS and F_PASSWORD_NEW are queried and chkDisplayForum() is used. I see alot of work has gone into it, maybe the check got lost along the way .
edit 2 - Just noticed I moved up in rank... got me another star
As to the other stuff, I took what sr_erick started and added a few extra checks. I'm still trying to clean it up a little and get a good readme going, but time has been a big issue. With the big turnover of nurses we've had at the hospital I've been spending a great deal of time helping with training and very little time working on programs.
Tomorrow I plan on locking the doors, pulling the shades, turning off the phone and getting some programming done without hearing "Hey, I just have a quick question: what does 'operating system not found' mean?"<