• 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.

Hướng dẫn tắt chức năng sửa email cho forum vbb

Admin

Well-Known Member
Staff member
Administrator
Hướng dẫn:
Admincp -> style & templates -> style manager -> edit templates -> Modify User Option Templates -> modifypassword
tìm
<input type="text" class="textbox" name="email" value="{vb:raw bbuserinfo.email}" id="email" maxlength="50" dir="ltr"/>
sửa thành
<input type="text" class="textbox" name="email" value="{vb:raw bbuserinfo.email}" id="email" maxlength="50" dir="ltr" readonly = "readonly"/>

tìm
<input type="text" class="textbox" name="emailconfirm" value="{vb:raw bbuserinfo.email}" id="emailconfirm" maxlength="50" dir="ltr"/>
sửa thành
<input type="text" class="textbox" name="emailconfirm" value="{vb:raw bbuserinfo.email}" id="emailconfirm" maxlength="50" dir="ltr" readonly = "readonly"/>

save lại nhé :)

cách khác
mở file profile.php lên tìm:
$show['edit_email_field'] = true;
và thay lại thành:
$show['edit_email_field'] = false;
Chú ý: không cần chỉnh sửa template
Nguồn: BD
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top