Log in

View Full Version : Custom hack for admins


webForum-dev
02-23-2008, 08:32 PM
I've been searching for a hack to create a custom page that all staff members can view but no others. The page is not supposed to be a part of the forum, just a external page.
Is there any hack like that done that can be downloaded?

Lynne
02-23-2008, 08:49 PM
I make pages just for my Staff members and put this code in my php page:


if (!can_moderate())
{
print_no_permission();
}
Make sure you include the global.php page also, or that won't work.