Quote:
Today at 12:17 PM filburt1 said this in Post #6
It's not a good idea to overwrite an options variable. I suggest:
PHP Code:
if ($pmmaxchars != 0 and $bbuserinfo['usergroupid'] == 6)
{
$maxcharsjs = 0;
}
else
{
$maxcharsjs = &$pmmaxchars;
}
...then use $maxcharsjs in the template instead of $pmmaxchars.
edit: no offense, just my opinion
|
Which templates do we put this in? I have 4 of them with it. Can they all be done? Or do we need to put the code in other places, too?