Current time: 04-24-2014, 10:18 AM Hello There, Guest! (LoginRegister)


[F] Merged Accounts and Join Date [C-StefanT]
08-01-2009, 04:21 AM
Post: #1
[F] Merged Accounts and Join Date [C-StefanT]
This user has been denied support. This user has been denied support.
When you merge members it takes the join date of the destination account. I would think it makes more sense to use the oldest date instead. This may or may not be counted as a bug and if not please move into suggestion area instead of bogus please.

Quote:Here you can merge two user accounts in to one. The "Source Account" will be merged in to the "Destination Account" leaving only the destination account. The source accounts posts, threads, private messages, calendar events, post count and buddy list will be merged in to the destination account.

I see nothing about warning that join date might be effected negatively.

Thank you for considering this.
Visit this user's website Find all posts by this user
08-07-2009, 06:31 AM
Post: #2
RE: Merged Accounts and Join Date
This user has been denied support. This user has been denied support.
btw also want to mention this makes more sense since if a member has a recent join date and yet you see posts from previous dates you'll wonder how that happened.
Visit this user's website Find all posts by this user
08-13-2009, 06:11 PM
Post: #3
[F] Merged Accounts and Join Date
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Visit this user's website Find all posts by this user
08-13-2009, 06:13 PM
Post: #4
RE: [F] Merged Accounts and Join Date
In admin/modules/users/user.php find:

PHP Code:
$db->update_query("users"$updated_count"uid='{$destination_user['uid']}'"); 

add after:

PHP Code:
// Use the earliest registration date
if($destination_user['regdate'] > $source_user['regdate'])
{
    
$db->update_query("users", array('regdate' => $source_user['regdate']), "uid='{$destination_user['uid']}'");


Ryan
Visit this user's website Find all posts by this user
08-13-2009, 10:45 PM
Post: #5
RE: [F] Merged Accounts and Join Date
This user has been denied support. This user has been denied support.
Excellent...thanks.
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication