...thus deleting all his posts as well.
However, from what I know, when an account is deleted, that account's posts are given to a guest with the same name as the account. If that's true, then the posts are still in the database, but simply aren't displayed because guests can't post.
And if that's the case, then someone with database access can run a SQL query to get those posts back and attribute them to his current account. I'm thinking that query would look like:
You'd need to replace "Brie Loader" with whatever the account was called when it was deleted, "smf_" with whatever Mariowiki uses for its table prefix, "smf" (without the underscore) with the database name, and "970" with the correct user ID for the current account. All of these would be easy to find for anyone who can actually run the query.
Although I'm not so good with SQL, I did test this on a local installation of SMF.
Anyway, would this work, or am I insane and wrong?
EDIT: And I apologize if this should be posted somewhere else.
However, from what I know, when an account is deleted, that account's posts are given to a guest with the same name as the account. If that's true, then the posts are still in the database, but simply aren't displayed because guests can't post.
And if that's the case, then someone with database access can run a SQL query to get those posts back and attribute them to his current account. I'm thinking that query would look like:
UPDATE `smf`.`smf_messages` SET `ID_MEMBER` = '970',
`posterName` = 'Uniju' WHERE `smf_messages`.`posterName` ='Brie Loader' ;
You'd need to replace "Brie Loader" with whatever the account was called when it was deleted, "smf_" with whatever Mariowiki uses for its table prefix, "smf" (without the underscore) with the database name, and "970" with the correct user ID for the current account. All of these would be easy to find for anyone who can actually run the query.
Although I'm not so good with SQL, I did test this on a local installation of SMF.
Anyway, would this work, or am I insane and wrong?
EDIT: And I apologize if this should be posted somewhere else.