• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Tự động check ghi nhớ khi đăng nhập user thành viên vbb 4.x

Admin

Well-Known Member
Staff member
Administrator
Bạn vào Templates của style tìm trong header
Tìm :
PHP:
<label for="cb_cookieuser_navbar"><input type="checkbox"  name="cookieuser" value="1" id="cb_cookieuser_navbar"  class="cb_cookieuser_navbar" accesskey="c" tabindex="103" />  {vb:rawphrase remember_me}</label>
thay thế bằng :
PHP:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked="checked" /> {vb:rawphrase remember_me}</label>

Còn nếu muốn khi click chuột tự động xóa dòng đăng nhập nick thì :
Tìm :
PHP:
<input type="text" class="textbox<vb:if  condition="!$username"> default-value</vb:if>"  name="vb_login_username" id="navbar_username" size="10" accesskey="u"  tabindex="101" value="<vb:if condition="$username">{vb:raw  username}<vb:else />{vb:rawphrase username}</vb:if>" />                      <input type="password" class="textbox"  tabindex="102" name="vb_login_password" id="navbar_password" size="10"  />
Thay thế bằng :
PHP:
<input type="text" class="textbox<vb:if  condition="!$username"> default-value</vb:if>"  name="vb_login_username" id="navbar_username" size="10" accesskey="u"  tabindex="101" value="<vb:if condition="$username">{vb:raw  username}<vb:else />{vb:rawphrase username}</vb:if>"   onclick="if(this.value=='{vb:raw username}')this.value='';"  onblur="if(this.value=='')this.value='{vb:raw username}';" />                      <input type="password" class="textbox"  tabindex="102" name="vb_login_password" id="navbar_password" size="10"  onclick="if(this.value=='{vb:rawphrase password}')this.value='';"  onblur="if(this.value=='')this.value='{vb:rawphrase password}';"  />
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top