Re: How to: ddlb of user roles
Haven’t you noticed this line from bbPress source (L1296 in template-functions.php)?
$roles = $bb_roles->role_names;
I think chrishajer and me thought you knew how to program with PHP (by checking your website). Yes, chrishajer gave you a piece of code that is a hint not a just-can-work code at everywhere. I thought you can code with PHP, and you should be able to put the rest on your own code. However, I was wrong or you think someone else has taken care of the rest for you?
you also need to do global $bb_roles;
, in case you really can not code with PHP.
(edit: Sorry for this emotional post to everyone else)