03-01-2011, 05:24 PM | #1 |
Junior Member
Join Date: Feb 2011
Posts: 5
Rep Power: 0 |
Moving from old version to new?
I am so damned tickled to see you working on this again Jeff. Thanks to everyone involved! And I would be very happy to contribute financially as well. I really depend on this plugin.
Now, question time... Is there anything that I should be aware of when upgrading from the old version to this new one that was recently released here? Will it screw anything up at all? |
Reply With Quote |
03-02-2011, 08:24 AM | #2 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
It should not. The old version would allow VB users to log into the WP admin, whereas this version does not. It only bridges the users when they comment.
This the "Jalopy" Ryan? |
Reply With Quote |
03-02-2011, 12:08 PM | #3 |
Junior Member
Join Date: Feb 2011
Posts: 5
Rep Power: 0 |
Yep... It's me!
I'll try to upgrade one of my sites and see what happens! Thanks! R. |
Reply With Quote |
03-02-2011, 12:11 PM | #4 | |
Junior Member
Join Date: Feb 2011
Posts: 5
Rep Power: 0 |
Quote:
This is the code I speak of: Code:
#### Vbridge Replacement code for comments if ($vbridge[id] > 0) { ?> <a href="<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>" class="ico-comment fl">(<?php echo $vbridge[count] ?>) Comments</a> <?php } else { ?> <!-- no post on the forum --> <?php } ##End Vbridge Replacement Last edited by Ryan1938; 03-02-2011 at 12:14 PM. |
|
Reply With Quote |
03-02-2011, 12:49 PM | #5 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
Actually no it probably will not. The bridge currently does not post to a VB thread anymore, it uses the WP comment system. Hmm, didn't think about that... Might have to consider bringing that back into the code.
|
Reply With Quote |
03-02-2011, 12:56 PM | #6 |
Junior Member
Join Date: Feb 2011
Posts: 5
Rep Power: 0 |
Awe... So, the new version probably won't work for me. Here's my typical work flow:
1. Post feature article on wordpress. 2. The bridge automatically posts that article on VB as a thread. 3. Folks comment on the article through VB. 4. The comment count shows on WP an links to the VB thread. I'd be happy to pay up for some development. I currently just have one site with problems. Garagejournal.com will no longer allow me to upload photos through wordpress if the bridge is activated. |
Reply With Quote |
03-02-2011, 01:02 PM | #7 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
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); Code:
$user->wp_capabilities = $wp_roles->roles[strtolower(get_option('vbb_vbugroup_' . $vbulletin->userinfo[usergroupid]))]['capabilities']; |
Reply With Quote |
03-04-2011, 07:35 PM | #8 |
Junior Member
Join Date: Jan 2011
Posts: 23
Rep Power: 0 |
I made the above change, to see if it would address this issue:
http://www.lampwrights.com/showthread.php?t=46 It does not. Just wanted to share. My own coding efforts have also failed so far.
__________________
. Thanks. Tip: You can also find me at digitalFAQ.com/forum, if I don't reply here. |
Reply With Quote |
03-11-2011, 11:44 AM | #9 |
Administrator
Join Date: Jul 2010
Posts: 402
Rep Power: 10 |
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']; |
Reply With Quote |
Reply |
Tags |
vbulletin wordpress bridge |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Old Deprecated Version | Jeff | vBulletin Wordpress Bridge | 0 | 01-20-2011 01:14 PM |