Quote:
Originally posted by matthew tucker
Can I somehow echo $forum['forumid'] and $bbuserinfo['usergroupid'] to the screen at the point of loading the page so I can check that the values I am trying to restrict are correct? How do I add this sort of debug info to my page?
|
yes good idea:
find
PHP Code:
if ($forum['forumid']==X AND $bbuserinfo['usergroupid']==Y)
before that add:
PHP Code:
echo "forumid :".$forum['forumid'].' - usergroupid :'.$bbuserinfo['usergroupid'];