Disablig text input field in login & registration page on wordpress
After upgrading wordpress (wp) by using its feature that lets us upgrade w/o stopping service (nice!), I found a part that I customized was reverted back to default status in the newer version. Looks like wp just overwrites every files w/o caring if any customization exists.
So because this time I had to spend a little amount of time out of my precious Sunday morning in order to apply the change I made again, I now take note here. Change I want is follows: I use Janrain Engage so that user can ONLY login with her/his social network account (Gmail, Linkedin, Twitter, Facebook etc.), ie. they can no longer create their account by typing in whatever they want. This provides better usability to users for sure, since they don't have to manage their account & (STRESS) password. Also works for site maintainers (like me) especially in that there can be less spam accounts because spamers have to create their own social accounts first.
To do the above, all need to be done is to disable the text input field in the login & registration page. To realize this, you modify 2 parts in wp-login.php as follows:
Sorry, I failed to paste html code on blogger that tries to read given html code as html (make sense?) so that I can't paste my html snippet. Good news is that it apparently I already shared my code on my previous post on this blog that uses version 3.4.1. Don't copy & paste this exactly content on your wp if you use wp 3.4.2 or higher.
So because this time I had to spend a little amount of time out of my precious Sunday morning in order to apply the change I made again, I now take note here. Change I want is follows: I use Janrain Engage so that user can ONLY login with her/his social network account (Gmail, Linkedin, Twitter, Facebook etc.), ie. they can no longer create their account by typing in whatever they want. This provides better usability to users for sure, since they don't have to manage their account & (STRESS) password. Also works for site maintainers (like me) especially in that there can be less spam accounts because spamers have to create their own social accounts first.
To do the above, all need to be done is to disable the text input field in the login & registration page. To realize this, you modify 2 parts in wp-login.php as follows:
Sorry, I failed to paste html code on blogger that tries to read given html code as html (make sense?) so that I can't paste my html snippet. Good news is that it apparently I already shared my code on my previous post on this blog that uses version 3.4.1. Don't copy & paste this exactly content on your wp if you use wp 3.4.2 or higher.
![]() |
Our cats spooning :D:D |
Comments