hi i use code in template to obtain certain features to certain usergroup
in userfield_select_option template
and
userfield_wrapper template
how to convert these inorder to run in vb4???
thanks
in userfield_select_option template
PHP Code:
<if condition="THIS_SCRIPT != 'profile' OR (!in_array($profilefield[profilefieldid], array(16,17,18)) OR is_member_of($bbuserinfo, 6))">
<option value="$key" $selected>$val</option>
</if>
userfield_wrapper template
PHP Code:
<if condition="THIS_SCRIPT != 'profile' OR (!in_array($profilefield[profilefieldid], array(16,17,18)) OR is_member_of($bbuserinfo, 6))">
<fieldset class="fieldset">
<legend>$profilefield[title]</legend>
$custom_field_holder
</fieldset>
</if>
thanks
Comment