Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #82  
Old 04-21-2007, 11:09 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 b6gm6n View Post
i have a problem which i have not found the answer yet...same as chads... now here, i must remember... every user name is available, banned or whatever or not... please advise, cheers

-b6
what you just described is the purpose of the hack...

all the usernames will appear one of the following:

+ Available
+ Banned
+ Invalid Chars

I do not understand your issue.
Reply With Quote
  #83  
Old 04-21-2007, 11:33 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think he was saying that everything shows up as "Available" even if it's a Banned Username, or already taken?
Reply With Quote
  #84  
Old 04-22-2007, 02:25 AM
Dead End Society's Avatar
Dead End Society Dead End Society is offline
 
Join Date: Jul 2004
Location: Cleveland, OH
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Yes, the same thing has happened to me even after this upgrade. It says that every name is available, have it be a taken name, banned, or what ever. How can I fix this?

http://deadendsociety.net
Reply With Quote
  #85  
Old 04-22-2007, 02:30 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 TheMilkCarton View Post
I think he was saying that everything shows up as "Available" even if it's a Banned Username, or already taken?
oh hmm.
Reply With Quote
  #86  
Old 04-22-2007, 07:26 AM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
^ Yes, the same thing has happened to me even after this upgrade. It says that every name is available, have it be a taken name, banned, or what ever. How can I fix this?
I have same problem.


Can you add referrer field check to your mod?

Thanks
Reply With Quote
  #87  
Old 04-22-2007, 07:31 AM
bjhuang bjhuang is offline
 
Join Date: Jul 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

should respect disable_ajax option.
Reply With Quote
  #88  
Old 04-22-2007, 08:18 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 b6gm6n View Post
i have a problem which i have not found the answer yet...same as chads... now here, i must remember... every user name is available, banned or whatever or not... please advise, cheers

-b6
do you have ajax enabled?
Reply With Quote
  #89  
Old 04-22-2007, 09:22 AM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh yes all enabled...i had the very same problem with chads hack until i did something... forgotten what exactly... hoped you knew
Reply With Quote
  #90  
Old 04-22-2007, 09:30 AM
kruchczan kruchczan is offline
 
Join Date: Apr 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error
Not activist blocking user:

administrator Is Available
admin Is Available
mod Is Available
Reply With Quote
  #91  
Old 04-22-2007, 10:14 AM
succo succo is offline
 
Join Date: Sep 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i tried to install it, but it didn't work, as all the other mods which modify 'full page' templates... i explain... i'm running a vba-wrapped vbulletin, in which every page is wrapped with vbadvanced columns, and this causes all the templates to be rewritten with vba styles, even (and more than others) the ones containing a full page, not only the <body></body> part, so that every plugin rewriting the template (out of the 'body' tag) isn't going to work

i'd recommend adding a plugin which inserts the needed code (the one loading register.js) directly in headinclude... i had to do it many times with other mods (such as googlemap ones, just to say)... it's a simple plugin like this:
Code:
if (THIS_SCRIPT == 'register')
{
$str = '<!-- / CSS Stylesheet -->';
$vbulletin->templatecache['headinclude'] = str_replace($str,$str.'<script type=\"text/javascript\" src=\"./clientscript/register.js\"></script>
<script type=\"text/javascript\">						
	var ajaxreg_email_error_1 = \"$vbphrase[ajaxreg_email_error_1]\";
	var ajaxreg_email_error_2 = \"$vbphrase[ajaxreg_email_error_2]\";
	var ajaxreg_email_error_3 = \"$vbphrase[ajaxreg_email_error_3]\";
	var ajaxreg_email_error_4 = \"$vbphrase[ajaxreg_email_error_4]\";
	var ajaxreg_email_error_5 = \"$vbphrase[ajaxreg_email_error_5]\";
	var ajaxreg_email_error_6 = \"$vbphrase[ajaxreg_email_error_6]\";
	var ajaxreg_email_error_7 = \"$vbphrase[ajaxreg_email_error_7]\";
	var ajaxreg_email_error_8 = \"$vbphrase[ajaxreg_email_error_8]\";
	var ajaxreg_name_minuserlength = \"' . $minuserlength['minuserlength'] . '\";
	var ajaxreg_name_usernameregex = \"' . $usernameregex['usernameregex'] . '\";
	var ajaxreg_name_inuse = \"$vbphrase[ajaxreg_name_inuse]\";
	var ajaxreg_name_illegal = \"$vbphrase[ajaxreg_name_illegal]\";
	var ajaxreg_name_ok = \"$vbphrase[ajaxreg_name_ok]\";
	var ajaxreg_name_error_1 = \"$vbphrase[ajaxreg_name_error_1]\";
	var ajaxreg_name_error_2 = \"$vbphrase[ajaxreg_name_error_2]\";
	var ajaxreg_name_checking = \"$vbphrase[ajaxreg_name_checking]\";
	var ajaxreg_password_error_1 = \"$vbphrase[ajaxreg_password_error_1]\";
	var ajaxreg_password_ok = \"$vbphrase[ajaxreg_password_ok]\";
	var ajaxreg_password_nomatch = \"$vbphrase[ajaxreg_password_nomatch]\";
	var ajaxreg_password_match = \"$vbphrase[ajaxreg_password_match]\";
	var ajaxreg_email_ok = \"$vbphrase[ajaxreg_email_ok]\";
	var ajaxreg_email_nomatch = \"$vbphrase[ajaxreg_email_nomatch]\";
	var ajaxreg_email_match = \"$vbphrase[ajaxreg_email_match]\";
</script>',$vbulletin->templatecache['headinclude']);
}
or something like this, even if i usually do it using a template containing the code to be inserted
Reply With Quote
Reply

Thread Tools

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:55 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.05804 seconds
  • Memory Usage 2,341KB
  • 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
  • (2)bbcode_code
  • (4)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
  • (2)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
  • (1)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