copy the vbindex.php to whatever name you want to call it, tetris.php for example and change home the following to the name of the template you created with the code for the tetris game:
PHP Code:
eval("dooutput(\"".gettemplate('home')."\");");
and change:
PHP Code:
// check is usergroup can view vBindex
$permissions=getpermissions();
if (!$permissions[canviewvbindex]) {
show_nopermission();
}
To:
PHP Code:
// check if user is a guest
if ($bbuserinfo['usergroupid']==1) {
show_nopermission();
}