首页| 版块| 我的| 发帖| 消息
主题:2013年11月25日:给消息中的查看回复和查看主题添加手机版访问地址
zhangjingyu 
“zhangjingyu 继续搜索“ping_content”,lib/fourm/ping .class.php
if ($params['ifmsg'] && !$atc['anonymous'] && $atc['author'] != $windid) {
               &nb .. (2018-11-06 14:23)  查看本帖 ”(引用内容)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加判断,以解决消息里评分主题用手机访问看不到帖子内容,原因应该是链接不对15:21 2018-11-6*/
                if($pid == 'tpc'){
                $content = getLangInfo('writemsg','ping_content_shouji',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']
                ));
     
zhangjingyu回帖于2018-11-06 15:49[查看电脑版]
下一页 (1/7)
下一楼»:其实修改的核心(代码见楼上)就是手机版评分主题链接由“/m/index.php?a=reply&tid={$L}&am ..
«上一楼:"梅河口市张景玉"给您的帖子评分

"梅河口市张景玉"给您的帖子 执 ..

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