Hi,
How's everyone, I apologize for being inactive for the past few months since I am packed with college tasks and my part time work as a freelancer.
So, this will be my first mod for Ning 3.0, Quick Login Script!
You should know of this handy little script, it produces a quick login at the home page or any page that has a side column.(See the picture below)
This script has been floating around Ning since the early days of Ning. I was expecting Ning 3.0 to come with this feature, yet there is no news about it in 3.0, so I decided to write my own version of this script which is fully customizable in terms of Language.
The Script (Please add this in custom code[END OF PAGE CODE])
I have made two versions, one is the full source code, another is a minified version for faster loading speeds.
Full version:
<script type="text/javascript" src="http://elsodev.com/projects/3.0-login-script/script.js"></script>
Minified:
<script type="text/javascript" src="http://elsodev.com/projects/3.0-login-script/script-min.js"></script>
Customize the Language
Add this script before the quick login script:
<script type="text/javascript">
lglang = {
'logintxt':'Login',
'signintxt':'Sign In',
'signuptxt':'Sign Up',
'fptxt':'Forgot your password?',
'emailtxt':'Email Address',
'passtxt':'Password'
}
</script>
You will just need to modify the value. For example:
<script type="text/javascript">
lglang = {
'logintxt':'Login to My site!',
'signintxt':'Log In',
'signuptxt':'Register',
'fptxt':'Forgot your password?',
'emailtxt':'Email Address',
'passtxt':'Password'
}
</script>
That's it, hope you enjoy it, I will be posting more tips and mods when I am free.
If you love this, do follow me on Twitter @elsodev for more updates from me!
I am also open for connections on Linkedin: Elson Tan
WARNING, Do not attempt to sell this script or redistribute this script without the original author's credits. I appreciate if you keep the credits.
Replies
Thanks glad you like it.
wow fantasty --- Thank you Elson for share it with us..
No problem. Glad you like it
No chance it will work on 2.0?
Yea, this script was originally for 2.0, let me see if I can find it around creators, i remember someone shared it.
Awesome, Elson. Thanks for bringing this script of yore back to life.
Sure Allison, glad I can help out around here.
Lovely
Hi Elson, when I click on Sign Up it is going to http://MYSITE.com/+%20getsignup%20+
Can you help?