If your WordPress development background registration, it may encounter a problem, then send email problem. The purpose of user registration Email send him Email password is to verify the validity of user input, but if your host does not support sending Email, then other people can not be registered in your WordPress site. Before there are many tutorials to teach you how to solve this problem, the solution is to modify the WordPress source files, allowing users to post direct registration to show him the password, rather than send him Email, this problem is solved, but each WordPress upgrade, , again modified to upgrade the speed WordPress is now enough you can stand!
Now I wrote a WordPress plug-in, sign-up form by changing the background, allowing users to fill out the registration on their own password, do not receive the password to the Email, administrators do not have to worry about the impact after WordPress upgrades, while the plug-in allows users to choose him You need to register user role. Specific demonstration below:
Download plug-in archive, unzip uploaded to the WordPress plugin directory, / wp-content / plugins /, activate the plugin to WordPress backend Ludou Custom User Register can, your registration form has been back on the map as the same. The WordPress plugin only for single-site, multi-site capabilities open the plug-in is not valid.
This paragraph for the 1.0 version valid – >> If you are a “plug-in control”, always want to control the number of plug-ins within a certain range, but they need to plug-in function, then open ludou-custom-register.php with a text editor the inside php code can be copied to functions.php theme directory, the functions are exactly the same (now you should wake up to the so-called “free plug-in implementation function **” and “pure code ** function “, in fact, plug-in).
This plug-in allows users to choose when registering their role, optional subscription and contributors, if you do not want to choose the identity of user registration, version 1.0 with a text editor to open ludou-custom-register.php, delete 97–104 row , 116–117 lines and 124 lines of code; version 2.0 remove 91–99 lines 134-135 lines and 143 lines.
Version 2.0 adds a verification code function, and enhance the registration of anti-malware function. If you do not need this feature, you can open with a text editor ludou-custom-register.php, delete 100–110 lines 120-127 lines, and the entire captcha folder.
2.0.1 version can refer to version 2.0 code to be modified or deleted.
Version 1.0 March 25, 2011
* The first version
Version 2.0 April 25, 2011
* After removing the first landing registration is required to modify the default password prompt
* Added verification code function, enhance the ability of anti-malware Register
* Improved some HTML code
Version 2.0.1 May 24, 2011
* In addition to the registration of malicious SESSION test function, because there is already a License
* Improved some HTML and PHP code
* Add some code comments
2.0.3 version June 25, 2012
* Version 2.0.1 without verification codes and select the user roles
Google Translate for Business:Translator ToolkitWebsite T