Lampwrights Forum > Other Stuff > vBulletin Wordpress Bridge
Register Community Today's Posts Search

Reply
 
Thread Tools
01-12-2012, 12:08 PM   #1
andrewsgn
Junior Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 0
andrewsgn is getting browny points
vBulletin Older Versions

Does this work with older versions of vBulletin? I am running 3.7.4 but having the "You do not have sufficient permissions to access this page." error immediately after activating the plugin. I have tried it with #define('USE_ADMINCP_BRIDGE', true); commented and un-commented with the same results.
andrewsgn is offline   Reply With Quote

01-12-2012, 12:45 PM   #2
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Did you map users before you uncommented that line?
Jeff is offline   Reply With Quote
01-12-2012, 12:48 PM   #3
andrewsgn
Junior Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 0
andrewsgn is getting browny points
Quote:
Originally Posted by Jeff View Post
Did you map users before you uncommented that line?
I can't get to the screen where it allows you to map users. As soon as I Activate the plugin it gives me the permission error and I can't log back into the wp-admin unless I delete the plugin files. The line is still commented.
andrewsgn is offline   Reply With Quote
01-12-2012, 12:49 PM   #4
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Hmm, if that is the case, then I guess it isn't compatible with 3.7 for some reason.
Jeff is offline   Reply With Quote
01-12-2012, 12:50 PM   #5
andrewsgn
Junior Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 0
andrewsgn is getting browny points
Quote:
Originally Posted by Jeff View Post
Hmm, if that is the case, then I guess it isn't compatible with 3.7 for some reason.
OK I will upgrade to 3.8.7 and let you know how I make out.
andrewsgn is offline   Reply With Quote
01-13-2012, 10:15 AM   #6
andrewsgn
Junior Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 0
andrewsgn is getting browny points
I upgraded to 3.8.4 and I get this immediately after pressing the Activate button:

Quote:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'vbb_user_has_cap' was given in /home/sgnadmin/public_html/wordpress/wp-includes/plugin.php on line 170

You do not have sufficient permissions to access this page.
andrewsgn is offline   Reply With Quote
01-13-2012, 10:19 AM   #7
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
You should not be displaying warnings on a production server, you need to fix that in your php,ini file.

Could you find this line in vbbridge.php:

Code:
add_filter('user_has_cap', 'vbb_user_has_cap');
And move it after this line:

Code:
if ($admin_integration):
And tell me if that solves it for you?
Jeff is offline   Reply With Quote
01-13-2012, 10:48 AM   #8
andrewsgn
Junior Member
 
Join Date: Jan 2012
Posts: 5
Rep Power: 0
andrewsgn is getting browny points
Quote:
Originally Posted by Jeff View Post
You should not be displaying warnings on a production server, you need to fix that in your php,ini file.

Could you find this line in vbbridge.php:

Code:
add_filter('user_has_cap', 'vbb_user_has_cap');
And move it after this line:

Code:
if ($admin_integration):
And tell me if that solves it for you?
That worked! Thank you.

Not sure if this is by design but only the user's primary VB group seems to be mapping. When I had Administrators as a secondary group in VB I couldn't access the WP Admin. However, when I added Administrators as my primary group I could access WP Admin. Not a big deal but figured it is worth mentioning.

Thanks again for your help.
andrewsgn is offline   Reply With Quote
01-13-2012, 10:49 AM   #9
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Yes, it only works with primary group perms.
Jeff is offline   Reply With Quote
Reply

Tags

vbulletin wordpress bridge



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.