1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

changed Administrator-name not updating for previous posts?

Discussion in 'XenForo Questions and Support' started by erich37, Jan 23, 2011.

  1. erich37

    erich37 Well-Known Member

    I have had the Admin-name (username of Admin) at my Forum set as my "First Name + Last Name" previously and have posted several posts.

    Now I have changed the Admin-name from "First Name + Last Name" towards "Another Name".
    My issue is that the posts which I have submitted using "First Name + Last Name" are not updting the author-name towards the new Admin-name called "Another Name".

    How can I change the author name of all my Admin-posts so that the new user-name will show up ?
     
  2. dieketzer

    dieketzer Well-Known Member

    you need to update caches and run some cron perhaps?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    You could do it using SQL queries if you have access to the database and are comfortable doing that.

    How many posts are there?
    If it's just a few it might be easier to just edit the username field in the xf_post table.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Historic data such as this isn't updated on username changes.
     
  5. dieketzer

    dieketzer Well-Known Member

    mike was saying otherwise yesterday
     
  6. erich37

    erich37 Well-Known Member

    this is quite strange:
    at some places the name gets updates, but at other places it does not......for example at the "Last Message"-column it still shows the old user-name, but the "Thread-Starter"-name is being updated.......

    How do I get the username updated for the "Last Message"-column as well ?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Yeah, my mistake.
    Perhaps it's only quoted posts which don't update.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    That's one of them which doesn't update, I'm sure.
     
  9. erich37

    erich37 Well-Known Member

    why is it being updated at some places and at some not ?
    Looks a bit buggy to me..... at least annoying...
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    It's as designed, not a bug.
     
  11. erich37

    erich37 Well-Known Member

    sorry to say, but for the "ADMIN-username" this definitely needs to be changed.
    I do understand this "design" for regular users, but I do not get it for the ADMIN-username. The Admin should be able to change his Admin-username and when doing so it should be reflected at all places at the forum-website......... come on - this is not funny
     
  12. ragtek

    ragtek Guest

    lol.
    why it should be different for the admins username?
    how often do you change it?:D
     
  13. dieketzer

    dieketzer Well-Known Member

    where are some of the places is doesnt update?
    this is what i was hoping to learn yesterday.
    'blah said' (quotes) i imagine. 'last message'? where else?
     
  14. Brogan

    Brogan XenForo Moderator Staff Member

    The name used when Liking a message (post/profile) also isn't updated.
     
  15. erich37

    erich37 Well-Known Member

    I see the old name only at the column "Last Message". It also does not update the username at the Forum-Homepage (Forum-List).
     
    dieketzer likes this.
  16. erich37

    erich37 Well-Known Member

    How do I access this field?
    username field in the xf_post table
     
  17. erich37

    erich37 Well-Known Member

    no, it is not about "quoted posts", it is about regular posts.
     
  18. Brogan

    Brogan XenForo Moderator Staff Member

    That won't do it for the last message name.

    You want the last_post_username field in the xf_forum table.
    You can edit it using phpMyAdmin if you have access to it.
     
  19. dieketzer

    dieketzer Well-Known Member

    would probably make a great addon :)
     
    erich37 likes this.
  20. erich37

    erich37 Well-Known Member

    are you able to create an Add-on in order to fix this ?
     

Share This Page