vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Register for 3.5.x - Plugin Edition (https://vborg.vbsupport.ru/showthread.php?t=114342)

libertylounge 07-27-2006 03:27 AM

I have it narrowed down to 2 only. Still working on them. Will update

libertylounge 07-27-2006 05:20 AM

Alright. It's fixed and now valid XHTML 1.0 Transitional for anyone who cares.

**NOTE**

Do NOT import this code. Once you install the version listed above, you need to click on "Edit Template" under "Style Manager", find the "quick_register" template, and then

Simply replace the "quick_register" template with the following code:

Code:

<if condition="$vboptions['quickregister_active'] AND $show['guest']">
<!-- Start Quick Register --><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="6"><div align="center"><b>$vbphrase[quickregister_quickregister]</b></div></td>
</tr>
<tr>
<td class="alt1" colspan="6"> <div align="center">
<span class="smallfont"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js"></script>
<script type="text/javascript">
function verify_passwords(password1, password2)
{
// do various checks, this will save people noticing mistakes on next page
if (password1.value == '' || password2.value == '')
{
alert('Fill out both password fields');
return false;
}
else if (password1.value != password2.value)
{
alert('Entered passwords do not match');
return false;
}
else
{
md5hash(password1, document.forms.register.password_md5);
md5hash(password2, document.forms.register.passwordconfirm_md5);
return true;
}
return false;
}
</script>
<object>
<form action="$vboptions[bburl]/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="agree" value="" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
        <if condition="$vboptions['quickregister_welcomemsg']">
    $vboptions[quickregister_welcomemsgtext]<br /><br />
        </if>
    $vbphrase[quickregister_username]
    <input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" />
    $vbphrase[quickregister_password]
    <input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" />
    $vbphrase[quickregister_confirmpassword]
    <input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" />
    $vbphrase[quickregister_email]
    <input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" />
    $vbphrase[quickregister_confirmemail]
    <input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /><br />
        <if condition="$vboptions['quickregister_dob']">
        $vbphrase[quickregister_birthday]
        <select name="month" id="bd_month"style="width:70px" />
                                                                <option value="-1">$vbphrase[quickregister_bdmonth]</option>
                                                                <option value="01">January</option>
                                                                <option value="02">February</option>
                                                                <option value="03">March</option>
                                                                <option value="04">April</option>
                                                                <option value="05">May</option>
                                                                <option value="06">June</option>
                                                                <option value="07">July</option>
                                                                <option value="08">August</option>
                                                                <option value="09">September</option>
                                                                <option value="10">October</option>
                                                                <option value="11">November</option>
                                                                <option value="12">December</option>
                                                        </select> &nbsp;
<select name="day" id="bd_day"style="width:70px" />
                                                                <option value="-1" >$vbphrase[quickregister_bdday]</option>
                                                                <option value="01" >1</option>
                                                                <option value="02" >2</option>
                                                                <option value="03" >3</option>
                                                                <option value="04" >4</option>
                                                                <option value="05" >5</option>
                                                                <option value="06" >6</option>
                                                                <option value="07" >7</option>
                                                                <option value="08" >8</option>
                                                                <option value="09" >9</option>
                                                                <option value="10" >10</option>
                                                                <option value="11" >11</option>
                                                                <option value="12" >12</option>
                                                                <option value="13" >13</option>
                                                                <option value="14" >14</option>
                                                                <option value="15" >15</option>
                                                                <option value="16" >16</option>
                                                                <option value="17" >17</option>
                                                                <option value="18" >18</option>
                                                                <option value="19" >19</option>
                                                                <option value="20" >20</option>
                                                                <option value="21" >21</option>
                                                                <option value="22" >22</option>
                                                                <option value="23" >23</option>
                                                                <option value="24" >24</option>
                                                                <option value="25" >25</option>
                                                                <option value="26" >26</option>
                                                                <option value="27" >27</option>
                                                                <option value="28" >28</option>
                                                                <option value="29" >29</option>
                                                                <option value="30" >30</option>
                                                                <option value="31" >31</option>
                                                        </select> &nbsp;
<input type="text" class="bginput" name="year" onFocus="value=''" value="$vbphrase[quickregister_bdyear]" size="4" maxlength="4" id="bd_year" style="width:50px" /></if>
  <if condition="$vboptions['quickregister_imgver'] AND $vboptions['regimagecheck']">
  &nbsp;<input type="text" class="bginput" name="imagestamp" size="16" onFocus="value=''" value="$vbphrase[quickregister_imagever]" maxlength="6" title="$vbphrase[quickregister_imageverhov]" />
      <input type="hidden" name="imagehash" value="$imagehash" />
    <img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="100" height="30" border="0" />
  </if>
<input type="submit" class="button" value="$vbphrase[quickregister_submit]" accesskey="s" /><input name="agree" id="cb_rules_agree" value="1" type="checkbox" /><b>$vbphrase[quickregister_agree] <a href="$vboptions[bburl]/register.php?" target="_blank">$vbphrase[quickregister_forumrules]</a></b>&nbsp;
   
    </form></object></span>
        </div></td>
</tr>
</table>
</if>
<br />
<!-- End Quick Register -->

I don't believe any of the edits have changed any of the functionality, but if someone notices an error please post it.

gingery 07-28-2006 12:00 AM

Quote:

XML Error: not well-formed (invalid token) at Line 55
That is what I get when I try to import the code in post 102

gingery 07-28-2006 12:04 AM

Figured that out - it is missing a space in this line:
Quote:

<select name="month" id="bd_month"style="width:70px" />

gingery 07-28-2006 12:13 AM

Now I get this when importing:
Quote:

Invalid File Specified
:confused:

gingery 07-28-2006 03:26 PM

Help! Anyone have the GD image verification working with 3.6RC? I still get that dreaded "vbulletin" image instead of a random image for verification.

libertylounge 07-29-2006 12:36 AM

Quote:

Originally Posted by gingery
That is what I get when I try to import the code in post 102

You're not supposed to import it. Sorry if I wasn't clear

After you install the plugin edition listed at the top of this post, you need to find the "quick_register" template when you click on "Edit Template" (for whichever template), and then replace the code in that template with what I pasted above :)

gingery 07-30-2006 03:18 PM

Thank you! I'm still learning all of this stuff so it doesn't always click the first time.

MissKalunji 08-05-2006 12:30 PM

is it working with 3.6?

Mr Chad 08-13-2006 09:31 PM

please say its working with 3.6.0! When i had this running it increased the registration rates by 1000%


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01308 seconds
  • Memory Usage 1,778KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete