The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
Bump
|
#3
|
||||
|
||||
Bump, could anyone at least point me in the direction of hacks that have done this?
|
#4
|
||||
|
||||
Bump...
|
#5
|
||||
|
||||
Quick question - In the IF statement - should 'inclan' be '$inclan' ?
|
#6
|
||||
|
||||
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? |
#7
|
||||
|
||||
<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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|