查看: 1993|回复: 0

[解决] 备忘录 论坛修改集合

  [复制链接]

八云紫的式神<

梦石
0
星屑
818
在线时间
1255 小时
注册时间
2008-1-1
回帖
3884

烫烫烫

发表于 2009-6-28 07:13:00 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

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

×
头像居中
template/forum/viewthread.htm <!--{subtemplate common/header}-->
  1. <style>
  2. .pls .avatar {
  3. margin: 10px 0;
  4. text-align: center;
  5. }
  6. </style>
复制代码
VIP刷红及0值隐藏
template/forum/viewthread_node.htm <!--{hook/viewthread_sidetop $postcount}-->
  1.                         <!--{if
  2.                         <!--{if $post[custominfo][left]}--><dl class="pil cl">
  3.                         <!--{if $post[extcredits3]>0}--><dt>VIP</dt><dd><font color=red><b>$post[extcredits3]</b></font> &nbsp;</dd><!--{/if}-->
  4.                         <!--{if $post[extcredits2]>0}--><dt>好人卡</dt><dd>$post[extcredits2] &nbsp;</dd><!--{/if}-->
  5.                         <!--{if $post[digestposts]>0}--><dt>精华</dt><dd>$post[digestposts] &nbsp;</dd><!--{/if}-->
复制代码
帖子内容页左侧个人信息显示群组 source/module/forum/forum_viewthread.php if(($onlyauthoradd && $post['anonymous'] == 0) || !$onlyauthoradd) {
  1.                 $group = DB::fetch_first("SELECT g.fid, f.name
  2.                 FROM ".DB::table('forum_groupuser')." g, ".DB::table('forum_forum')." f
  3.                 WHERE g.uid='$post[authorid]' and g.fid = f.fid
  4.                 ORDER BY g.level, g.replies DESC, g.threads DESC");
  5.                 $post['group'] = $group['name'];
  6.                 $post['group_fid'] = $group['fid'];
复制代码
template/forum/viewthread_node.htm {$post[custominfo][left]}
  1. <!--{if $post[group_fid]}--><dt>群组</dt><dd><a href="group-$post[group_fid]-1.html">$post[group]</a> &nbsp;</dd><!--{/if}-->
复制代码
rm for linux(wine)制作中,期待夏娜SAMA能实现到webrm上
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部