首页| 版块| 我的| 发帖| 消息
主题:2013年11月25日:给消息中的查看回复和查看主题添加手机版访问地址
zhangjingyu 
继续搜索“ping_content”,lib/fourm/ping .class.php
if ($params['ifmsg'] && !$atc['anonymous'] && $atc['author'] != $windid) {
//发消息
$title = getLangInfo('writemsg','ping_title',array('sender'=>$windid,'receiver'=>$atc['author']));
$content = getLangInfo('writemsg','ping_content',array(
'manager'=> $windid,
'fid'=> $atc['fid'],
'tid'=> $this->tid,
'pid'=> $pid,
'subject'=> $atc['subject'],
'postdate'=> get_date($atc['postdate']),
'forum'=> strip_tags($this->forum->foruminfo['name']),
'affect'=> $affect,
'admindate'=> get_date($timestamp),
'reason'=> stripslashes($params['atc_content']),
'sender'=> $windid,
'receiver'=> $atc['author']
));
$this->sendMessage($atc['author'],$title,$content);
}
这是发送消息的核心。在这里加判断吗?
zhangjingyu回帖于2018-11-06 14:23[查看电脑版]
下一楼»:"梅河口市张景玉"给您的帖子评分
"梅河口市张景玉"给您的帖子 执行 评 ..
«上一楼:通过搜索和查看lang_writemsg.php文件(搜索“othermsg1”,奇怪的是只在这个文件中有搜索结果) ..

查看全部回帖(67)
«返回主帖