1
Hi all,
My site has a rule that users have to provide their real names when registering. I want to write a script that periodically checks the Real Name field (which I added to the user profiles) to see if it is empty or contains only one word. Then, for those accounts, I want to suspend or deactivate them so that they can no longer be used.
At the same time, I want to maintain the display of the user's username in the forum threads in order to maintain the integrity of the thread conversations, so I don't want to have something like "Anonymous" or "Unsubscribed" or "Deleted" displayed there - I want to keep the user name there.
Can anybody advise me on the best way of doing this?
Thanks,
- b -