![]() |
Hi,
I just installed this and am having the same problem as everyone else. The posting to forums works wonderful. However, I am not able to access the wp-admin panel. It just sends me back to vbulletin. Even when I manually type in the address to /wp-admin or /wp-login.php, I'm redirected back to vbulletin. This also happens even after I've cleared all the cookies so it doesn't seem to be a cookie issue. I think something is not redirecting correctly. Both WP and VB are installed on the same domain and database. If anyone knows what I may be doing wrong please let me know. Thanks :) |
Quote:
|
Hi Jafo,
Yes I did log into vbulletin afterwards, however, I do not believe I had the remember me checked. I'll try that and see if it works. Edit: Okay, tried that and it still does not allow me access to the wp admin panel. |
For those having issue, please let me know what version of VB and WP you are using.. And links would be nice (to your forum and WP).
|
Quote:
|
Checking now..
|
Did you map the users before you auto-integrated?
|
Quote:
I replied to your pm but yes I did do the mapping. There were a couple I did not map because there was no reason to such as the unregistered and banned users. |
When I turn the user integration on, I receive this error and the users are not being integrated.
Fatal error: Call to a member function unlock_tables() on a non-object in /home/admin/domains/bostonerotic.net/public_html/board/includes/functions.php on line 4802 Thank you in advance for your help. |
Quote:
|
I am using VB 3.6.4 and WP 2.5.0, both using the same database
Posts made in WP post to the proper forum, etc., however when I try to logout of WP it takes me to vb and gives me an error: Quote:
Also- WP visitors comments don't seem to be posted to vb - is this normal? Also- after installing this, whenever I activate a new plugin, I get this error: Quote:
|
another thing I just noticed. When logging in as admin from another computer it will not allow me to go to the "site admin" link in vb - it takes me to the forum index if I click the "site admin" link. I uninstalled it at this point it seems to be pretty buggy, but I am looking forward to more development for this WP plugin.
|
Ok I am unable to recreate the issues the few of you are having and I have this installed on three different servers. If you have such issues, the only real way I would be able to do anything about it is to have access to your server via FTP so I can see it first hand.
|
On my servers, the unlock_tables() error did not show up on the pages themselves, however, I was able to find it in the server logs. This allowed me to isolate the error.
You can either download the latest version and replace it, or just add this line right after the <?php tag in the vbridge.php file: Code:
define('NOSHUTDOWNFUNC', true); |
Thanks, Jafo!
Unfortunately, nothing seems to have changed. Just wondering -- i've also got phpBB and Menalto Gallery installed on the same server. Could they be interfering with this bridge at all? |
Had a few problems: if you save /edit a post before you publish it would not show up in the forum. And anything I edited would not be edited in the forum, but i guess thats pretty logical. All my posts where posted as guest btw, assumed it would be under my own name when logged in. Never assume i guess :P
Other then this, it worked well. But moved to vBDrupal, the template integration is brilliant. |
Quote:
|
I think I found the issue. I could have sworn I did this originally but the code simply wasn't there.
I forgot to add TABLE_PREFIX to a SQL call to the VB database, so basically it could not find any users IF you used a database prefix on your VB install. This is why it did not affect everyone. You can either download and replace with the latest plugin (no need to deactivate), or you can edit the code by finding this line in vbbridge.php: Code:
$sql = "SELECT * FROM user WHERE userid=" . intval($vbulletin->GPC[COOKIE_PREFIX . userid]) . " AND MD5(CONCAT(password, '". COOKIE_SALT ."')) = '" . addslashes($vbulletin->GPC[COOKIE_PREFIX . password]) . "'"; Code:
$sql = "SELECT * FROM " . TABLE_PREFIX . "user WHERE userid=" . intval($vbulletin->GPC[COOKIE_PREFIX . userid]) . " AND MD5(CONCAT(password, '". COOKIE_SALT ."')) = '" . addslashes($vbulletin->GPC[COOKIE_PREFIX . password]) . "'"; Please NOTE! If your WP login name is the same as your VB username, this user will NOT be ported! If this was the case, you could lose your WP admin rights if there was an error, or if you deactivated the plugin. |
Added a couple things today. Fixed the problem where if you saved, and published later, the script would not post to the forum.
When you edit a WP post, it will automatically be edited in the forum. |
So would this plugin not work if your forum and wordpress were on different subdomains?
Say your WP is on http://domain.com and your vB was on http://forums.domain.com. |
Quote:
|
I am using the new wordpress and vb 3.6.4...
Quote:
|
Make sure you have the latest version of this mod, 2.03.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
I modified it today so that titles should also change the title when you edit a post. I tested it quite a bit and it appears to be working just fine. Let me know if you have any issues. To upgrade, just replace the old version with the new version. DO NOT deactivate! |
I've set the users map up as follows
VB Admins - WP Admins VB Moderators - WP Editor VB Registered Users - WP Authors Unfortunately, the admins get added in the default group, which is a subscriber. Some initial code review leads me to this line in /wp-includes/registration_functions.php Code:
if ( !$update ) { But I still end up with everyone being setup as a subscriber - ( a:1:{s:10:"subscriber";b:1;} ) Any clues on what I might be doing wrong or overlooking? Great mod, drop me a note if you want to do a Wordpress MU version of this, would be happy to help with the $s. |
Quote:
|
Administrators in both cases.
Code:
mysql> select usergroupid, title from main_vb_usergroup where usergroupid>'4'; Code:
mysql> select option_name, option_value from main_wp_options where option_name like 'vbb%'; |
Quote:
|
Jafo, yep thats what it looks like.
|
Jafo, I'm going to bed now (its past mid night where I am). Will put some debugging statements into the code and update tommorrow.
|
Quote:
|
Sorted the problem out.
Related to a bug in Wordpress that hasn't been addressed in a long time. The capabilities column in the prefix_wp_option table inherits the prefix .. so it is not wp_capabilities, but it is prefix_capabilities. In my case, I had to change the sql statements which manipulated the wp_capabilities row to Code:
$sql = "UPDATE " . $GLOBALS['table_prefix'] . "usermeta set meta_value = '". serialize(array(strtolower(get_option('vbb_vbugroup_' . $vbuser->usergroupid)) => 1)) ."' where user_id = '". $results->ID ."' and meta_key = 'main_wp_capabilities'"; |
Hi, quick question.
This mod was tested with Wordpress 2.0.6 or was it only with 2.0.5 ? |
Quote:
|
vB 3.6.4 (http://www.ojodigital.com/revista/foro/)
WP 2.0.6 (http://www.ojodigital.com/revista/) Users OK Post OK BUT Comments doesn't work :( Wordpress and vBulletin comments are independent What i have to do? |
Quote:
Im running vB 3.6.4 and WP 2.0.6 Iv also mapped the users but some reason WP does not list the users from the Forum in the users list & also if a user is logged into vbulletin and then access the blogs to post a comment, it says you need to log in? Why's that? And if some one posts a reply in the forum for the blog, shuddnt that comment show up on the blogs page aswell? That would be nice as i made a reply on the forum, went to the blog and said 0 comments. :( |
First of all, did you read the directions completely? You have to edit your WP template to handle the new comments. PLEASE READ THE DIRECTIONS IN THE readme FILE!
|
All times are GMT. The time now is 01:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|