For NO PERMISSION problems, try this...
In MODERATOR.PHP
Change
if ($permissions[ismoderator] or $ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND canviewprofile=1"))
INTO
if ($permissions[ismoderator] or $ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid]"))
(In short, remove the "AND canviewprofile=1")
And calling the script directly as just mod/points.php
Won't work. It needs the ?action=points as well as the other info in the URL to function.
|