打开source\module\forum\forum_viewthread.php,
5 l8 M9 J/ g) L$ o' M
$ a7 [2 S/ O+ e1 e5 B查找:
- $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空
6 g8 u5 c8 \5 `1 T - 间社区!请把签名补充完整!谢谢合作!</font></b></center>";}//此处设置默认签名
复制代码其中的<center><b><font color=red>欢迎加入酷族QQ空
- H" U0 a& u9 n6 v9 }/ W0 a间社区!请把签名补充完整!谢谢合作!</font></b></center> 就是你默认签名的代码, 支持html
4 u1 r' o" r5 p4 W
5 L' z% ?! _0 X. K0 c, ^
演示:
# y0 r, @4 S% M/ H+ `