Quote:
Originally Posted by paul41598
where do I put that? In a template or in misc.php? Where exactly? Sorry for stupidity.
Love the hack m8, thanks again! 
|
Look for this code in the install.html file:
PHP Code:
foreach ($new_categories AS $input)
{
$add_select .= "<option value=\"".$input."\">$input";
}
It should look like this:
PHP Code:
foreach ($new_categories AS $input)
{
if ( $input == "yourcategoryname" )
{
if ( $bbuserinfo[usergrouid] == "6" )
{
$add_select .= "<option value=\"".$input."\">$input";
}
else
{
// do nothing
}
}
else
{
$add_select .= "<option value=\"".$input."\">$input";
}
}
And if you want to add more categories then replace this line:
PHP Code:
if ( $input == "yourcategoryname" )
with this:
PHP Code:
if ( $input == "yourcategoryname" || $input == "secondcategory" )
Cheers,