打开source\module\forum\forum_viewthread.php,
- ~7 Q% Y. `3 q
# ^# d: z3 d& C% ^6 s4 R& R查找:
- $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空
4 l4 B' H4 a$ Z7 W - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
+ e# I4 p/ E/ L3 F+ y间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
) V! N) ]1 L( h% R1 g; h3 T" f8 i- Z! }0 C" {& W3 E# m) i0 e2 T; ?
演示:
) D$ U! u$ d# t) x