Thanks to Stallion and FireFly for their input on this
Part I:
In register.php, Find this:
AFTER it, add this:
From now on, when a user registers with the same username they posted with on ezboard, their old posts will be linked to their new member account.
If people have already registered, or if they want a new nickname, you can use the attached script I made. Just edit $newusername and $oldusername and upload to your /admin directory, then run it(be sure to rename it to .php instead of .php.text ).
Yea, I know it doesn't have fancy menus or anything, but I didn't think it was worth the time and effort to do that...so sue me, or do it better, I'd appreciate the latter more
Updated - 10/27/01: Added FireFly's menu code. Thanks
Part I:
In register.php, Find this:
PHP Code:
$DB_site->query("INSERT INTO userfield $userfieldsnames VALUES ($userid$userfields)");
PHP Code:
$totalposts=$DB_site->query_first("SELECT COUNT(postid) AS posts FROM post WHERE userid='$userid'");
$DB_site->query("UPDATE user SET posts='$totalposts[posts]' WHERE userid='$userid'");
If people have already registered, or if they want a new nickname, you can use the attached script I made. Just edit $newusername and $oldusername and upload to your /admin directory, then run it(be sure to rename it to .php instead of .php.text ).
Yea, I know it doesn't have fancy menus or anything, but I didn't think it was worth the time and effort to do that...so sue me, or do it better, I'd appreciate the latter more
Updated - 10/27/01: Added FireFly's menu code. Thanks
Comment