Function reattributePosts
This function is used to reassociate members with relevant posts. Reattribute guest posts to a specified member. Does not check for any permissions. If add_to_post_count is set, the member's post count is increased.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Members.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Members.php
integer |
$memID |
The ID of the original poster |
boolean|string |
$email = false |
If set, should be the email of the poster |
boolean|string |
$membername = false |
If set, the membername of the poster |
boolean |
$post_count = false |
Whether to adjust post counts |
array
|
An array containing the number of messages, topics and reports updated |