·设为首页收藏本站📧邮箱修改🎁免费下载专区🔐设置/修改密码👽群雄群聊
返回列表 发布新帖

DZAPP2017论坛模板导致帖子页面所有嵌入点不执行的问题

373 0
发表于 2020-7-8 09:59:25 | 显示全部楼层 阅读模式

马上注册,免费下载更多dz插件网资源。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
打开:template\dzapp2017\forum\viewthread.php
找到
  1. <!--{template common/headers}-->
复制代码
改为
  1. <!--{template common/header}-->
复制代码

打开:template\dzapp2017\common\header_common.php 修改为
  1. <?php exit('Access Denied'); ?>{if CURMODULE == 'viewthread'}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">        <head>        <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />        <!--{if $_G['config']['output']['iecompatible']}--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE{$_G['config']['output']['iecompatible']}" /><!--{/if}-->        <title><!--{if !empty($navtitle)}-->$navtitle<!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname']<!--{/if}--></title>        $_G['setting']['seohead']                <base href="{$_G['siteurl']}" />        <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />        <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" />        <meta name="copyright" content="2011-2018 www.ai0536.com." />        <meta name="MSSmartTagsPreventParsing" content="True" />        <meta http-equiv="MSThemeCompatible" content="Yes" />        <meta property="og:type" content="bbs"/>        <meta property="og:image" content="{$_G['siteurl']}data/attachment/forum/($postlist)"/>        <meta property="og:release_date" content=" {echo dgmdate($_G[forum_thread][dateline])}"/>        <meta property="og:title" content="$_G[forum_thread][subject]"/>        <meta property="og:description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}"/>    <meta property="og:author" content="$_G[forum_thread][author] "/>        <meta property="og:bbs:replay" content="$_G[forum_thread][allreplies]"/>        <!--{csstemplate}-->        <script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]', CSSPATH = '$_G[setting][csspath]', DYNAMICURL = '$_G[dynamicurl]';</script>        <script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>        <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->        <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->        <link rel="stylesheet" href="$_G[style][styleimgdir]/pc_css/style.css" type="text/css" media="all">        <!--{eval require DISCUZ_ROOT.'./template/dzapp2017/lang/'.CHARSET.'.php';}-->{else}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">        <head>        <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />        <!--{if $_G['config']['output']['iecompatible']}--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE{$_G['config']['output']['iecompatible']}" /><!--{/if}-->        <title><!--{if !empty($navtitle)}-->$navtitle<!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname']<!--{/if}--></title>        $_G['setting']['seohead']        <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />        <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" />        <meta name="copyright" content="2001-2013 www.ai0536.com." />        <meta name="MSSmartTagsPreventParsing" content="True" />        <meta http-equiv="MSThemeCompatible" content="Yes" />        <base href="{$_G['siteurl']}" />        <!--{csstemplate}-->        <script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]', CSSPATH = '$_G[setting][csspath]', DYNAMICURL = '$_G[dynamicurl]';</script>        <script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>        <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->        <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->        <link rel="stylesheet" href="$_G[style][styleimgdir]/pc_css/style.css" type="text/css" media="all">        <!--{eval require DISCUZ_ROOT.'./template/dzapp2017/lang/'.CHARSET.'.php';}-->{/if}
复制代码
我要说一句 收起回复
一花一世界,一叶一追寻。一曲一场叹,一生为一人。

回复

 懒得打字嘛,点击右侧快捷回复【查看最新发布】   【应用商城享更多资源】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

投诉/建议联系

discuzaddons@vip.qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,按照公告处理!!!
  • 联系QQ客服
  • 添加微信客服

联系DZ插件网微信客服|最近更新|Archiver|手机版|小黑屋|DZ插件网! ( 鄂ICP备20010621号-1 )|网站地图

您的IP:18.216.239.46,118.180.40.53,GMT+8, 2024-4-25 20:13 , Processed in 0.174356 second(s), 69 queries , Gzip On, Redis On.

Based on Discuz! W1.0 Licensed

© 2001-2024 Discuz! Team.

关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表