[How-To]Using Array conditionals with $vboptions
by
26 Mar 2005
I've seen a couple of people making this mistake (including me a couple of months ago), so I though I'd make a How-To. Here we go: Add a new setting (and optionally a new settinggroup). You may choose which settings you use, aslong as you remember the variable you use. (In this case we're using $pmembergroups). After you're added the setting, you can add this code as your conditional: PHP Code:
$pmembergroups = $vboptions['pmembergroups'];
EDIT: If you want a guide on how to add a setting, just ask. |