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
  #552  
Old 12-17-2007, 10:01 AM
Aligator21 Aligator21 is offline
 
Join Date: Sep 2005
Location: Greece
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CNY750Rider View Post
Same here! Please correct. I tried to tab, enter, etc....email stays red.
Same and to me this problem.
Reply With Quote
  #553  
Old 12-17-2007, 06:15 PM
Martell Martell is offline
 
Join Date: Dec 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
When i type the name, then press enter - field fill "Loading..." and freeze, and do nothing! Why?
The same problem... How to correct???
Reply With Quote
  #554  
Old 12-17-2007, 10:56 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting issues with users with the new one. I am trying to receive info from them on what happened but have to return to old system for now. I have over 500 new members a day and can't have any complications.
Reply With Quote
  #555  
Old 12-18-2007, 12:21 PM
BobbyBig BobbyBig is offline
 
Join Date: Mar 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Username can't handle ÖÄÜ, instead it is showing "?" after it checks the Username

Example: Überweisung
After Loading: ?berweisung

We use UTF-8
Any solution on it ?

Regards
Reply With Quote
  #556  
Old 12-19-2007, 06:23 PM
oicyu8chu oicyu8chu is offline
 
Join Date: Feb 2007
Location: New York
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess we'll have to wait for the next release.
Reply With Quote
  #557  
Old 12-19-2007, 08:31 PM
Coop1979 Coop1979 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to integrate NoSpam! into ajaxReg? That's the one missing piece for this hack. Here is the code to integrate it into other hacks:

Code:
NoSpam! - INTEGRATION WITH OTHER HACKS







Quick Register (https://vborg.vbsupport.ru/showthread.php?t=114342):



After installing both hacks, go to your plugin manager and find the plugin titled "Generate NoSpam! question" or "Generate and insert NoSpam! question" on the hook global_start. Edit it and FIND the following lines:



----------------

      default:

         $nospamdo = false;

----------------



REPLACE them with



----------------

      default:

         if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {

            $questions = explode("\n", $vbulletin->options['nospam_questions']);

            $nospamnumber = array_rand($questions);

            $qanda = explode(":",$questions["$nospamnumber"]);

            $nospamquestion = $qanda[0];

         }

         $nospamdo = false;

----------------



Now go to your template manager and edit the quick_register template. FIND this code:



----------------

<input type="submit" class="button" value="$vbphrase[quickregister_submit]" accesskey="s" /><input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>$vbphrase[quickregister_agree] <a href="$vboptions[bburl]/register.php?" target="_blank">$vbphrase[quickregister_forumrules]</a></strong>&nbsp;

----------------



ABOVE it, add



----------------

  <if condition="$vbulletin->options['nospam_onoff'] AND $vbulletin->options['nospam_use_reg']">

    <br />$nospamquestion <input type="text" class="bginput" name="nospam" value="Answer here" onFocus="value=''" size="20" /> <input type="hidden" name="nospamnumber" value="$nospamnumber" />

  </if>

----------------



Then save the template. NoSpam! should be fully active with Quick Register now.









Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)



[Only tested on 3.6.4]



After installing both hacks and modifying the form however you like, edit the form template (however many you may have; the default is called simply form). FIND near the bottom:



----------------

<tr>

<td valign="top" colspan="3">

<p align="center">

<input type="submit" value="Submit" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />

----------------



ABOVE that, add



----------------

<if condition="$vbulletin->options['nospam_onoff']">

<tr>

<td colspan="3" class="alt1">

$nospamfield

</td>

</tr>

</if>

----------------



Now edit the plugin "Generate NoSpam! question" or "Generate and insert NoSpam! question" on the hook global_start. Here, FIND this line:



----------------

      case 'newthread':

         if ($vbulletin->options['nospam_use_post']) {

----------------



REPLACE that with



----------------

      case 'newthread':

         if ($_REQUEST['action'] == 'form') {

            $nospamdo = true;

         }

         else if ($_REQUEST['action'] == 'submit') {

            $vbulletin->input->clean_array_gpc('p', array(

               'nospamnumber' => TYPE_UINT,

               'nospam' => TYPE_STR,

            ));

            $nospamnumber = $vbulletin->GPC['nospamnumber'];

            $questions = explode("\n", $vbulletin->options['nospam_questions']);

            $qanda = explode(":", strtolower($questions["$nospamnumber"]));

            unset($qanda[0]);



            function trim_array(&$answer)

            {

               $answer = trim($answer);

            }



            array_walk($qanda, 'trim_array');



            if (!in_array(strtolower(trim($vbulletin->GPC['nospam'])), $qanda))

            {

               eval(standard_error(fetch_error('nospam_wrong_answer')));

            }

            $nospamdo = true;

         }

         else if ($vbulletin->options['nospam_use_post']) {

----------------



The form should now work with NoSpam!.
Reply With Quote
  #558  
Old 12-20-2007, 08:13 PM
CNY750Rider CNY750Rider is offline
 
Join Date: Sep 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled...
Reply With Quote
  #559  
Old 12-20-2007, 08:17 PM
yuriy yuriy is offline
 
Join Date: Oct 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is crap.. users had problems registering with this!! the Captcha crap wouldnt verify.. heh
Reply With Quote
  #560  
Old 12-21-2007, 06:14 AM
vietdjclub vietdjclub is offline
 
Join Date: Oct 2007
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstall. cos got the problem with username character
Reply With Quote
  #561  
Old 12-27-2007, 11:48 AM
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Location: Belgium
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also unistalled, please make an updated version that fixes the bugs
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:06 AM.


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.07036 seconds
  • Memory Usage 2,350KB
  • 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
  • (2)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