Results 1 to 5 of 5

Thread: Nickname Accepts '

  1. #1
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Nickname Accepts '

    Nicknames in v4.1.0 (this was an upgrade using aeWebWorks upgrade script) accept ' characters - this will cause database insert errors later when notification emails are sent out (when they are inserted into the database)

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  2. #2

    Join Date
    Jul 2006
    Posts
    101

    Default

    what would work better is if a member can make their nickname into two words. ie, fun lover .......

    is there any way this can be done ????

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by driver_x View Post
    what would work better is if a member can make their nickname into two words. ie, fun lover .......

    is there any way this can be done ????

    You can do this - by editing the preg_match in the database that checks the Username field - but this will break mod_rewrite for profile views (if I am not mistaken) unless you also deal with that in that code.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #4

    Join Date
    Jul 2006
    Posts
    101

    Default

    i think i may have found another way. if i create another field in profiles like "screen name" and can use that and change the nickname to "url" instead then i can achieve all but seeing as though i have a few thousnd members i would need to populate the new "screen name" field with the existing nicknames. would that work ?

    and how the hell do populate the new field with the existing nicknames?

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    You need to be careful when renaming standard field names... many of them are hard coded and if you change the names you will break things.

    You should create a new field for this purpose - as for populating it - you would normally write a script or include the code (write a function) that updates this value when changed/added/etc.... you more or less select the info you want, stick it in variables, and then do a update of the database with the combined info you want.... this would be the easy way without a lot of other changes required to the code.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 08-01-2007, 03:06 AM
  2. Replies: 1
    Last Post: 04-23-2007, 07:44 AM
  3. Member Nickname changes - Members ability to change their Nickname
    By Prometheus in forum Bugs aeDating v4.1.2
    Replies: 2
    Last Post: 04-04-2007, 01:29 AM
  4. NickName
    By Ringodestarr in forum General Troubleshooting
    Replies: 3
    Last Post: 01-09-2007, 11:09 AM
  5. NickName
    By tester00 in forum Bugs and Fixes
    Replies: 4
    Last Post: 09-28-2005, 02:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •