Đã hỏi và tự mò, tự viết bài share lại luôn bạn tham khảo nhé http://bvn.vn/threads/cach-them-rank-cho-user-xenforo.3216/