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

thread create & visitor username

Discussion in 'XenForo Development Discussions' started by Brett Peters, Oct 16, 2011.

  1. Brett Peters

    Brett Peters Well-Known Member

    I am currently looking at changing the create thread visitor username so that it does not require a unique name, Basically I just want to allow multiple guest users to be able to use the same name.

    If anyone can either post an example or let me know what file needs to be edited, I would be very grateful
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That check is made in this file:

    library/XenForo/DataWriter/User.php

    Search for "usernames_must_be_unique".
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    They should already be able to do that. But they aren't allowed to use any usernames that have already been registered, for obvious reasons.
     
  4. Brett Peters

    Brett Peters Well-Known Member

    Cheers Jake

    I shall look into that a bit more just incase I tested it with a registered member instead of a existing guest name.
     

Share This Page