Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   WP - vb bridge and strange user interactions (http://www.lampwrights.com/showthread.php?t=113)

wacnstac 04-22-2011 08:26 AM

WP - vb bridge and strange user interactions
 
I am testing this plugin trying to get it ready to take to a production environment with vb 3.8.x and wp 3.1. I am currently the only natively registered user in WP along with a dummy user that is part of FeedWordPress (another WP plugin that feeds RSS items into posts).

When I have the bridge plugin turned off all posts and pages that I get are corrected attributed to me or the dummy Wordpress user for Feed WordPress.

When I turn the bridge plugin on, some of those posts somehow get attributed to user #647 of my vb userbase who have never posted an post or a page in WP. Any idea how this could be happening and how to sort the matter?

Jeff 04-22-2011 08:28 AM

You will probably have to edit the authors after you have the bridge on. WP is checking the userid and when bridged, it thinks it is looking at the VB user.

I hope to get the latest version of the bridge released today which will also contain a tool for mass converting articles.

wacnstac 04-22-2011 09:14 AM

Bear with me on this as this is really the last issue I need to solve before going live with this site.

I get the idea that WP is checking the userid and when bridged grabbing the name for that userid from vb. The thing that scares me is that there are only two users defined in WP right now, user 1 and 2. I can't possibly think of a scenario where posts or pages would be posted by user #647 as is happening now for some WP posts that are brought in from RSS feeds, etc.

This would be really bad once the bridge is enabled and vb users in mass start posting and commenting on things in WP, since user #647 really does exist in vb and will wonder why or how somebody is posting under his name.

Jeff 04-22-2011 09:18 AM

On the WP install, have you created AND deleted users in the past?

wacnstac 04-22-2011 09:21 AM

Possibly, but only a few. Certainly no where near 600+. Is there something I should use to clean up a database?

Jeff 04-22-2011 09:32 AM

Hmm nothing else I can think of would cause this.

Jeff 04-22-2011 11:16 AM

I just uploaded a new version that has an article conversion tool. That should fix this issue for you. :)

wacnstac 04-22-2011 12:09 PM

Quote:

Originally Posted by Jeff (Post 503)
I just uploaded a new version that has an article conversion tool. That should fix this issue for you. :)

What does this change do?

Jeff 04-22-2011 12:10 PM

It will convert all articles that are being displayed as written by VB user X to show them as written by VB user Y.

wacnstac 04-22-2011 12:11 PM

Quote:

Originally Posted by Jeff (Post 507)
It will convert all articles that are being displayed as written by VB user X to show them as written by VB user Y.

What are the instructions to upgrade the plugin. Do I do it from the WP control panel?

Jeff 04-22-2011 12:11 PM

You just overwrite the files with the current ones.

wacnstac 04-22-2011 12:19 PM

Quote:

Originally Posted by Jeff (Post 509)
You just overwrite the files with the current ones.

Upgraded.... where do get at the new setting?

Jeff 04-22-2011 12:21 PM

In tools.

wacnstac 04-22-2011 02:44 PM

Quote:

Originally Posted by Jeff (Post 511)
In tools.

Did the upgrade, but now the WP GUI doesn't work. Actually the problem that I was having looks to be that the FeedWordPress plugin was posting RSS items with a username it created in WordPress. The ID of this username did not exist in VB and I assume that is how your plugin relates the two DB's. When the plugin doesn't find a user ID, it freaks. Might want to consider allowing the users of your plugin to configure a default vb user if the ID doesn't exist in vb.

Jeff 04-22-2011 02:59 PM

Do you have this line commented out?

Code:

define('USE_ADMINCP_BRIDGE', true);

wacnstac 04-22-2011 09:46 PM

Quote:

Originally Posted by Jeff (Post 517)
Do you have this line commented out?

Code:

define('USE_ADMINCP_BRIDGE', true);

No I do not.

wacnstac 04-23-2011 09:39 PM

Quote:

Originally Posted by wacnstac (Post 519)
No I do not.

Yeap, this latest version definitely broke the WP GUI for me. I get text only editing now.

Jeff 04-25-2011 08:02 AM

You have to check the box for the editor. See vbbridge settings:

"Enable Rich Text Editor"


All times are GMT -4. The time now is 07:21 PM.

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