打开source\module\forum\forum_viewthread.php,
2 {, k# G) @# c- ?
9 c5 Y3 d( i2 p+ V- x8 W/ L5 P: h- _查找:
- $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空
/ z7 x5 a+ d+ L1 c - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
% H1 B& r* t' T, t间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
7 J5 b; M9 g( t3 }
& E9 a. V: V& N+ j演示:
" G( h' W9 ^) H