dz修改分类信息跳转 普通主题不跳转教程

dz修改分类信息跳转 普通主题不跳转教程

所属分类 Discuz教程
浏览次数848
发布时间2020-9-22
mobcent\app\controllers\portal\NewsListAction.php
296行
  1. $row['special'] = (int) $list['special'];

改成
  1. $row['special'] = $list['sortid'] ? 127 : (int) $list['special'];


mobcent\app\components\web\ThreadUtils.php
203行
  1. $topicInfo['special'] = (int)$topic['special'];

改成
  1. $topicInfo['special'] = $topic['sortid'] ? 127 : (int)$topic['special'];


mobcent\app\controllers\forum\PostListAction.php
201行
  1. $topicInfo['special'] = (int)$topic['special'];

改成
  1. $topicInfo['special'] = $topic['sortid'] ? 127 : (int)$topic['special'];


mobcent\app\controllers\forum\TopicListAction.php
409行
  1. $topicInfo['special'] = (int)$topic['special'];
复制代码

  1. $topicInfo['special'] = $topic['sortid'] ? 127 : (int)$topic['special'];


mobcent\app\controllers\topic\TopicdtlAction.php
131行
  1. $topicInfo['special'] = (int)$topic['special'];

改成
  1. $topicInfo['special'] = $topic['sortid'] ? 127 : (int)$topic['special'];


mobcent\app\controllers\user\TopicListAction.php
99行
  1. $topicInfo['special'] = (int)$tmpTopicInfo['special'];


改成
  1. $topicInfo['special'] = $tmpTopicInfo['sortid'] ? 127 : (int)$tmpTopicInfo['special'];
立即下载 查看演示
所属分类 Discuz教程
浏览次数848
发布时间2020-9-22