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 :
Sửa thành :
$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;
Tiếp tục tìm đoạn code sau :
//--$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;
Sửa thành :
$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);
Save lại và upload lên host .
//--- $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);
P/s : Chú ý dòng xanh đậm , do 4rum tự nhận link nên anh cố ý thêm dấu cách ở [ ]
Bookmarks