打开source\module\forum\forum_viewthread.php,
" a# |8 p4 P6 ^8 Y8 G5 y- H% D, \8 M4 _9 w# i
查找:
- $post['signature'] = $post['usesig'] ? ($_G['setting']['sigviewcond'] ? (strlen($post['message']) > $_G['setting']['sigviewcond'] ? $post['signature'] : '') : $post['signature']) : '';
复制代码下面添加:
- if ($post['signature'] =='') {$post['signature']="<center><b><font color=red>欢迎加入酷族QQ空
; E3 C3 b* E* ] I( k5 V - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
+ B4 c1 V) l* P% k间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
4 J& {$ E" g% h! \! M( H: [2 Z w4 ]
6 e2 o( H; x1 d! P( O演示:
' L+ p# u) i3 ~) r) U3 z