Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[发布] 最简单的快速回帖栏上方广告位代码的设置

[复制链接]
桐乡网 发表于 2012-8-28 12:57:16 | 显示全部楼层 |阅读模式
本帖最后由 桐乡网 于 2012-8-28 22:49 编辑

看到dz的应用中心里有很多回帖栏上方的广告位插件,居然还收费。。。 本人给大家用最简单的方法设置一下这里的广告位。。。应该很多站长需要。。。这个位置确实不错。。 其实很简单。。。。。


只要在后台-的广告管理中自定义一个广告位,取得其代码。。。<!--{ad/custom_1}-->
11.jpg




然后将此代码植入,template/default/forum里面的viewthread文件内。。。。

具体位置在
  1. <!--{hook/viewthread_middle}-->
  2. <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
  3. <!--{if $_G['setting']['fastpost'] && ($allowpostreply || !$_G['uid']) && !$_G['forum_thread']['archiveid'] && ($_G['forum']['status'] != 3 || $_G['isgroupuser'])}-->
  4. <!--{ad/custom_1}-->
  5. <!--{subtemplate forum/viewthread_fastpost}-->
  6. <!--{/if}-->

  7. <!--{hook/viewthread_bottom}-->
复制代码
保存后,到后台工具那更新一下系统缓存。。。。OK。

看看我的,至于是什么样形式的广告显示方式,自己选择了,多种多样的。

顺便宣传一下我的网站:桐乡网 www.tongxiang.net


22.jpg
回复

使用道具 举报

qiyiye 发表于 2012-8-28 13:43:56 | 显示全部楼层
不错哈


免费收录你的广告和外链,请到http://www.chaxb.com

免费精品DZ风格、PW风格和免费插件,下载请到http://www.winqb.com  

win7、win8系统、电脑软硬件问题求助、交流、软件资源下载请到http://www.winqb.com

美女、性感、想看mm请到http://www.ewuyun.net
回复

使用道具 举报

珍爱博客 发表于 2012-8-28 14:04:10 | 显示全部楼层
好文,珍爱博客www.20920.com学习了……
回复

使用道具 举报

站是不是站 发表于 2012-8-28 15:13:37 | 显示全部楼层
不错 哦。。。。学习下
回复

使用道具 举报

 楼主| 桐乡网 发表于 2012-8-29 08:59:59 | 显示全部楼层
多谢捧场。
回复

使用道具 举报

ilei365 发表于 2012-8-29 09:04:42 | 显示全部楼层
这个不错。。。
回复

使用道具 举报

360424738 发表于 2012-8-29 09:35:46 | 显示全部楼层
http://www.gxgtmall.net
回复

使用道具 举报

 楼主| 桐乡网 发表于 2012-9-7 07:58:53 | 显示全部楼层
333333333333333333
回复

使用道具 举报

4535 发表于 2012-9-7 11:55:39 | 显示全部楼层
这插件很不错!支持一下
http://www.1024com.com/
回复

使用道具 举报

梦想! 发表于 2012-9-8 10:54:35 | 显示全部楼层
{:soso_e171:}           多谢捧场。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-8-25 08:14 , Processed in 0.127881 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表