PDA

View Full Version : Help : Trying to modify a class/rank hack


Schmoo
10-11-2002, 09:21 PM
Hi,
I'm trying to modify Dark Vincent's Class/Rank hack to fit my boards a little better.
The only thing really different I did was add so each usergroup would only have access to certain classes after reaching certain requirements (post count, jointime, etc.) I also set up ranks for each class.
The code looks like it should work, but when I run it I get the same errors:

Parse error: parse error, unexpected T_ELSE in /????/functions.php on line 1183

Fatal error: Unknown function: getuserinfo() in /????/sessions.php on line 324

I'm putting it in the right spot, and attached is the coding I modified the hack with.

Any help would be greatly appreciated.

NTLDR
10-11-2002, 10:07 PM
When posting errors it helps if you post about 5 lines either side of the error in the file so people can see what is wrong :)

Schmoo
10-11-2002, 10:17 PM
Thanks, I uploaded the modified php.