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

Reply
 
Thread Tools
Guest thread login and register form Details »»
Guest thread login and register form
Version: 1.00, by bellaa bellaa is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 07-22-2009 Last Update: Never Installs: 9
Re-useable Code Translations  
No support by the author.

**:: Name: Guest thread login and register form
**:: Version: all version
**:: Developer: http://www.vbdestek.tk
**:: Published: 2009

guest


postbit/ postbit legacy open

find;
PHP Code:
<!-- message -->   
        <
div id="post_message_$post[postid]">$post[message]</div>   
        <!-- / 
message --> 
change;
PHP Code:
<if condition="$show['guest']">  
 <!-- 
login form --> 
        <
form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"
        <
script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script
        <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0"
        <
tr
            <
td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td
            <
td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td
            <
td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td
        </
tr
        <
tr
            <
td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td
            <
td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td
            <
td><input type="submit" class="button" value="$vbphrase[log_in]tabindex="104" title="$vbphrase[enter_username_to_login_or_register]accesskey="s" /></td
        </
tr
        </
table
        <
input type="hidden" name="s" value="$session[sessionhash]/> 
        <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/> 
        <
input type="hidden" name="do" value="login" /> 
        <
input type="hidden" name="vb_login_md5password" /> 
        <
input type="hidden" name="vb_login_md5password_utf" /> 
        </
form
        <!-- / 
login form --> 
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center"
<
thead
<
tr
<
td class="tcat" colspan="6"><div align="center"><phrase 1="$vboptions[bbtitle]">Fast Register !</phrase></div></td
</
tr
<
tr
<
td class="alt1" colspan="6"> <div align="center"
<
span class="smallfont"><script type="text/javascript" src="clientscript/vbulletin_md5.js"></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('Fill out both password fields'); 
return 
false

else if (
password1.value != password2.value

alert('Entered passwords do not match'); 
return 
false

else 

md5hash(password1document.forms.register.password_md5); 
md5hash(password2document.forms.register.passwordconfirm_md5); 
return 
true

return 
false

</
script
<
form action="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="index.php" /> 
<
input type="hidden" name="agree" value="" /> 
<
input type="hidden" name="password_md5" /> 
<
input type="hidden" name="passwordconfirm_md5" /> 
Fast Register.<br><br
User Name
<
input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" /> 
Password
<
input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" /> 
Confirm Password
<
input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" /> 
Email Address
<
input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" /> 
Confirm Email Adress
<
input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /> 
<
br><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><a href="register.php">I have read, and agree to abide by the Forum rules.</a></strong><br
<
input type="submit" class="button" value="Kayıt" accesskey="s" /> 
</
span
</
div></td
</
tr
</
thead
</
table
        <else />   
        <!-- 
message -->   
        <
div id="post_message_$post[postid]">$post[message]</div>   
        <!-- / 
message -->   
        </if> 

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 07-25-2009, 09:35 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to add a nospam question to this?
Reply With Quote
  #13  
Old 07-26-2009, 09:25 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don´t really understand where this plugin is active?
In every thread?
Reply With Quote
  #14  
Old 08-02-2009, 05:36 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sweeks View Post
Any way to add a nospam question to this?
yeah that's what I'm wondering?,.....
Reply With Quote
  #15  
Old 08-02-2009, 09:29 AM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by down.low View Post
yeah that's what I'm wondering?,.....
and I am still wondering
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 06:24 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.04242 seconds
  • Memory Usage 2,331KB
  • Queries Executed 23 (?)
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_php
  • (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
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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