View Single Post
03-11-2011, 11:44 AM   #9
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Ryan,

Sorry I forgot a line here, the replacement should be:
Code:
$wp_roles = new WP_Roles();

$user->wp_capabilities = $wp_roles->roles[strtolower(get_option('vbb_vbugroup_' . $vbulletin->userinfo[usergroupid]))]['capabilities'];
Jeff is offline   Reply With Quote