View Single Post
03-02-2011, 01:02 PM   #7
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
I am so booked it isn't even funny. Seriously, I am up at 5am and work until 5-6 every day.

I was working on the new WP roles the other day and it might fix the issue you are having with the old plugin. You can give it a shot anyway. Find this code:
Code:
        $user->wp_capabilities = array(strtolower(get_option('vbb_vbugroup_' . $vbulletin->userinfo[usergroupid])) => 1);
Replace with this (functions_vbbridge.php):

Code:
    $user->wp_capabilities = $wp_roles->roles[strtolower(get_option('vbb_vbugroup_' . $vbulletin->userinfo[usergroupid]))]['capabilities'];
And see if that fixes your upload issue?
Jeff is offline   Reply With Quote