PDA

View Full Version : giúp mình khung đăng nhập



lukul
20-02-2011, 03:01 AM
Mình đag xài skin Tinh Tế:MatCuoi (23): , nhưg nó bị một lỗi là bị lỗi khug pass:MatCuoi (33): , ko co khung pass hay sao đó:MatCuoi (54): , mình dốt nát ko bik thêm :MatCuoi (56):, các bạn pro sửa giúp mình nhé :MatCuoi (20):. mình đính kèm xml skin và hình demo lỗi đó :MatCuoi:

Skin : http://thcs-cmt8.com/files/Tinh Te.zip (http://thcs-cmt8.com/files/TinhTe.zip)

Tiểu Bá Vương 1404
20-02-2011, 11:06 AM
Cho mượn cái demo đi, nhìn hình đính kèm không thấy rõ !

lukul
20-02-2011, 12:35 PM
Here you go @ Thanks
http://thcs-cmt8.com/diendan

Tiểu Bá Vương 1404
20-02-2011, 01:15 PM
Đã kiểm tra code, hoàn toàn không vấn đề nhưng nó lại k xuất hiện, chẳng biết lỗi gì đây nữa.

HTT.itvn
20-02-2011, 01:43 PM
Bạn đưa toàn bộ code trong header mình xem nhé .

Tiểu Bá Vương 1404
20-02-2011, 01:51 PM
Bạn đưa toàn bộ code trong header mình xem nhé .
Có trong xml style đính kèm trên ấy đó anh.

HTT.itvn
20-02-2011, 01:59 PM
Có trong xml style đính kèm trên ấy đó anh.

Thiếu file ảnh thì khó nhìn ra lỗi lắm vì không có ảnh giao diện không rõ nét .

@lukul : Link chết , em gửi toàn bộ style của em anh xem .

lukul
20-02-2011, 02:07 PM
http://thcs-cmt8.com/files/tinhte.zip

link có die đâu anh em sưả lại ,anh vào thủ xem

em có đính kèm xml trong attachment mà

giúp jùm em nhé

mà như anh TBV nói

em cũg đã kt ko thấy có lỗi vẫn đủ nhưg nó ko hiện ra

nên mới phải nhờ các anh júp
cố jùm em nhé
cảm ơn nhìu :D

HTT.itvn
20-02-2011, 03:28 PM
Vào adminCP >> Styles & Templates >> Style Manager >> Chọn skin >> Edit Templates >> Header , tìm code sau :


<li><div class="inputBox"><input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /></div></li>

Thay thế code sau :


<li> <div class="inputBox"><input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" />

<input type="text" class="loginInput" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" />
</div></li>

Tiểu Bá Vương 1404
20-02-2011, 03:32 PM
Cấu trúc như thế này giống với GamerBlue, nhưng không cần thêm vb_login_password_hint / navbar_password_hint nó vẫn hoạt động bình thường. Không hiểu thế nào nữa.

HTT.itvn
20-02-2011, 03:51 PM
Cấu trúc như thế này giống với GamerBlue, nhưng không cần thêm vb_login_password_hint / navbar_password_hint nó vẫn hoạt động bình thường. Không hiểu thế nào nữa.

Không có thì làm sao chạy được hả em :MatCuoi (9): Cấu trúc của style mặc định đều có , nếu không có khi tích chuột vào sẽ bị đứng .

Tiểu Bá Vương 1404
20-02-2011, 03:54 PM
Ở GamerBlue cũng như thế, không có password_hint nhưng click chuột vẫn như thường ! :MatCuoi (14):


</vb:if>
<li ><span class="loginTxt">Login:</span></li>
<li class="inputPad"><div class="loginBoxInput"><input type="text" class="loginInput" 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>" /></div></li>
<li class="inputPad"><div class="loginBoxInput"><input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /><input type="text" class="loginInput" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /></div></li>
<li class="rememberMe"><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></li>
<li class="inputPad"><input type="image" src="images/styles/TotallyPro/style/loginButton.gif" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /></li>
</ul>

HTT.itvn
20-02-2011, 04:03 PM
Ở GamerBlue cũng như thế, không có password_hint nhưng click chuột vẫn như thường ! :MatCuoi (14):


</vb:if>
<li ><span class="loginTxt">Login:</span></li>
<li class="inputPad"><div class="loginBoxInput"><input type="text" class="loginInput" 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>" /></div></li>
<li class="inputPad"><div class="loginBoxInput"><input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /><input type="text" class="loginInput" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /></div></li>
<li class="rememberMe"><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></li>
<li class="inputPad"><input type="image" src="images/styles/TotallyPro/style/loginButton.gif" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /></li>
</ul>


Rõ ràng nó có đấy chứ em


<li class="inputPad"><div class="loginBoxInput"><input type="password" class="loginInput" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /><input type="text" class="loginInput" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /></div></li>

Tiểu Bá Vương 1404
20-02-2011, 04:10 PM
Vậy là lỗi mình !
Cửa sổ editor nhỏ nên không nhìn hết.
Sr !!!!

lukul
20-02-2011, 10:00 PM
cảm ơn các anh dc òy