Hướng dẫn fix lỗi gửi tin nhắn tự động của mod Comment - v1.2

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Nhiều bạn thấy phiền khi cài mod này thì tự động gửi tin nhắn liên tục.
Sau đây là cách khắc phục.
Mở file comment.php tìm đoạn code sau :
Code:
$mes = <<<mesHi $userinfo[username],
{$vbulletin->userinfo['username']} has made a comment in your post.
Please check it out by following this [u rl=$urlz]link[/url]
* Note: This is an automatic message, please do not reply!
mes;
Sửa thành :
Code:
//--$mes = <<<mes//---Hi $userinfo[username],
//--{$vbulletin->userinfo['username']} has made a comment in your post.
//--Please check it out by following this [u rl=$urlz]link[/url]
//--* Note: This is an automatic message, please do not reply!
//--mes;
Hoặc xóa nó đi.
Tiếp tục tìm đoạn code sau :
Code:
$mes = <<<mesHi $uinfo[username],
{$vbulletin->userinfo['username']} has replied your comment.
Please check it out by following this [u rl=$urlz]link[/url]
* Note: This is an automatic message, please do not reply!
mes;
pm($pminfo, $uinfo, 'Your comment has been replied',$mes);
Sửa thành
Code:
//--- $mes = <<<mes//---Hi $uinfo[username],
//---{$vbulletin->userinfo['username']} has replied your comment.
//---Please check it out by following this [u rl=$urlz]link[/url]
//---* Note: This is an automatic message, please do not reply!
//---mes;
//----pm($pminfo, $uinfo, 'Your comment has been replied',$mes);
Hoặc xóa nó đi.
Lưu lại, xong.
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
yoona
Replies
5
Views
5K
AdminAdmin is verified member.
Admin
A
Replies
4
Views
954
anhtho9x
A
Admin
Replies
0
Views
4K
AdminAdmin is verified member.
Admin
Hero
Replies
11
Views
2K
Tamhoangdk
Tamhoangdk
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Back
Top