![]() |
global.php
Ok so I wrote a private script I only want certain usergroups to see. But the problem im having is when I use the global.php to set the permision like:
HTML Code:
<?php Is there any other way I could restrict access by certain usergroups without the global.php. Or maybe someone could tell me exactly what part of the global php is the part that sets the permissions like that. And I could just create a new file to tie the permissions into. Any help would be greatly appreciated. |
I would rather change my own script to suit global.php than change global.php to suit my script.
|
another idea is to copy global.php to global2.php, edit global2.php and require global2.php
|
Well I found this code by ModShack:
Code:
Which works fine though now I would like to log who logs into that page like: the username and ip addy used. Does anyone know how I could do this? |
All times are GMT. The time now is 10:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|