Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ajaxReg - Ajax Registration, with instant field checking Details »»
ajaxReg - Ajax Registration, with instant field checking
Version: 4.0.0, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 04-13-2007 Last Update: 12-10-2007 Installs: 865
Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

[hr]value[/hr]
. . . . . . . . Brought to you by

. . . http://www.Scriptasy.com
[hr]value[/hr]

Live Demo: ajaxReg 4.0.0

Installation Time: < 2 mins
Files: 3
Product: 1
VB Version: 3.X.X
  • v3.0.1
    • fixed the apostrophe issue
  • v3.0.2
    • added banned username check
    • fixed image url
  • v3.0.3
    • fixed banned username check for people that don't have banned phrases
  • v3.0.4
    • fixed the apostrophe issue for real instead of just not letting it be used
    • uses your username min character settings
    • uses your regex for usernames if set in the registration settings
    • (fixed for forums that have unregistered users set to cant view forum, look below for more info, its red.)
  • v3.0.5
    • fixed minor issue
    • added vbsettings option
  • v3.0.6
    • fixed slashes error
  • v3.0.7
    • fixed email match
    • added email in use check
  • v3.0.8
    • added password strength meter *requested
  • v3.0.9
  • v3.1.0
    • fixed ajax vulnerabilities *
    • added captcha check, thats right
  • v3.1.1
    • added captcha check to all captcha fields.
Description:
This hack uses AJAX to check if the user name is taken and also displays errors and reasons why the user messed up on the registration form. Look at attached example picture.

Installation Instructions:
(If you don't have the unregistered usergroup set to Can View Forum = YES then you will have to follow the normal steps then apply this fix: https://vborg.vbsupport.ru/showpost....&postcount=136)

1) Import the Product (make sure you have an original register template, or use the [manual edits])
2) Upload the images and javascript
3) Also Add these to your Additional CSS Definitions for your style:
Code:
.inputgood {
    width: 211px;
    border: 1px solid Green;
}
.inputbad {
    width: 211px;
    border: 1px solid Red;
}
If you like then [Mark As Installed]

Download Now

File Type: (21.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 04-28-2007, 03:20 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, the only reason that would happen is if the ajax.php is blocked if you have that option set. I'm not to sure about how vb works differently when enabling forced registration.
Reply With Quote
  #133  
Old 04-28-2007, 08:08 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well I don't normally use forced registering.. I guess I hadn't changed it for a long time.. It works now, but I just thought I'd point that out... for people who have forced registeration and might encounter the issue too.
Reply With Quote
  #134  
Old 04-28-2007, 08:34 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot View Post
well I don't normally use forced registering.. I guess I hadn't changed it for a long time.. It works now, but I just thought I'd point that out... for people who have forced registeration and might encounter the issue too.
This might explains the other peoples issues. But what is happening is that the user is accessing the ajax.php when they click out of the username box and because their not registered its rejecting them. Which would never work unless theres a way to give the guests permission to the ajax file.
Reply With Quote
  #135  
Old 04-29-2007, 12:26 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So in other words.. in order to use this hack you have to allow guests to view forum...

I guess unless it;s fixed.. mabye CS should post it in his 1st post, so people who install know ahead of time...
Reply With Quote
  #136  
Old 04-29-2007, 02:31 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot View Post
So in other words.. in order to use this hack you have to allow guests to view forum...

I guess unless it;s fixed.. mabye CS should post it in his 1st post, so people who install know ahead of time...
well the issue is that the ajax.php uses the global.php and because this plug-in resides in the ajax.php you would need the unregistered user group to be set to Can View Forum. It is possible for me to make a quick fix for those users that really don't want to set the unregistered usergroup Can View Forum to YES.
Reply With Quote
  #137  
Old 04-29-2007, 03:00 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot View Post
So in other words.. in order to use this hack you have to allow guests to view forum...

I guess unless it;s fixed.. mabye CS should post it in his 1st post, so people who install know ahead of time...
ok after looking into it. It seems that even if you just include the global.php and have it shut off for unregistered people it wont work. So i first tried making the file pass off as a registration php because it somehow will bypass the prompt, ended up finding out that if you pass a do in the registration page you will get the same error. example: http://yoursite.com/forum/register.php?do=sdfsd (if you have it shut off for unregistered)

So i changed it from DO to a different name and created a different php file instead of a plugin.

So what you will have to do to get this to work on forums that have it where unregistered users cant view their forum is:

1 ) Download the attached files
2 ) Replace your register.js with this one (forum/clientscript/register.js)
3 ) place the register_ajax.php in your forum root (forum/register_ajax.php)
4 ) Disable or Delete the CheckUsername plugin.


also i have not totally tested this fix, so please respond with your results.
Attached Files
File Type: (21.4 KB, 102 views)
Reply With Quote
  #138  
Old 04-29-2007, 12:03 PM
odie3 odie3 is offline
 
Join Date: Mar 2007
Location: Kyle USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool MOD - thank you! Was rather easy to install!
Reply With Quote
  #139  
Old 05-02-2007, 07:03 PM
Streicher Streicher is offline
 
Join Date: Oct 2001
Location: Reinbek, Germany
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
no, its because of your regex I'm pretty sure.

Instead of this:
Code:
^[A-Z0-9 ]+$
Try this:
Code:
^[A-Za-z0-9]+$
Hmm, ok this works, but before with
Code:
^[A-Z0-9 ]+$
the registration of a name like Jeff was possible. So who is wrong here. A bug in vB 3.6.5?
Reply With Quote
  #140  
Old 05-02-2007, 08:04 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Streicher View Post
Hmm, ok this works, but before with
Code:
^[A-Z0-9 ]+$
the registration of a name like Jeff was possible. So who is wrong here. A bug in vB 3.6.5?
no i think its the javascript regex vs the php one.
Reply With Quote
  #141  
Old 05-03-2007, 09:49 PM
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Location: Utah
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I read most of the pages, but didn't see any mention of support with NoSpam

I would love to use this if it will work with NoSpam, but if not, I'd rather have no spam users
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05705 seconds
  • Memory Usage 2,348KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete