- This topic has 3 replies, 2 voices, and was last updated 10 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Is there some way to get rid of the 4 characters minimum username requirement?
I’m adding some members and some of them have 3 characters in their username and I don’t want to make them have to change their usernames. I can’t imagine why they added this limitation to the plugin, but I don’t like it at all.
Is there any way around it? Can I go into the plugin code somewhere and delete that bit of code? Or would the next plugin update put the old code back in?
Hi, yes you can edit that code in the plugin.
For user name length, edit the following file, views/add.php and search for minSize[4].
Let me know if you need more help.
Thank you
I gave that a try, but it didn’t work. Then I noticed there was also a file called views/admin_add.php, and I found a minSize[4] in there too, so I changed it there also. Then it worked.
Thanks for you help. Do you know if it well change it back if the plugin gets updated?
Hi, yes it will change back when the plugin is updated. You will have to make a note of this for future updates.
Kind regards