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 08:36 PM. |
Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.