I kept getting a problem where unregistered users did not have permission to play games, ie:
Quote:
In order to play gamename, you need to have a reputation of at least -1 points. Your current reputation stands at points.
|
I fixed this on my forums by giving unregistered users a default reputation of 0 in the access check:
Approximately line 737 of arcade.php:
Change from:
PHP Code:
if ($vbulletin->userinfo['userid']==0)
{
$vbulletin->userinfo['posts'] = 0;
}
to:
PHP Code:
if ($vbulletin->userinfo['userid']==0)
{
$vbulletin->userinfo['posts'] = 0;
$vbulletin->userinfo['reputation'] = 0;
}
PS - Support for java games would be
awesome!