- Create Account

Manually deleting an account

Forums > Forum Help > Manually deleting an account
Author
Message

1) Jon Lloyd Group: Guests
IP: 216.209.--.--
Angus,
   Will there be a problem with indexing if I manually delete an account and also edit the index file to match? Should I be doing it another way?

I guess this also applies to topics within a forum also?

Jon Lloyd
   

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 210.54.--.--
Well... I deliberately didn't build in account deletion. The reason is that you'd be left with orphaned posts everywhere; the account name is also stored in the file for a topic itself. (It's not really documented, but in the datafiles, usernames surrounded by angle brackets are account names not anonymous posters; the script loads the relevant user accoutn whenever it encounters these).

However, in answer to your question, you can delete users if you remove the user file, remove its entry from the user index, and also delete any posts that user has made. It shouldn't cause any problems as long as you remove all references to that user.

As for deleting topics within a forum... if you're logged in as an admin, just tick "delete topic" at the very bottom and submit. That's a built-in feature as it's rather useful -- no need to go editing files!

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.