I'm trying to write some code that pulls up only the forum that the current user can use, NOT including the forums the current user is not allowed to view and NOT including the forums that are not
PHP Code:
$_FORUMOPTIONS['showonforumjump']
.
I was doing great by copying the routine from the /archive/global.php subroutine for getting foruminfo. The only problem is there was nothing about 'showonforumjump'. So I went to the functions.php subroutine and all it says there is
PHP Code:
!($forumcache["$forumid"]['options'] & $_FORUMOPTIONS['showonforumjump'])
If I try to copy that into my new subroutine, it doesn't work at all. If I print it out, all it says is 65536, regardless which forum, even forums marked as not showonforumjump.
There must be some way to access this. That's why I keep saying the permission system in vb is very good, but how the hell does it work?
Thank you in advance for any help you can offer.