I am trying to make a PHP page for postnuke, that I want only to be accessible by certain usergroups that are set up in pnphpbb2. How do I go about doing this?
**unknown user**
Rank: Helper
Registered: Mar 16, 2002
Last visit: Oct 21, 2009
Posts: 631
Posted: Apr 11, 2006 - 09:54 PM
Something like...
Code
<?php // Begin PNphpBB2 Module if(!defined("LOADED_AS_MODULE")){ die("You can't access this file directly..."); } global$pnconfig; $pntable = pnDBGetTables(); $ModName = basename(dirname(__file__)); // End PNphpBB2 Module