Quote:
Originally Posted by Jafo232
Huh? That post you are referring to has nothing to do with any issue you had. If anything, it is symptomatic of the AJAX issue. If someone just called ?deactivate=true it will not deactivate anything. The redirect is issued after the plugin is is deactivated. This has however brought to my attention a fact that a drop command could be called on the vb_threadid column on any deactivate. I will address this issue later today.
|
I was referring to the latter part of that post about activating and and deactivating the plugin. I got the exact same duplicate column bug as that person was getting.
Quote:
This may be an issue when the user is initially bridged (first time to wp from vb after the plugin is installed), but afterwords, it should be all set.
|
Nope, we did all our testing on someone that was already bridged before trying out the code path for users that were not bridged. The plugin gets processed after WP's session handling, so you don't have the WP cookies set on your first page view after getting the vB session set.
Also, your code requires a user to check the "Remember Me" box when logging into vB for the bridge to pick up on the login. You're checking against the bbpassword cookie, which isn't available unless that box is checked. Since not everyone checks it, that's another reason for using vB's session handler.