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

Reply
 
Thread Tools
AJAX / Cool Registration Details »»
AJAX / Cool Registration
Version: 0, by Mr Chad Mr Chad is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.5 Rating:
Released: 03-15-2007 Last Update: Never Installs: 191
 
No support by the author.

Removed.

Show Your Support

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

Comments
  #22  
Old 03-16-2007, 04:49 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tell me if it works.
Reply With Quote
  #23  
Old 03-16-2007, 05:01 AM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing for me... im using 3.65.... hmmmm... oh well
Reply With Quote
  #24  
Old 03-16-2007, 05:07 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheBlackPoet View Post
nothing for me... im using 3.65.... hmmmm... oh well
hmm, did you try it with the pre-edited template?
Reply With Quote
  #25  
Old 03-16-2007, 05:11 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr Chad View Post
I'm looking at your page and u still need to make the 1st edit.
That's because after I had no luck getting it to work, I removed the edits.

Quote:
Originally Posted by Mr Chad View Post
hmm, did you try it with the pre-edited template?
I tried the pre-edited template as well, still no luck - same 'ol JS errors. Strange.
Reply With Quote
  #26  
Old 03-16-2007, 05:15 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm i installed it on my other forum with the pre-edited template with no errors.
Reply With Quote
  #27  
Old 03-16-2007, 05:23 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, for something seemingly so simple, this is being quite difficult.
Reply With Quote
  #28  
Old 03-16-2007, 05:24 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by acidburn0520 View Post
Yeah, for something seemingly so simple, this is being quite difficult.
well apply my template and ill have a look.
Reply With Quote
  #29  
Old 03-16-2007, 05:25 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://soljasrevenge.com/sctest/forum/register.php" target="_blank">http://soljasrevenge.com/sctest/forum/register.php</a>

.htaccess.. user: admin pw: admin
Reply With Quote
  #30  
Old 03-16-2007, 05:26 AM
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help



PHP Code:
<script type="text/javascript" src="./clientscript/register.js"></script>
$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
<title>$vboptions[bbtitle] - <if condition="$show['coppa']">$vbphrase[coppa] </if>$vbphrase[registration]</title>
</
head>
<
body>

$header

<br />

<
table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<
tr>
    <
td>
        
        <if 
condition="$show['coppa']">
            
$vbphrase[until_receive_signed_form]
        </if>
    </
td>
</
tr>
<if 
condition="$show['errors']">
    <
tr>
        <
td><strong>$vbphrase[errors_occurred_during_registration]:</strong>
            <
ul>
            
$errorlist
            
</ul>
        </
td>
    </
tr>
</if>
</
table>

<
br />

<
script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<
script type="text/javascript">
function 
verify_passwords(password1password2)
{
    
// do various checks, this will save people noticing mistakes on next page
    
if (password1.value == '' || password2.value == '')
    {
        
alert('$vbphrase[fill_out_both_password_fields]');
        return 
false;
    }
    else if (
password1.value != password2.value)
    {
        
alert('$vbphrase[entered_passwords_do_not_match]');
        return 
false;
    }
    else
    {
        <if 
condition="$show['coppa']">
        
pass_copy password1.value;
        
passconfirm_copy password2.value;
        </if>

        var 
junk_output;
        
        
md5hash(password1document.forms.register.password_md5junk_output$show[nopasswordempty]);
        
md5hash(password2document.forms.register.passwordconfirm_md5junk_output$show[nopasswordempty]);
        
        <if 
condition="$show['coppa']">
        
document.forms.register.password.value pass_copy;
        
document.forms.register.passwordconfirm.value passconfirm_copy;
        </if>
        
        return 
true;
    }
    return 
false;
}
</
script>

<
form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<
input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="do" value="addmember" />
<
input type="hidden" name="url" value="$url/>
<
input type="hidden" name="agree" value="$agree/>
<
input type="hidden" name="password_md5" />
<
input type="hidden" name="passwordconfirm_md5" />
<if 
condition="!$show['birthday']">
    <
input type="hidden" name="day" value="$day/>
    <
input type="hidden" name="month" value="$month/>
    <
input type="hidden" name="year" value="$year/>
</if>
<if 
condition="$show['coppa']">
    <
input type="hidden" name="coppauser" value="1" />
</if>

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[register_at_x]</phrase></td>
</
tr>
<
tr>
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div style="width:$stylevar[formwidth]align="$stylevar[left]">
        
            <
div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <
phrase 1="$vboptions[bbtitle]">$vbphrase[to_post_must_first_register]</phrase>
            </
div>
            
            <
div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <
strong>$vbphrase[username]</strong>:<br />
                <
input type="text" class="bginput" name="username" size="25" maxlength="$vboptions[maxuserlength]value="$usernameid="username" style="width: 212px" onblur="CheckUserName();"/><span id="username_status"></span>
            </
div>
            
            <
fieldset class="fieldset">
                <
legend>$vbphrase[password]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="400">
                <
tr>
                    <
td colspan="2">$vbphrase[enter_password_for_account]</td>
                </
tr>
                <
tr>
                    <
td>
                        
$vbphrase[password]:<br />
                        <
input type="password" class="bginput" name="password" size="25" maxlength="50" value="$passwordonblur="varfield(1);" id="password_1"/>
                    </
td>
                    <
td>
                        
$vbphrase[confirm_password]:<br />
                        <
input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="50" value="$passwordconfirmonblur="varfield(2);" id="password_2"/>
                    </
td>
                </
tr>
                <
tr>
                    <
td colspan="2">
                        <
span id="password_1_status"></span>
                    </
td>
                </
tr>
                <
tr>
                    <
td colspan="2">
                        <
span id="password_2_status"></span>
                    </
td>
                </
tr>
            </
fieldset>
            
            <
fieldset class="fieldset">
                <
legend>$vbphrase[email_address]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="400">
                <
tr>
                    <
td colspan="2">$vbphrase[enter_valid_email_address]</td>
                </
tr>
                <
tr>
                    <
td>
                        
$vbphrase[email_address]:<br />
                        <
input type="text" class="bginput" name="email" size="25" maxlength="50" value="$emaildir="ltr" onblur="varfield(3);" id="email_1"/>
                    </
td>
                    <
td>
                        
$vbphrase[confirm_email_address]:<br />
                        <
input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50" value="$emailconfirmdir="ltr" onblur="varfield(4);" id="email_2"/>
                    </
td>
                </
tr>
                <
tr>
                    <
td colspan="2">
                        <
span id="email_1_status"></span>
                    </
td>
                </
tr>
                <
tr>
                    <
td colspan="2">
                        <
span id="email_2_status"></span>
                    </
td>
                </
tr>
                <if 
condition="$show['coppa']">
                <
tr>
                    <
td>$vbphrase[if_under_13_provide_parent]</td>
                </
tr>
                <
tr>
                    <
td>
                        
$vbphrase[parent_guardian_email]:<br />
                        <
input type="text" class="bginput" name="parentemail" size="25" maxlength="50" value="$parentemaildir="ltr" />
                    </
td>
                </
tr>
                </if>
                </
table>
            </
fieldset>
            
            
$imagereg
            
        
</div>
    </
div>
    </
td>
</
tr>
</
table>
<
br />

<if 
condition="$show['customfields_profile']">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead">$vbphrase[additional_required_information_profile]</td>
</
tr>
<
tr>
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div style="width:$stylevar[formwidth]align="$stylevar[left]">
        
            
$customfields_profile
            
            
<if condition="$show['birthday']">$birthdayfields</if>
        
        </
div>
    </
div>
    </
td>
</
tr>
</
table>
<
br />
</if>

<if 
condition="$show['customfields_option']">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead">$vbphrase[additional_required_information_option]</td>
</
tr>
<
tr>
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div style="width:$stylevar[formwidth]align="$stylevar[left]">
        
            
$customfields_option
        
        
</div>
    </
div>
    </
td>
</
tr>
</
table>
<
br />
</if>

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead">$vbphrase[additional_information]</td>
</
tr>
<
tr>
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div style="width:$stylevar[formwidth]align="$stylevar[left]">
        
            <if 
condition="$show['referrer']">
            <
fieldset class="fieldset">
                <
legend>$vbphrase[referrer]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="100%">
                <
tr>
                    <
td><phrase 1="$vboptions[bbtitle]">$vbphrase[if_referred_enter_name]</phrase></td>
                </
tr>
                <
tr>
                    <
td>
                        
$vbphrase[referrer]:<br />
                        <
div id="referrerfield"><input id="referrerfield_txt" type="text" class="bginput" name="referrername" value="$referrernamesize="50" maxlength="$vboptions[maxuserlength]/></div>
                        <if 
condition="$show['popups']">
                            <
div id="referrerfield_menu" class="vbmenu_popup" style="display:none; z-index:50"></div>
                            <
script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
                            <
script type="text/javascript">
                            <!--
                                
vbmenu_register('referrerfield'true);
                                
rnc = new vB_AJAX_NameSuggest('rnc''referrerfield_txt''referrerfield');
                                
rnc.allow_multiple false;
                            
//-->
                            
</script>
                        </if>
                    </
td>
                </
tr>
                </
table>
            </
fieldset>
            </if>
        
            
$timezoneoptions
            
            
<fieldset class="fieldset">
                <
legend>$vbphrase[receive_email]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="100%">
                <
tr>
                    <
td>
                        
$vbphrase[administrators_may_send_email]
                    </
td>
                </
tr>
                <
tr>
                    <
td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checkedoff[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label></td>
                </
tr>
                <if 
condition="$show['email']">
                <
tr>
                    <
td>$vbphrase[allow_members_send_you_email]</td>
                </
tr>
                <
tr>
                    <
td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checkedoff[showemail] />$vbphrase[receive_email_from_other_members]</label></td>
                </
tr>
                </if>
                </
table>
            </
fieldset>

            
            
$customfields_other
        
        
</div>
    </
div>
    
    <
div style="margin-top:$stylevar[cellpadding]px">
        <
input type="submit" class="button" value="$vbphrase[complete_registration]accesskey="s" />
        <
input type="reset" class="button" name="Reset" value="$vbphrase[reset_fields]/>
    </
div>
    </
td>
</
tr>
</
table>

</
form>

$footer

</body>
</
html
Reply With Quote
  #31  
Old 03-16-2007, 05:30 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it's any consolation, I got it working on the default template... but for some reason, the skin I'm using doesn't like the modified register template.
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 12:30 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.10286 seconds
  • Memory Usage 2,500KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_php
  • (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
  • (1)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete