Strange WP behavior since install
Hello!
Thank you for the work you've done on the WP/VB bridge.. it's a great plugin! I installed the software tonight, and its mostly working, but for some reason when I post a new post in WP the "user" shows up as some other user from the VB database. It's the same VB user for me every time I post, and same for the other editors/administrators. I assume it's linking the existing WP accounts with someone elses VB account? Any help you could provide would be awesome, thank you! |
Quote:
|
The WP post is from a WP user. You must still have modified templates from the old bridge.
|
Quote:
All of the WP posts have VB usernames now. To login to the WP Control Panel I still use my old WP admin account, and everything shows up correctly in the WP Control Panel (Author, etc). But when I publish a post the author shows up as a certain VB user (Each Author seems to point to a certain other VB user). Any help you can provide would be great, I am not even sure where to start looking! :) |
Quote:
This happens on the article pages, in the tagline under the title. The WP author shows as some random VB user. Not sure if it matters, but the exact author name from WP doesn't exist in VB, does that matter? |
Ok, I found the bug and have fixed it. Download the latest version and overwrite the files with the new ones.
Thanks for the heads up! :) |
Quote:
|
Did you disable plugins in your WORDPRESS control panel VBridge settings?
Vbridge Settings -> Enable plugins during wordpress instance (NO) 99.9999999999% of the time you want this set to no. |
That is user settings, not vbridge settings.. It is located in the settings menu.
|
Quote:
The comment posts, but the error pops up when the page tries to re-load. |
Quote:
Quote:
|
Quote:
I would check the file and make sure it was not corrupted. (vbbridge.php). |
Quote:
I'm also getting some garbled characters in the contents of my posts when the plugin is enabled, mosty:  and …. I supposed I'll wait and see if anyone else has issues. If not, it must be specific to my installation. Thanks. |
I am getting the same issue I believe...
The new files fixed the user issue though! Thanks! This error is when I try to write a new post: Quote:
Then... Quote:
|
Note.. even though it errored.. it still posted the post to the front page.
And when it errors on commenting, it still posts the comment. |
Hmm, this might have to do with the linefeeds used in my text editor. I have converted them to unix style line feeds. Please redownload the scripts and upload them to your server.
|
Success!
Tested posting a new post as well as commenting on an existing post and they both worked with flying colors!! Thanks for fixing this.. I'll play around with it tonight and see if I can't break something else :) Do you have any plans to add/change features in the future? Thanks again! |
Quote:
One other thing I see is that the logout link doesn't appear to work. I'm guessing that link needs to redirect to the vb logout script. The only other tweak I would add pertains to guest comments. Ideally, I would like to require a user be logged into vb in order to leave a comment. Thoughts? It would be incredible if the avatar from vb was used in the comments list. Any chance of adding that? That would make it perfect!!! Thanks again. |
Quote:
"You must log in to post a comment." ... to redirect to the vb login page instead of the WP login page. |
I don't mean to bombard your thread, but I wanted to point out one more issue that you may or may not be aware of. I use third party desktop software (Windows Live Writer on windows and ecto on Mac) to post to my blog. I noticed this evening that I'm not able to log in using these types of programs with your plugin enabled.
Thanks |
Quote:
|
Quote:
Open vbbridge.php and find this line: Code:
if ( !preg_match('#wp-admin#', $_POST['redirect_to']) and !defined('WP_ADMIN') ): Code:
if ( !preg_match('#wp-admin#', $_POST['redirect_to']) and !defined('WP_ADMIN') or defined('XMLRPC_REQUEST')): |
Quote:
|
Quote:
|
Jeff, I'd like to implement forum avatars in the comments. I think I have a general idea how to do this, however, any chance you tell me what code I would need (and where) to pull the avatarrevision from the user table by userid?
The mysql query would look something like this: "SELECT avatarrevision FROM `user` WHERE `userid`= $userid"; Based on that, I think I could construct the avatar link based on an path of: /forum/customavatars/avatar".$userid."_".$customavatar.".gif Thanks for your work. I really appreciate what you've done with this mod. |
Quote:
|
Hmm scratch that, that won't help. You should be able to use the function fetch_userinfo($userid) though..
|
Quote:
|
Quote:
|
Quote:
Code:
$avrevision = $vb->db->query_first("SELECT avatarrevision FROM " . TABLE_PREFIX . "user WHERE userid = '" . $vuser['userid'] . "'"); |
Jeff, did something change since the last version? I'm not able to login with a vb user name and password via the wordpress login screen, but I know I was able to at one point. I went back and re-uploaded your original files, to make sure it wasn't something I did, but that didn't help.
|
Quote:
|
I found the issue. It seems the user names are case sensitive when logging in via the wp log in screen. When logging in to the forum directly, the user names are not case sensitive.
|
Quote:
Code:
if (( !preg_match('#wp-admin#', $_POST['redirect_to']) and !defined('WP_ADMIN')) and !defined('XMLRPC_REQUEST')): |
Quote:
|
I have put that in the pipeline for the next version.
|
All times are GMT -4. The time now is 04:54 AM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.