Welcome, Guest. Please Login or Register.
April 27, 2024, 11:07:03 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Changing username « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Changing username  (Read 2115 times)
dstaton
Noobie
*
Posts: 38


I'm a not a llama, but I play one on TV.

Changing username
« on: March 04, 2004, 01:21:54 PM »
Reply with quote

YaBB SE Version: 1.5.5

Problem Description:
Hello-

A user requested that I change her username.  Not just the one that shows up, but the one she logs in with.  I found no way to do this in the admin panel, so I changed it using myphp.  That worked sort of.  She can log in with the new name, but her posts all lost their connection to her.  If you click the name on one of her previous posts, it says the username doesn't exist.

What else do I have to change to reconnect these old posts to her new name?

Thanks
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Changing username
« Reply #1 on: March 04, 2004, 02:45:39 PM »
Reply with quote

You will have to modify each of her posts 1 by 1 and put the new name in there. :-X
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Changing username
« Reply #2 on: March 04, 2004, 03:44:20 PM »
Reply with quote

A better way would be the following query:

UPDATE yabbse_messages
SET posterName = 'new_name'
WHERE posterName = 'old_name';

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Changing username « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.036 seconds with 20 queries.