Quote:
Originally Posted by ericgtr
This error is flooding my email box, will you please explain exactly where to search and replace? I see two instances of this and neither have a comma, is it supposed to be added to both? BTW, thanks for a great mod, the users on my site are really enjoying this. 
|
Inside estore/action.changeusername.php
Find:
Code:
// log this change into estorenamechanges
$vbulletin->db->query_write("
INSERT INTO " . TABLE_PREFIX . "estorenamechanges (changeid, dateline, changeuserid, oldusername, changedbyuserid)
VALUES
(
0,
" . TIMENOW . ",
'" . $vbulletin->userinfo['userid'] . "'
'" . $vbulletin->db->escape_string($vbulletin->userinfo['username']) . "',
'" . $vbulletin->userinfo['userid'] . "'
)
");
Replace With:
Code:
// log this change into estorenamechanges
$vbulletin->db->query_write("
INSERT INTO " . TABLE_PREFIX . "estorenamechanges (changeid, dateline, changeuserid, oldusername, changedbyuserid)
VALUES
(
0,
" . TIMENOW . ",
'" . $vbulletin->userinfo['userid'] . "',
'" . $vbulletin->db->escape_string($vbulletin->userinfo['username']) . "',
'" . $vbulletin->userinfo['userid'] . "'
)
");
And its fixed.
-CMX