1
talunceford
Working on an AJAX validation registration form and other updates....

Hey all,

Its been a few... caugh... months since my last post, but here is an update on a few things that I have been working on. Of course my BF2Online.com site is one site that I have going right now that has been an evolving creation since its initial inception. The main improvement that I have made to this site is the user info page. If you haven't ever looked at my user info on that site, please give it a go, its a HEAVILY modified version of the userinfo page along with quite a few other custom modifications to the core files to get it to work the way it does. I incorporated flash graphs for statistics tracking, and a custom template file that handles all of the front end stuff. I also added a custom buddy tracker, so that you can track friends that are members on the site. There are many many features that were created for this particular function of the site.

Here is a small preview of the userinfo section,
Resized Image

but you can see it in action here.

The newest portion of the site that I am currently working on is the registration form. I found a nice little AJAX validation script and wanted to incorporate it into the registration section of my site.

Here is what I came up with:
Resized Image


Resized Image


The register page is tied directly to the XOOPS database, and it checks the xoops_user table to see if the username is taken or not. I am trying to get it to where it uses the same name, email and password checking as the original registration page does that way it is as secure as the original page. Right now it is more of pre-check than anything. After I am done, it will prevent mistakes from happening.

Let me know what you guys think.
Tim
www.tswn.com | www.bf2online.com | aquaria.tswn.com | www.bf2142online.org

2
belia
Re: Working on an AJAX validation registration form and other updates....
  • 2008/4/1 14:56

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


the ajax registration is nice ...improve it more and i think it should be included in core 3.0

3
figu78
Acojonante
  • 2008/4/1 16:13

  • figu78

  • Just popping in

  • Posts: 60

  • Since: 2006/8/19


Well done!! nice userinfo mod....

4
talunceford
Re: Acojonante

Thanks all,

One thing that I didn't include in the post was a direct link to the registration page.

http://www.bf2online.com/register.php

You can play with it there.

The original AJAX script can be found here.

I will keep working on the script over the course of the next few days. It really isn't that complicated to integrate. I think what I would like to see happen is make it so that the script will enable or disable certain form elements, such as the submit button based on the criteria that is needed to complete the registration form successfully. The criteria being:
1. the username meets the complexity requirements established by the site owner
2. the username isn't taken
3. The passwords meet the complexity requirements established by the site owner.
4. The passwords are the same
5. The email hasn't been used in a registration prior to current user registration.

If all those items are met, the submit button is enabled. So, as you can now see there is some work yet to be done.

Anyway, thats all I have for now.
Tim
www.tswn.com | www.bf2online.com | aquaria.tswn.com | www.bf2142online.org

5
talunceford
Update

Ok all,

Yesterday I posted about the progress of the registration page for my BF2Online.com site. I have an update for you. All XOOPS checking is now done prior to submission. Password strength can now be checked via an integrated password strength checker. I am still working on a way to get the actual password field to pass the value to the iframe box, but I am getting closer on that aspect of this upgrade.

Here is a screenshot of the progress.

Resized Image


Give it a whirl and let me know what you guys think.

Thanks!
Tim
www.tswn.com | www.bf2online.com | aquaria.tswn.com | www.bf2142online.org

6
Runeher
Re: Working on an AJAX validation registration form and other updates....
  • 2008/4/2 21:45

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


very nice... you need too move the scroll box for 'test your password' down a bit...other than that it looked very good.


Rune

7
talunceford
Re: Working on an AJAX validation registration form and other updates....

Cool, thanks, what browser did you view that in?
Tim
www.tswn.com | www.bf2online.com | aquaria.tswn.com | www.bf2142online.org

8
talunceford
Re: Working on an AJAX validation registration form and other updates....

There are some problems with the way that it is viewed in IE, so I will try and combat those tonight. For now if you view it, its best viewed in Firefox.
Tim
www.tswn.com | www.bf2online.com | aquaria.tswn.com | www.bf2142online.org

9
Runeher
Re: Working on an AJAX validation registration form and other updates....
  • 2008/4/2 22:21

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


i'm using the latest version of firefox...

when you scroll down, the top of the scroll box touches the Verify Password box...

Rune

Login

Who's Online

144 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits