打开source\module\forum\forum_viewthread.php,
; R& S4 D2 Z) ?' M) A+ `
& |7 G0 j/ c6 p& z. c4 j/ t+ ]$ Q
查找:
- $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空
" G+ F. A7 l6 h1 c0 c - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
# ~# u, ~: @9 ?- j$ B% M9 y
间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
- I; m& g D1 @; Y9 t
- H5 _9 Q" r+ V) j演示:
1 X4 a) M; E6 S