打开source\module\forum\forum_viewthread.php,
+ y+ P k$ [- i+ S L; k( W. A) t: z8 X5 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空
5 f% i$ l/ P0 o0 M; N: u2 R1 O - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
7 ~1 P8 V' B7 R# H. T间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
9 _( k, x( m. `+ u9 ^1 v M7 \7 R' V: G0 Z/ ^
演示:
5 h* J2 X+ K" D G7 a