- UID
- 1
- 主题
管理员
- CN币
- 币
- 威望
- 值
- 报料奖
- 元
- 贡献
- 值
- 回复
- 帖
- 日志
- 好友
- 帖子
- 主题
- 听众
- 收听
- 性别
- 保密
|
1. 下载附件
2. show文件夹上传至根目录
3. show.htm放到风格目录的forum目录下
4. 打开template/目前使用的风格/forum/viewthread_node.htm
查找(官方原版18行-130行)
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <!--{if $_G['setting']['authoronleft']}-->
- <div class="pi">
- <div class="authi"><a
- href="home.php?mod=space&uid=$post['authorid']" target="_blank"
- class="xw1">$post[author]</a>$authorverifys</div>
- </div>
- <!--{/if}-->
- <div class="p_pop blk bui"
- id="userinfo$post[pid]" style="display: none; {if
- $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
- <div class="m z">
- <div id="userinfo$post[pid]_ma"></div>
- <!--{hook/viewthread_profileside $postcount}-->
- </div>
- <div class="i y">
- <div>
- <strong><a
- href="home.php?mod=space&uid=$post[authorid]" target="_blank"
- class="xi2">$post[author]</a></strong>
- <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
- <!--{if
- ($_G['setting']['vtonlinestatus'] == 2 &&
- $_G[forum_onlineauthors][$post[authorid]]) ||
- ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP -
- $post['lastactivity'] <= 10800) &&
- !$post['authorinvisible'])}-->
- <em>{lang online}</em>
- <!--{else}-->
- <em>{lang offline}</em>
- <!--{/if}-->
- <!--{/if}-->
- </div>
- <dl class="cl">{$post[custominfo][menu]}</dl>
- <div class="imicn">
- <!--{if $post['qq']
- && !$post['privacy']['profile']['qq']}--><a
- href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G['setting']['bbname']&Menu=yes"
- target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ"
- /></a><!--{/if}-->
- <!--{if $post['icq'] &&
- !$post['privacy']['profile']['icq']}--><a
- href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]"
- target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ"
- /></a><!--{/if}-->
- <!--{if $post['yahoo'] &&
- !$post['privacy']['profile']['yahoo']}--><a
- href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg"
- target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif"
- alt="Yahoo!" /></a><!--{/if}-->
- <!--{if $post['taobao'] &&
- !$post['privacy']['profile']['taobao']}--><a href="javascript:;"
- onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')"
- title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang
- taobao}" /></a><!--{/if}-->
- <!--{if $post['site'] &&
- !$post['privacy']['profile']['site']}--><a href="$post[site]"
- target="_blank" title="{lang member_homepage}"><img
- src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}"
- /></a><!--{/if}-->
- <a
- href="home.php?mod=space&uid=$post[authorid]&do=profile"
- target="_blank" title="{lang member_viewpro}"><img
- src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a>
- <!--{hook/viewthread_imicons $postcount}-->
- <!--{if $_G['setting']['magicstatus']}-->
- <!--{if !empty($_G['setting']['magics']['showip'])}-->
- <a
- href="home.php?mod=magic&mid=showip&idtype=user&id={echo
- rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2"
- onclick="showWindow(this.id, this.href)"><img
- src="{STATICURL}/image/magic/showip.small.gif" alt="" />
- $_G['setting']['magics']['showip']</a>
- <!--{/if}-->
- <!--{if
- !empty($_G['setting']['magics']['checkonline']) &&
- $post['authorid'] != $_G['uid']}-->
- <a
- href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo
- rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2"
- onclick="showWindow(this.id, this.href)"><img
- src="{STATICURL}/image/magic/checkonline.small.gif" alt="" />
- $_G['setting']['magics']['checkonline']</a>
- <!--{/if}-->
- <!--{hook/viewthread_magic_user $postcount}-->
- <!--{/if}-->
- </div>
- <div id="avatarfeed"><span id="threadsortswait"></span></div>
- </div>
- </div>
- <!--{/if}-->
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <div>
- <!--{if $_G['setting']['bannedmessages'] &
- 2 && ($post['memberstatus'] == '-1' || ($post['authorid']
- && !$post['username']) || ($post['groupid'] == 4 ||
- $post['groupid'] == 5) || ($post['status'] & 1))}-->
- <div class="avatar">{lang member_avatar_banned}</div>
- <!--{elseif $post['avatar'] && $showavatars}-->
- <div class="avatar"
- onmouseover="showauthor(this, 'userinfo$post[pid]')"><a
- href="home.php?mod=space&uid=$post[authorid]"
- target="_blank">$post[avatar]</a></div>
- <!--{/if}-->
- <!--{hook/viewthread_avatar $postcount}-->
- <!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}-->
- <p><em><a
- href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]"
- target="_blank">{$post[authortitle]}</a></em></p>
- <!--{if $post['customstatus']}--><p
- class="xg1">$post[customstatus]</p><!--{/if}-->
- </div>
- <p{if $post['upgradecredit'] !== false}
- id="g_up$post[pid]" onmouseover="showMenu({'ctrlid':this.id,
- 'pos':'12!'});"{/if}><!--{eval
- showstars($post['stars']);}--></p>
- <!--{if $post['upgradecredit'] !== false}-->
- <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
- <div class="tip_horn"></div>
- <div
- class="tip_c">$post['authortitle'], {lang credits} $post['credits'],
- {lang thread_groupupgrade} $post['upgradecredit'] {lang
- credits}</div>
- </div>
- <!--{/if}-->
- <!--{hook/viewthread_sidetop $postcount}-->
- <!--{if $post[custominfo][left]}--><dl
- class="pil cl">{$post[custominfo][left]}</dl><!--{/if}-->
- <!--{if $post['medals']}-->
- <p class="md_ctrl">
- <a href="home.php?mod=medal">
- <!--{loop $post['medals'] $medal}-->
- <img
- id="md_{$post[pid]}_{$medal[medalid]}"
- src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title=""
- onmouseover="showMenu({'ctrlid':this.id,
- 'menuid':'md_$medal[medalid]_menu', 'pos':'12!'});" />
- <!--{/loop}-->
- </a>
- </p>
- <!--{/if}-->
- <!--{if $post[authorid] != $_G[uid]}-->
- <ul class="xl xl2 o cl">
- <li class="callon"><a
- href="home.php?mod=space&uid=$post[authorid]" target="_blank"
- title="{lang viewthread_left_tospace}" class="xi2">{lang
- viewthread_left_tospace}</a></li>
- <li class="buddy"><a
- href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}"
- id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href,
- 'get', 1, {'ctrlid':this.id,'pos':'00'});" title="{lang
- viewthread_left_addfriend}" class="xi2">{lang
- viewthread_left_addfriend}</a></li>
- <li class="poke2"><a
- href="home.php?mod=spacecp&ac=poke&op=send&uid=$post[authorid]"
- id="a_poke_li_{$post[pid]}" onclick="showWindow(this.id, this.href,
- 'get', 0);" title="{lang viewthread_left_poke}" class="xi2">{lang
- viewthread_left_poke}</a></li>
- <li class="pm2"><a
- href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]"
- onclick="showWindow('sendpm', this.href);" title="{lang
- viewthread_left_sendpm}" class="xi2">{lang
- viewthread_left_sendpm}</a></li>
- </ul>
- <!--{/if}-->
- <!--{hook/viewthread_sidebottom $postcount}-->
- <!--{else}-->
- <div class="pi">
- <!--{if !$post['authorid']}-->
- <a
- href="javascript:;">$_G[setting][anonymoustext]
- <em>$post[useip]</em></a>
- <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
- <!--{if
- $_G['forum']['ismoderator']}--><a
- href="home.php?mod=space&uid=$post[authorid]"
- target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
- <!--{else}-->
- $post[author] <em>{lang member_deleted}</em>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <!--{if $_G['group']['allowedituser'] ||
- $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] &&
- $_G['group']['allowviewip'])}-->
- <p>
- <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
- <a
- href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if
- $_G['forum_auditstatuson']}&modthreadkey=$_G[gp_modthreadkey]{/if}"
- onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
- <!--{/if}-->
- <!--{if $_G['group']['allowedituser']}-->
- <a href="{if $_G['adminid'] ==
- 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}"
- target="_blank">{lang edit}</a>
- <!--{/if}-->
- <!--{if $_G['group']['allowbanuser']}-->
- <!--{if $_G['adminid'] == 1}-->
- <a
- href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes"
- target="_blank">{lang ban_member}</a>
- <!--{else}-->
- <a
- href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]"
- target="_blank">{lang ban_member}</a>
- <!--{/if}-->
- <!--{/if}-->
- <a
- href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]"
- target="_blank">{lang posts}</a>
- </p>
- <!--{/if}-->
复制代码 替换为
- <!--{subtemplate forum/show}-->
复制代码
修改后上传覆盖即可!
别忘记后台更新缓存哦~
|
|