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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已回应] 想请教大家一个难题,站点广告 广告列表 - 论坛/群组 帖间通栏广告 的广告大小能...

[复制链接]
梦里梦她 发表于 2015-5-15 17:43:50 | 显示全部楼层 |阅读模式
DISCUZ!用户各位好!                                                                                                      

             想请教大家一个难题,站点广告  广告列表 - 论坛/群组 帖间通栏广告 的广告大小能不能改为图2中的效果。

                                                                                                                                                        谢谢!



(图1,原本的效果)




(图2)



本帖子中包含更多资源

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

x
allthebest 发表于 2015-5-15 18:24:22 | 显示全部楼层
在您发表主题前,请先阅读以下规则
1. 本版仅处理Discuz!标准程序安装使用/前后台故障问题,不包括程序修改、模板美化的咨询。

点击一下 已解决

去模版区问吧
回复

使用道具 举报

 楼主| 梦里梦她 发表于 2015-5-15 19:00:38 | 显示全部楼层


已经完美解决了,大家可以借鉴一下。



查找:template/default/forum/viewthread_node.htm
  • <tr class="ad">
  • <td class="pls"></td>
  • <td class="plc">
  • <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  • <ul class="ttp cl">
  • <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  • <li{if !isset($_GET['stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
  • <li{if $_GET['stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  • <li{if $_GET['stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  • <li{if isset($_GET['stand']) && $_GET['stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  • </ul>
  • <!--{/if}-->
  • <!--{if $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p/$postcount}--><!--{/if}-->
  • </td>


复制代码

修改成:
  • <tr class="ad">
  • <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  • <ul class="ttp cl">
  • <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  • <li{if !isset($_GET['stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
  • <li{if $_GET['stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  • <li{if $_GET['stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  • <li{if isset($_GET['stand']) && $_GET['stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  • </ul>
  • <!--{/if}-->
  • <!--{if $_G['forum_thread']['replies']}--><td class="pls" colspan="2"><!--{ad/interthread/a_p/$postcount}--><!--{else}--><td class="pls"></td><td class="plc"><!--{/if}-->
  • </td>


复制代码


更新缓存。【特别提醒:修改前请备份该文件】








回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-19 09:51 , Processed in 0.095621 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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