Correcting bbPress post ID with WordPress’s ID.

This is an article I wrote on a different website over six years ago. With that website now shut I have added a few highly viewed posts to Tweaked for your Pleasure.

If you have ever converted over to bbPress or have a bbPress forum and decide to add a

WordPress installation over which has users already stored in it that you will know when you come to actually integrate the two that bbPress will show all the posts has the wrong users.

This is due to different IDs within the WordPress database. I had this problem with Just a Community and Tweaked for your Pleasure. I got around this problem why writing a tiny script. This script assumes all the users exist on both side (there are plugins to import bbPress users to WordPress) and if not, it will just put it as Anonymous. You will need to mod the script yourself but most of it is done for you already and yes, it is very badly coded.

It also assumes you use two different databases. Just edit were needed.

This article was posted on

Need to quote me?

Ellis, M (2010) Correcting bbPress post ID with WordPress’s ID.. [online] Tweaked for your Pleasure. Available at: [Accessed 20 Apr 2021]
0 0 vote
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments