Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:1

Can Anonymous Coward Be Renamed?

posted by Krow on 04:04 AM December 3rd, 2002   Printer-friendly   Email story
Is there a way to rename the nickname Anonymous Coward? If a site wants to encourage anonymous submissions for some reason, calling them cowards is a bit insulting. I called up user 1 and changed the Realname field, but that didn't work. Template 101 edit_comments seems to use user.nickname, but I can't find a place to change that outside of SQL. Would something break if I did change it in SQL?
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • What you need to do as far as I can tell, is rather than changing user #1's settings, set up a new user and set the anonymous_coward_uid variable to that new user's uid. Make sure this new user has seclev of 0

    The only problem I can see for changing the username in MySQL is that archived shtml pages would still display the Anonymous Coward username after the change. Don't take my word for it though, there maybe internal things that rely on user #1's settings. I'd personally go for a new anon user account.

  • update users set nickname = 'Anon.' where nickname = 'Anonymous Coward';
    update stories set writestatus = 'dirty';
    update discussions set flags = 'dirty';

    stop and restart slashd and Apache.
    --

    Check out the Slash in Italian Project [kenobi.it]