打开include/editpost.inc.php! P0 ]/ e6 g) O- s M* x: n
1 l. a8 Y0 t& Y& Q3 D
找:$anonymousadd ".($auditstatuson && $audit == 1 ? ",invisible='0'" : '')." WHERE pid='$pid'");% B/ h0 S! N8 c
复制代码在它后面加入$db->query("UPDATE {$tablepre}threads SET lastpost='$timestamp' WHERE tid='$tid' AND fid='$fid'");
复制代码OK,收工!2 w. c4 P' h0 Q% l; n. |2 |
1 V6 p$ `* f9 b, `$ e
不过个人建议选择性使用,这个有个不好的缺点就是导致恶意顶贴......
| 欢迎光临 航空论坛_航空翻译_民航英语翻译_飞行翻译 (http://bbs.aero.cn/) | Powered by Discuz! X2 |