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

Reply
 
Thread Tools
01-21-2011, 01:54 PM   #1
kpmedia
Junior Member
 
Join Date: Jan 2011
Posts: 23
Rep Power: 0
kpmedia is getting browny points
WP roles integrate with vB usergroups?

Is the new bridge able to translate WP roles -- using a plugin like this: http://wordpress.org/extend/plugins/role-scoper/ -- into vB usergroups?

For example, if I set up a site where there are free and paid members (maybe even 2-3 levels of paid members), using the vB payments system, and each role has specific permission to view "members only" posts in WP.

Can this work?
__________________
.
Thanks.
Tip: You can also find me at digitalFAQ.com/forum, if I don't reply here.
kpmedia is offline   Reply With Quote

01-21-2011, 01:56 PM   #2
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Quote:
Originally Posted by kpmedia View Post
Is the new bridge able to translate WP roles -- using a plugin like this: http://wordpress.org/extend/plugins/role-scoper/ -- into vB usergroups?

For example, if I set up a site where there are free and paid members (maybe even 2-3 levels of paid members), using the vB payments system, and each role has specific permission to view "members only" posts in WP.

Can this work?
Well you can map usergroups. So you can map say the adminstrators user group to the adminstrators WP user group. How that will work with roles I am not sure.

The integration does not make any changes to database settings for users, nor does it add or remove them. You should be fine to test it.
Jeff is offline   Reply With Quote
01-21-2011, 02:02 PM   #3
kpmedia
Junior Member
 
Join Date: Jan 2011
Posts: 23
Rep Power: 0
kpmedia is getting browny points
Well, I guess the only way to find out is to give it a test.
Either way, I'll report back (may be a few weeks).
__________________
.
Thanks.
Tip: You can also find me at digitalFAQ.com/forum, if I don't reply here.
kpmedia is offline   Reply With Quote
02-20-2011, 03:08 AM   #4
kpmedia
Junior Member
 
Join Date: Jan 2011
Posts: 23
Rep Power: 0
kpmedia is getting browny points
Just as an update to this...

WordPress by itself worked fine with roles.
I could set permissions using the 'Members' plugin, and shortcodes from Justin Tadlock
http://wordpress.org/extend/plugins/members/
http://justintadlock.com/archives/20...s-only-content

Once the bridge, is active, however...

The "member" and "visitor" shortcodes still work, while the "access" ones do not.
Content between "access" codes is simply hidden.
The bridge doesn't seem to understand capabilities or roles fully.

Not sure where the error lies...
__________________
.
Thanks.
Tip: You can also find me at digitalFAQ.com/forum, if I don't reply here.
kpmedia is offline   Reply With Quote
02-20-2011, 05:30 PM   #5
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Quote:
Originally Posted by kpmedia View Post
Just as an update to this...

WordPress by itself worked fine with roles.
I could set permissions using the 'Members' plugin, and shortcodes from Justin Tadlock
http://wordpress.org/extend/plugins/members/
http://justintadlock.com/archives/20...s-only-content

Once the bridge, is active, however...

The "member" and "visitor" shortcodes still work, while the "access" ones do not.
Content between "access" codes is simply hidden.
The bridge doesn't seem to understand capabilities or roles fully.

Not sure where the error lies...
If you mean why this will not work with another plugin, I am afraid I cannot really help you there.
Jeff is offline   Reply With Quote
02-20-2011, 07:38 PM   #6
kpmedia
Junior Member
 
Join Date: Jan 2011
Posts: 23
Rep Power: 0
kpmedia is getting browny points
Well, the plugins only gives you access to the pre-existing WordPress defaults for roles and capabilities, allowing you to edit or expland them. The plugin isn't creating anything that's not already part of WordPress.

(Somewhat unrelated side note: The vBBridge shares some variable names with Rolescoper, so the two can't co-exist. I have to use the alternative Members plugin to access roles/capabilities easily.)

I believe vBBridge is somehow blocking the ability for WordPress to make if/then decisions based on user roles and capabilities. It appears to be the case. Shortcodes that determine if content can be displayed, based on user role or capability, is ignored. Only 'logged in' vs 'not logged in' shortcodes are working. For some scenarios, that's not granular enough.

How does the bridge translate the vbusergroup to the wp_role+wp_capabilities? I don't think 100% of the role data is being passed to the comparable vB map.
__________________
.
Thanks.
Tip: You can also find me at digitalFAQ.com/forum, if I don't reply here.
kpmedia is offline   Reply With Quote
02-21-2011, 08:38 AM   #7
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
Other than mapping the user groups, the bridge does not touch roles that much.

Please note, once you enter the WP admincp, the vbridge basically deactivates except for vbbridge settings and user settings. So regardless what perms you give someone, they will never be able to access anything in the WP admincp. I hope to add this functionality soon, just time is limited at the moment.
Jeff is offline   Reply With Quote
02-24-2011, 04:23 AM   #8
kpmedia
Junior Member
 
Join Date: Jan 2011
Posts: 23
Rep Power: 0
kpmedia is getting browny points
Quote:
Originally Posted by Jeff View Post
Other than mapping the user groups, the bridge does not touch roles that much. Please note, once you enter the WP admincp, the vbridge basically deactivates except for vbbridge settings and user settings. So regardless what perms you give someone, they will never be able to access anything in the WP admincp. I hope to add this functionality soon, just time is limited at the moment.
I'm actually not wanting the bridge to allow access to wp-admin -- what I seek is the ability to control who can or cannot read posts, by limiting read access, which is based on either role or capabilities. It works fine in WordPress alone, but when the bridge is activated, it does not. Not even for the WP admin account.

Something is either blocking and/or ignoring roles and capabilities. I know that vB usergroups have been mapped over, but maybe not enough date is getting through? Not enough mapping of the user roles? (These are my best guesses at the moment.)
__________________
.
Thanks.
Tip: You can also find me at digitalFAQ.com/forum, if I don't reply here.
kpmedia 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 07:25 AM.


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