Remove underscore from username

Discussion in 'aMember Pro v.4' started by awa_la, Jul 31, 2013.

  1. awa_la

    awa_la New Member

    Joined:
    May 8, 2009
    Messages:
    19
    Hello,

    I was wondering if it's possible to alter the default username generating function
    PHP:
    generateLogin()
    without altering the core User.php file.

    Basically, I'm trying to match how usernames were generated in our v3 setup,where a user's first name and last name were combined automatically, without an underscore.

    Is there anyway to override
    PHP:
    $try[] = $fn.'_'.$ln;
    in User.php without editing it directly?

    Thanks,
    Scott
  2. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    Not likely... so you might have to make that one change in the core file.
  3. awa_la

    awa_la New Member

    Joined:
    May 8, 2009
    Messages:
    19
    I figured as much, but there people here who know a lot more than I do, so I thought I'd check. Thanks.

Share This Page