Thanks, that was almost identical to what I had, but I see where the problem lies now.
1 2006-01-03 00:10
Re: Check if user is Admin (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2 2006-01-02 23:29
Topic: Check if user is Admin (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I want to make a simple function isAdmin() that just checks whether the current user is an admin or not as defined with the PUN_ADMIN, but it seems anything I try keeps saying they are admin...even if they are logged out.
If anyone would help me out, it would be appreciated.
Thanks in advance.