打开 ./source/do_register.php 文件
找到 125 行:
- $pokes[] = "('$newuid','$value[uid]','$value[username]','$_SGLOBAL[timestamp]')";
复制代码
替换为
- $pokes[] = "('$newuid','$value[uid]','$value[username]','$_SGLOBAL[timestamp]','你要添加的打招呼的内容')";
复制代码
找到 129 行:
- $_SGLOBAL['db']->query("REPLACE INTO ".tname('poke')." (uid,fromuid,fromusername,dateline) VALUES ".implode(',', $pokes));
复制代码
替换为
- $_SGLOBAL['db']->query("REPLACE INTO ".tname('poke')." (uid,fromuid,fromusername,dateline,note) VALUES ".implode(',', $pokes));
复制代码 |