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

Reply
 
Thread Tools
Created table the request Login if you are a Member or register if a Guest Details »»
Created table the request Login if you are a Member or register if a Guest
Version: 1.00, by Huy Ho?ng Huy Ho?ng is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.x Rating:
Released: 12-06-2008 Last Update: Never Installs: 13
Template Edits
Code Changes Additional Files  
No support by the author.

Setup
-- 1: Upload folder files to forumroot
-- 2: Admincp -> Choose skin should fix
-> Open temp Navbar then add the same paragraph follows:

PHP Code:
<link href="files/login.css" type=text/css rel=stylesheet>
<if 
condition="$show[guest]">
<
div id="loading" style="position:absolute; visibility:show; z-index:1000; filter: alpha(opacity=70); opacity:0.7; top:500;">
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; padding-top: 150px;" width="340" align="center">
    <
tr>
      <
td width="100%" valign="middle" align="center">
        <
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 border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2">
<
fieldset class="fieldset">
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2"><a href="register.php"><font face="Verdana" size="2">Ch?o m&#7915;ng bạn gh? thăm MộtNh?.Net</font></a></td>
     
</tr>
   </
table>
</
fieldset>
</
br>
<
fieldset class="fieldset">
    <
legend align="center"><font face="Verdana" size="2">B&#7841;n đ? c? t?i khoản? H?y đăng nhập</font></legend>
  
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2"></td>
     </
tr>
    <
tr>
          <
td width="225" valign="middle" style="padding-right: 5px;" align="right">
          <
label><font face="Verdana" size="2">T?i Kho&#7843;n:</font><input name="vb_login_username" type="text" id="login" tabindex="1" accesskey="u" size="20" /></label></td>
          
<td width="135" valign="middle" align="left">
          <
label><input type="checkbox" CHECKED name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" /><font size="2" face="Verdana">L&#432;u th?ng tin?</font></label></td>
     
</tr>
          <
td width="225" valign="middle" style="padding-right: 5px;" align="right">
          <
label><font face="Verdana" size="2">M&#7853;t Khẩu:</font><input name="vb_login_password" type="password" id="password" tabindex="1" size="20" /></label></td>
          
<td width="135" valign="middle" align="left">
          <
input name="submit" type="submit" id="submit" tabindex="1" value="" accesskey="s" class="button" /></td>
     </
tr>
   </
table>
</
fieldset>
        <
input type="hidden" name="do" value="login" />
        <
input type="hidden" name="vb_login_md5password" />
        <
input type="hidden" name="vb_login_md5password_utf" />
        <
input type="hidden" name="s" value="$session[sessionhash]/>
</
form>
<
br/>
<
fieldset class="fieldset">
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2"><a href="register.php"><font face="Verdana" size="2">B&#7841;n chưa c? T?i Khoản? Bấm v?o đ?y để Đăng k?</font></a></td>
     
</tr>
   </
table>
</
fieldset>
</
td>
</
tr></table>
      </
td>
    </
tr>
  </
table>
</
div>
<!--[if 
IE]> 
<
script>
var 
curx=350;
var 
cury=0;
</
script>
<![endif]-->
<!--[if !
IE]><!-->
<
script>
var 
curx=0;
var 
cury=0;
</
script>
<!--<![endif]-->
<
script>
var 
ie45,ns6,ns4,dom;
if (
navigator.appName=="Microsoft Internet Explorer"ie45=parseInt(navigator.appVersion)>=4;
else if (
navigator.appName=="Netscape"){  ns6=parseInt(navigator.appVersion)>=5;  ns4=parseInt(navigator.appVersion)<5;}
dom=ie45 || ns6;

var 
timershow=false;
var 
win_w=window.innerWidth window.innerWidth document.body.offsetWidth;
var 
mid_w=win_w/2;
var 
timershow1=window.setInterval("stayMiddle()",1);
function 
getobj(id) {
el document.all document.all[id] :   dom document.getElementById(id) :   document.layers[id];
return 
el;
}

function 
moveobj(obj,x,y) {
    
obj.style.left="px";
    
obj.style.top=y"px";
    
curx=x;
    
cury=y;
}

function 
stayMiddle() {
    if (
document.documentElement && document.documentElement.scrollTop)
        var 
pY =  document.documentElement.scrollTop;
    else if (
document.body)
        var 
pY =  document.body.scrollTop;

    
obj getobj('loading');
    
newy cury+((pY-cury)/16)+12;
    
moveobj(obj,curx,newy);
}
// End
</script>
</if> 
-> Edit template footer more down to the bottom:

HTML Code:
<style type="text/css">
    #loading {
        display: show;
    }
    </style>
Done! (HQTH)

Please click Mark as Installed if you want to get support for this mod

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 01-03-2009, 02:38 AM
Huy Ho?ng Huy Ho?ng is offline
 
Join Date: Dec 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lucky51 View Post
can u plz translate it in English
thanks
You use this code:

PHP Code:
<link href="files/login.css" type=text/css rel=stylesheet>
<if 
condition="$show[guest]">
<
div id="loading" style="position:absolute; visibility:show; z-index:1000; filter: alpha(opacity=70); opacity:0.7; top:500;">
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; padding-top: 150px;" width="340" align="center">
    <
tr>
      <
td width="100%" valign="middle" align="center">
        <
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 border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2">
<
fieldset class="fieldset">
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2"><a href="register.php"><font face="Verdana" size="2">    
Welcome to visit Forum</font></a></td>
     </
tr>
   </
table>
</
fieldset>
</
br>
<
fieldset class="fieldset">
    <
legend align="center"><font face="Verdana" size="2">You already have an accountPlease sign in</font></legend>
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2"></td>
     </
tr>
    <
tr>
          <
td width="225" valign="middle" style="padding-right: 5px;" align="right">
          <
label><font face="Verdana" size="2">Account:</font><input name="vb_login_username" type="text" id="login" tabindex="1" accesskey="u" size="20" /></label></td>
          <
td width="135" valign="middle" align="left">
          <
label><input type="checkbox" CHECKED name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" /><font size="2" face="Verdana">Remember me?</font></label></td>
     </
tr>
          <
td width="225" valign="middle" style="padding-right: 5px;" align="right">
          <
label><font face="Verdana" size="2">Password:</font><input name="vb_login_password" type="password" id="password" tabindex="1" size="20" /></label></td>
          <
td width="135" valign="middle" align="left">
          <
input name="submit" type="submit" id="submit" tabindex="1" value="" accesskey="s" class="button" /></td>
     </
tr>
   </
table>
</
fieldset>
        <
input type="hidden" name="do" value="login" />
        <
input type="hidden" name="vb_login_md5password" />
        <
input type="hidden" name="vb_login_md5password_utf" />
        <
input type="hidden" name="s" value="$session[sessionhash]/>
</
form>
<
br/>
<
fieldset class="fieldset">
  <
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="340" align="center" bgcolor="#ffffff">
    <
tr>
          <
td width="100%" valign="middle" align="center" colspan="2"><a href="register.php"><font face="Verdana" size="2">No account yetClick here to Register</font></a></td>
     </
tr>
   </
table>
</
fieldset>
</
td>
</
tr></table>
      </
td>
    </
tr>
  </
table>
</
div>
<!--[if 
IE]> 
<
script>
var 
curx=350;
var 
cury=0;
</
script>
<![endif]-->
<!--[if !
IE]><!-->
<
script>
var 
curx=0;
var 
cury=0;
</
script>
<!--<![endif]-->
<
script>
var 
ie45,ns6,ns4,dom;
if (
navigator.appName=="Microsoft Internet Explorer"ie45=parseInt(navigator.appVersion)>=4;
else if (
navigator.appName=="Netscape"){  ns6=parseInt(navigator.appVersion)>=5;  ns4=parseInt(navigator.appVersion)<5;}
dom=ie45 || ns6;

var 
timershow=false;
var 
win_w=window.innerWidth window.innerWidth document.body.offsetWidth;
var 
mid_w=win_w/2;
var 
timershow1=window.setInterval("stayMiddle()",1);
function 
getobj(id) {
el document.all document.all[id] :   dom document.getElementById(id) :   document.layers[id];
return 
el;
}

function 
moveobj(obj,x,y) {
    
obj.style.left="px";
    
obj.style.top=y"px";
    
curx=x;
    
cury=y;
}

function 
stayMiddle() {
    if (
document.documentElement && document.documentElement.scrollTop)
        var 
pY =  document.documentElement.scrollTop;
    else if (
document.body)
        var 
pY =  document.body.scrollTop;

    
obj getobj('loading');
    
newy cury+((pY-cury)/16)+12;
    
moveobj(obj,curx,newy);
}
// End
</script>
</if> 
Reply With Quote
  #13  
Old 01-07-2009, 08:34 AM
indocm indocm is offline
 
Join Date: Jan 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install
Reply With Quote
  #14  
Old 01-07-2009, 08:36 AM
indocm indocm is offline
 
Join Date: Jan 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw, i have custom NAVBAR from custom Template
what can i do just replace it ?
Reply With Quote
  #15  
Old 01-07-2009, 11:58 AM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get it, what is it and what does it do?

Am I to understand it creates a table of users of some sort?
Reply With Quote
  #16  
Old 01-07-2009, 01:05 PM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soundbarrierpro View Post
I don't get it, what is it and what does it do?

Am I to understand it creates a table of users of some sort?
Looks like a floating javascript window on the page that lets you login or register.
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:55 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.04134 seconds
  • Memory Usage 2,403KB
  • Queries Executed 21 (?)
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_html
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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