打开source\module\forum\forum_viewthread.php,
4 _1 j1 ^ J h( J3 e
3 t1 J+ p) s" i+ s0 ?7 ?$ ~5 v查找:
- $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空
& K; I4 U( c; n- R9 o" b x( d3 ~ - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
7 A4 [- {3 K7 c( l8 {7 }& Z
间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
& W" B; z0 u1 _
6 l S% ^5 [1 z
演示:
* ?- d& n- g( w3 `; B5 A2 t