The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Merge Users
Hi
I have a need to merge 2 users but not delete one of them after the merge as is currently the default. So can anyone advise which file contains the function to perform the delete at the conclusion of a user merge so I can simply comment out the delete, run the merge and then un comment the delete part of the function...thanks |
#2
|
|||
|
|||
What you're looking for is in admincp/usertools.php around line 1102:
Code:
// Remove remnants of source user $userdm =& datamanager_init('User', $vbulletin, ERRTYPE_SILENT); $userdm->set_existing($sourceinfo); $userdm->delete(); unset($userdm); |
#3
|
||||
|
||||
Thanks KH99...so much appreciated
Commented out the delete line, ran the user merge, changed the delete line back and all done The users were merged without one of them being deleted Thanks again KH99 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|