应dz站长邀请,做个用户阅读页面用户信息栏放在右侧,以下小编就介绍如何把dz用户栏放在右侧
工具/原料
dreamweaver,discuz
方法/步骤
1
首先在default/forum文件夹里面找到viewthread_node.htm,如图所示
2
用dreamweaver打开这个文件,此次修改需要两步,我们先把用户上面的部分做好,找到如下代码
$post[newpostanchor] $post[lastpostanchor] {eval viewthread_profile_node('left', $post);}
$post[author]$authorverifys
$_G[setting][anonymoustext] $post[useip] $_G[setting][anonymoustext]$_G[setting][anonymoustext] $post[author] {lang member_deleted}
IP {lang edit} {lang ban_member} {lang ban_member} {lang posts} {lang clear}
4 style="width:100%">
我们把上面的代码放到如下图所示的下面,折叠部分的代码为
style="height:48px">
{lang from} {$post[number]}{$postnostick} {lang recommend} $postno[$post[number]] {$post[number]}{$postno[0]}


{echo avatar($post['authorid'], 'small')}
{lang thread_author}| $post[author]$authorverifys {lang poston} $post[dateline] | {lang thread_show_author} {lang thread_show_all} $post[author] {lang poston} $post[dateline] $_G[setting][anonymoustext] {lang poston} $post[dateline] |{lang view_bigpic}
|{lang post_descview} |{lang post_ascview} |{lang read_mode}


{lang replycredit} +{$post['replycredit']} {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
{lang collection_related}
- · $var[name]|
- · {lang more}
{lang collection_fromctid}
下一篇:【文玩基础知识】金刚菩提的返碱