贴子内显示会员编号
修 改: Poka
适用版本: Discuz 2.5/SP1
修改档案: viewthread.php
修改模板: viewthread.htm
技术支援:
http://www.discuz.net
1. 修改 viewthread.php
找
m.username, m.gender, m.groupid, m.regdate, m.lastactivity,
在前面插入
m.uid,
再找
$post['dateline'] = gmdate("$dateformat $timeformat", $post['dateline'] + $timeoffset * 3600);
在下面加入
$post['uid'] = sprintf("%07d", $post['uid']);
2. 修改 viewthread.htm
找
<br>{eval showstars($post['stars']);}
在上面加上
<br>会员编号 $post[uid]
~完成~