§ ITPOW >> 文档 >> PHP

手动更改 Discuz! 的发帖者

作者:vkvi 来源:ITPOW(原创) 日期:2010-1-31

进入 MySQL GUI Tools 的 MySQL Query Browser,执行如下代码更改帖子所有者:

update cdb_posts set authorid=50 where authorid=100
update cdb_posts set author='newname' where authorid='oldname'

更改列表显示:

update cdb_threads set authorid=50 where authorid=100
update cdb_threads set author='newname' where authorid='oldname'
update cdb_threads set lastposter='newname' where lastposter='oldname'

至于用户发帖数可在后台改。

相关文章