Using the default wordpress export/import tool:
The problem started when importing the topics, they would import fine but would not display or show up in the parent forums. This was easily fixed if I resaved them. But this is an issue due to having over 2,400 topics and 15,000 replies.
I ran into another problem, because we have imported the user and usermeta table first, when importing topics and replies it asked to assign them to the user account. I manually have to select the user to assign them to, if I do not it would assign them all to my admin account. So I tried that with the topics and assigned them all to user account. However this did not assign all topics to the user account, some (about 150) topics were still assigned to me.
So what I tried was doing a raw forums, topics and replies data dump of the posts and postmeta and importing to the existing NEW tables. This was almost flawless with 0 data loss except for the fact that there are duplicate ID’s, about 1400 in the posts table and thousands more in the postmeta table.
Do you know of a way that we can run a script on the 2 tables and give all unique ID’s starting at a specific number that would match both the id on posts and post_id on postmeta table. I have extracted the forums, topic and reply data and imported them to their own table. If I gave new id’s I could easily import them without duplicate errors. What do you think of this? This is the way we really prefer to do it for 0 data loss. Keeping the forums, topics and replies exactly as they are now.
version bbPress 2.5.14
We’re going BBPRESS TO BBPRESS both same version.
@netweb
Did you do a bbpress to bbpress importer? I know it was mentioned some time ago.
Using default wordpress exporter/importer. Moving forums, topics and replies from one database to the other. BBPRESS to BBPRESS.
Also found that I have to resign users to their topics and replies on the import, which is very time consuming. If I just click import, the topics and replies get assigned to my account, when the other users account do exist.
I finally found out that if I just do a raw mysql dump I can import all the data with 0 loss and they get tied to the correct account but the problem with that lies in the ID – I get duplicates because of the data that is already existing from pages and blog posts. Do you have a script that I can run to easily changes ID’s across 2 tables “posts” and “postmeta”? I think that would be the best way of handling a migration.
@jkw217, You do not have the exact same problem, please add some more information to the post I’ve just made here https://bbpress.org/forums/topic/import-parent-and-child-relationships/
p.s. Please create your own topics in future instead of replying to other topics, 99.9999% of the time your import issues will be different to that of someone else’s, if you need to you can link o other topics as a reference and say it is “similar to xyz”
@jwk, I’ve moved this to its own topic as this does NOT affect all of bbPress.
This will be specific to whatever import process of importer you are using.
What are you importing and where from @jkw217? phpBB? a raw database?
I imported forums and that went fine.
I imported topics and they do not show in any forums. I re-save topics and they show up in forums. But having to save over 1,400 topics is a problem.
I have not yet imported replies but based on other people’s problems this is also going to be an issue. I cannot re-save over 15,000 replies to have them show up in topics.
This is using the WordPress built in export and import.
I have tried disabling all plugins except bbpress. I have tried saving permalinks. Nothing has worked.
I have tried the latest bbpress version, I have tried the RC version and I have tried the beta version. All with the same results.
There’s actually some information on the updates that need to be made to the Post by Email plugin here: https://wordpress.org/support/topic/working-with-newer-wp-releases/
I’d be very happy if maintenance of this plugin resumed somewhere. I’m working on migrating an email group to bbPress and this is a core functionality the users don’t want to lose.
This is a common problem for ALL bbpress. Appears when importing forums, topics and replies it breaks the relationship between parent and child.
Currently I am having to resave over 1400 topics for them to show up in the forums after import.
I have over 15,000 replies that will need resaving as well until bbpress resolves the import bug.
As it’s above the title, then it’s before bbpress kicks in.
you could try
if (is_bbpress) {
echo 'hello' ;
}
but may not work
Or try to add something to your theme page.php or equivalent before the title
Something like (this won’t work it’s just to start you off!)
$array = (2925, 3567,4567) ;
if (in_array ($page_id, $array)) {
echo 'hello' ;
}
where 2925 etc are forum ID’s
A user has created a topic in a forum. After responding, I wanted to move the topic to another, more relevant, forum. None of the options allow this and even “merge” only displays topics in the same forum. Please advise. Thanks!
BBPress Version 2.5.14
wow thank you very much, it works now
as both seems to work now, likely the first did not work immediately due to cache but works now, I appreciate it.
But sorry if I may ask another question here, I noticed bbpress has a widget to list forums, which i make use of but i wanted to ask if there was a way for it to show the to total number of topics on each forum at its side
suspect it an update conflict
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
1) okay but is there a way to hide it as i noticed those number,are not showing up in the bbpress support forum.
when they first log on they are allocated the default role that you set in dashboard>settings>forums.
you can use the bbpress logon widget in a sidebar, use the shortcode [bbp-login] on a page or post, use any wordpress logion plugin or technique, or add a login to your menu using
https://wordpress.org/plugins/bbp-style-pack/
1. bbpress uses wordpress post database, so these are wordpress post numbers, so no, you cannot have different numbers for bbpress (without completely re-writing bbpress !).
2.
I also wanted to ask if there was a plugin that supported sharing bbpress topics.
None that I know of
How do i add a side bar in bbpress.
I want to add the the bar sames as in this bbpress forun called Topic Info which is found on all topic created.
Good Morning,
I am making use of bbpress but noticed a concept used I wanted to ask if it was possible it could be customized.
While using bbpress i noticed it makes use of #- post name as shown in the image below
https://postimg.org/image/pqswe6mud/
i wanted to ask if this could be hidden as it is displayed both to visitors and users as I also wanted to ask if it could be replaced with this format below
https://postimg.org/image/x6s6017zp/
As when a user adds a topic it shows #1 and as replies are being added later it follows from #2 further
As I wanted all to show the function starting from #1
I also wanted to ask if there was a plugin that supported sharing bbpress topics.
( i also noticed a concept used by a website that when user press that #-post number –
a link pos u asking the person to copy the link to share the post topic or reply
Some say any reply over what you could reveal person´s identity needs to be removed, if User wishes so.
If, only if, it is the true there is no way any forum owner/admin will ever bother searching through thousands of User´s replies. Whole account and all replies will be deleted.
Will leave a mess, but will save admin´s hours, days and nerves.
Specially as it is gray area. What is personally “revealing”. Admin would not only need to quick browse through replies, but study them very well. Cannot imagine any Admin would like to lose so much time on this stupid thing.
Second big problem are quotes, and nested quotes. How to deal with it. Of course if it is true about replies at all.
My personal feeling is as this law, regulation, is made specifically to target Facebook and Twitter. How will they deal with it. BbPress problem is a piece of cake compared to them.
I know users who are registered to use my site are automatically able to use bbpress. I dont understand the technical details. Do I need to install a another login page when installing bbpress or can registered users just go ahead and post etc. Would appreciate someone setting out the steps for me … thanks.
@stagger-lee,
I have been busy with it for a while. In fact the ideas behind GDPR are not new, it just that now they become clear and mandatory. Data protection has and should always be priority one.
GPDR is now specifying that how and what things are done need to be completely clear.
When a user asks for ‘what do you collect’ or ‘Give me my data’, it can be as simple as a csv file with all data (user profile, topics, replies) which seems to comply.
The ‘right to be forgotten’ is the one that needs much more investigation. Deleting the user is easy, deleting the replies too. But what about topics that were started and have replies from others? Or replies to the replies of this user? How about backups? How about search engines that indexed public forums? Mentions to this user?
I have started drafting some things that I will share (hopefully next week) with the bbPress team with my thoughts. I hope it can serve as an extra guideline.
Hello Robin, Yes. I have raised problems of bbpress to the theme author many times. But They told it is not covered by the theme support range as it is a third party plugin. So I am very embarrassed as I don’t have any help and support on BBPRESS.
You are not the only one. Today was first time I heard about it.
It involves a bit design consideration. Checkbox when submitting topic reply. Option for User to be able to delete account with all comments. Dedicated Page for bbPress about what is saved in database.
Some are strange and complicated. What to send to User when they ask what bbPress is collecting in database.
@adchix Did you try to import in bbPress v2.6 ? The import procedure have been reviewed so you might have more luck.
Try to install v2.6 from https://bbpress.org/download/ in a test environment.
Pascal.
When AMP plugin just update to Enable for bbpress,
But my website got 404 error with bbPress Permalinks with ID plugin
(https://wordpress.org/plugins/bbpress-permalinks-with-id/)
Has anyone solve this problem?
Thank you.