v3Arcade Limit games to usergroups
This modification is in the archives.
According to the v3Arcade forums this MOD was impossible, but we really needed it on our forums, so i figured it out.
Firstly, we wanted ALL our games in a premium category except for 5 or 6 which are in a 'Free' category. Its not perfect and im SURE it could be done with an array (anybody?) Things Needed: vBulletin 3.5.X v3Arcade 1.0.X Templates To Edit: 1 Install Time: 5 mins OK assuming you have 5 free games and all the rest you want restricted to usergroups 5 and 6 (admins and premium on our board) Open arcade_play template find: Code:
$flashcode Code:
<if condition="$game[gameid] ==5 OR $game[gameid] ==4 OR $game[gameid] ==3 OR $game[gameid] ==2 OR $game[gameid] ==1"> $flashcode <else /> <if condition="is_member_of($bbuserinfo, 5, 6)"> $flashcode <else /> You need to subscribe to play this game!! </if> </if> Hope someone else finds this useful. Download No files for download. Screenshots
|