![]() |
HackCP (Totally Custom)
Well, I have most of it set up, but I just realized only admins can login...
After playing around with it I added PHP Code:
and basically duplicated the block of code for modcp login in functions_login.php line 241 in the hook. PHP Code:
All my permission constants are defined in the functions_clanman.php file. |
Bump
|
Bump, could anyone at least point me in the direction of hacks that have done this?
|
Bump...
|
Quick question - In the IF statement - should 'inclan' be '$inclan' ?
|
No, inclan is a constant.
Does the AdminCP nav in XML use constants? I forget the exact tag, but it was something like <permission>candosomething</permission> candosomething = constant, or something else? |
<font size="7">YES</font>
I finally got it after probably 6 hours of pulling my hair out; the damn problem was in global.php. $checkpwd is true when the user can view the ACP, which brings up the login screen again. |
All times are GMT. The time now is 03:00 PM. |
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:
|