![]() |
Job Class creation problem
When I create a new class just for the admins, apparently normal users can use these classes as well. How do I fix this?
|
Are you sure you set Visible to No at creation?
|
Yeah, and normal members could still choose the classes.
|
Verified.
I am working on a fix now, thanks for reporting it :) Fixed. Reupload headquarters.php from new zip :) |
The only thing that changed is normal members can now see an '*' next to the admin only classes. They're still selectable too.
EDIT: Do you by chance have the zip file? |
Yes I have the zip file, and you have it too if you look at the first post of the release thread :P
I know that it's fixed because I tested it with an admin user account and one member account. The class didn't show up at all. |
So I need to download the entire RPG zip file, I take it. Or else I'm just blind. O.o
Now I get the following error when I try to get into my HQ... Fatal error: Call to undefined function: can_administer() in /second/home/darkess/public_html/saviores/headquarters.php on line 83 |
open your includes/adminfunctions.php and look for can_administer
If you do not find it in there, then you need to update your vBulletin, because I seem to recall that one of the releases moved this function there. I think. |
I see it, yes.
Maybe it has somethign to do with the includes/init.php file? Because when I try to place: //rpg 'canadminrpg' => 65536, //rpg under: 'canadminupgrade' => 32768, I get another error. |
You must make sure that no other bitfield is using the same number.
|
All times are GMT. The time now is 11:19 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:
|