<?php $dir = getcwd(); chdir('./forums'); // replace with your forums directory require('./global.php'); chdir($dir); if($bbuserinfo['userid'] == 0) { show_nopermission(); } ?> text only viewable by members