You should be able to check the value of $vbulletin->GPC['userfield']['fieldX'] (where X is the actual field ID of the custom field you want to check). If it's a text field it will be text of course, otherwise the value may just be a number representing the selection. As always you should be careful when using the value in a query (use mysql_real_escape_string() or something like that).
|