vBulletin vs. aMember: Permitted user name characters

Discussion in 'Integration' started by tarfos, Jan 17, 2009.

  1. tarfos

    tarfos New Member

    Joined:
    Dec 18, 2008
    Messages:
    26
    vBulletin permits spaces in user names (and just about anything else, including Japanese). aMember doesn't allow spaces.

    I think if we were able to use a space in aMember user names, we could import 99.9 percent of our vBulletin member names (and ask them to change their passwords). Can spaces be added to the permitted list of characters?
  2. zenpig66

    zenpig66 aMember Pro Customer

    Joined:
    Jan 1, 2009
    Messages:
    72
    same issue with phpBB3....you can, btw, import usernames with those type of characters in them. AMember does handle them and performs searches on them fine...I have quite a few users using the asterix(*), have imported them, and within AMember if I search with just the * it brings them up. The only character I have run into an issue with is the apostrophe but that is more of a phpBB3 thing.

    So, you can import them all...on the sign-up AMember is by default limited but you can alter it a bit in the code itself to allow whatever you want. No preset function allows you to change accepted character types within the admin of AMember which would be nice.

    btw, if you are going to import them from a csv file make sure the separator you are using is good. I have some users with the & which is stored in the mysql table as ";amp". you don't want to use what is the typical default separator of ";" because of that. I have no users using the pipe "|" so that worked fine for me.


    [edit]btw, you have the option in AMember to turn on the acceptance of spaces...that is one config option within AMember so if that's your main concern you're fine. If you want to allow other characters in signup.php take a look at getLoginRegex at the bottom of common.inc.php. I wouldn't get too fancy with adding a bunch of characters if you plan on integrating AMember to another script besides VBulletin...many don't accept all of that.[/edit]
  3. tarfos

    tarfos New Member

    Joined:
    Dec 18, 2008
    Messages:
    26
    Thanks, that helps a lot!

Share This Page