The Arcive of vBulletin Modifications Site. |
|
Job Class creation problem Details »»
|
|||||||||||||||||||||||||
When I create a new class just for the admins, apparently normal users can use these classes as well. How do I fix this?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Are you sure you set Visible to No at creation?
|
|
#3
|
|||
|
|||
|
Yeah, and normal members could still choose the classes.
|
|
#4
|
||||
|
||||
|
Verified.
I am working on a fix now, thanks for reporting it ![]() Fixed. Reupload headquarters.php from new zip
|
|
#5
|
|||
|
|||
|
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? |
|
#6
|
||||
|
||||
|
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. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||
|
||||
|
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. |
|
#9
|
|||
|
|||
|
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. |
|
#10
|
||||
|
||||
|
You must make sure that no other bitfield is using the same number.
|
![]() |
|
|