Quote:
Originally Posted by Colin F
You could try something like this:
in global.php, find:
Code:
// style specified in user profile
$styleid = $bbuserinfo['styleid'];
REPLACE WITH:
PHP Code:
if ($bbuserinfo['styleid'] == X AND $bbuserinfo['usergroupid'] != Y)
{
$styleid = $vboptions['styleid'];
}
else
{
// style specified in user profile
$styleid = $bbuserinfo['styleid'];
}
replace X with the styleid and Y with the usergroup that's allowed to view that style.
(untested)
|
I'll give that a try. Basically, I have 6 or 7 styles right now, and I want to add a new style that doesn't include advertisements and allow users to purchase that style.