I need a plug-in or PHP file made that will allow or deny access to a forum based on usergroup.
The plug-in must work as follows:
1) I link all forums on the forumhome page to [url removed, login to view]
2) The [url removed, login to view] (or plugin script) runs, and if the user is a member of usergroups that I specify (say "V.I.P. members"), the validator then redirects to the forumid I specified in the original string.
3) If the user is not a "VIP member" (based on what usergroup they are in, which I need to be able to specify), then the script will instead send them to a different URL which I need to be able to specify.