Results 1 to 6 of 6

Thread: User login name without white spaces

  1. #1
    Marketplace Seller dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,042
    Thanks
    87
    Thanked 545 Times in 444 Posts

    User login name without white spaces

    Now ACFCP plugin can not control the system profile fields.
    For example User login name

    Some site owners want to disallow enter white spaces in this field in registration form.
    For example: need "username" or "user_name" instead of "user name"

    There how you can do it now:

    1. Open file \wp-content\plugins\advanced-custom-fields-for-ClassiPress\js\acf-script.js
    2. Find line $('#user_login').addClass('required');
    3. Add below $('#user_login').addClass('nowhitespace');

    This will temporary solution while the plugin is not able to control the system fields

    Thanks

  2. The Following User Says Thank You to dikiyforester For This Useful Post:

    rdiasbarbosa (October 25th, 2012)

  3. #2
    Junior Member rdiasbarbosa's Avatar
    Join Date
    Jul 2011
    Location
    Brazil
    Posts
    44
    Thanks
    12
    Thanked 13 Times in 8 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #3
    Veteran chriswareham's Avatar
    Join Date
    Apr 2012
    Location
    Staffordshire, UK
    Posts
    296
    Thanks
    18
    Thanked 40 Times in 38 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. The Following User Says Thank You to chriswareham For This Useful Post:

    dikiyforester (October 25th, 2012)

  6. #4
    Marketplace Seller dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,042
    Thanks
    87
    Thanked 545 Times in 444 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #5
    Veteran chriswareham's Avatar
    Join Date
    Apr 2012
    Location
    Staffordshire, UK
    Posts
    296
    Thanks
    18
    Thanked 40 Times in 38 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. The Following User Says Thank You to chriswareham For This Useful Post:

    dikiyforester (October 26th, 2012)

  9. #6
    Marketplace Seller dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,042
    Thanks
    87
    Thanked 545 Times in 444 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: August 8th, 2013, 01:21 PM
  2. banners and ad spaces not appearing
    By dphr in forum Report JobRoller Bugs
    Replies: 2
    Last Post: March 24th, 2012, 02:35 PM
  3. Spaces or HTML code in general in your Ad categories
    By ketiga in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: March 23rd, 2012, 09:51 AM
  4. [MOD NEEDED] Force disallow of spaces in registration name
    By doctorcilantro in forum ClassiPress General Discussion
    Replies: 0
    Last Post: March 3rd, 2011, 12:24 PM