Hello. I’m trying to import a PHPFox forum into bbPress.
The PHPFox database has been installed locally, as has WordPress/BBpress, on my own desktop.
The conversion proceeds at a fair clip until it gets to importing the replies (i.e. the bulk of the posts), at which point it slows badly. I’ve tried it with various Rows Limit settings (between 10 and 1000) and there doesn’t seem to be an appreciable difference in overall speed. I’ve tried various mysql configuration settings, too, including the recommendations of mysqltuner.pl — no appreciable difference there, either. The tables have been optimized.
In about half an hour, it’s gotten through about 4500 rows. As it’s pulling from a 535,500-row database table, it’ll take about 60 hours!
Is this to be expected given the size of the database? Any hints to getting this done faster?
Try the ‘Remap existing users to default forum roles’ repair tool
https://codex.bbpress.org/repair-forums/
Also try resaving your permalink structure.
I tried to see if the problem was still happening on a few other computers after adding the bbpress.php pager as you suggested and it worked!
I went back to my computer, removed all the cookies and cache again and it was still happening so I quit the program, re-started the computer again and now… it works!
Thanks for your help. I’m pretty sure it was your solution that fixed it 🙂
I’m running the current versions of WordPress and bbPress on a dev site. Mostly OK, have been able to get some people to test the forum functionality. However, I and another user (both keymasters) are unable to use the Edit or Merge buttons above topics and replies. The other buttons – delete, spam, close, stick, etc – do work, strangely. Yet I have no trouble doing edits from the backend.
I tried the usual routine of disabling all plugins save bbPress, yet the issue remained. We’re not using exotic plugins – ACF, Pods, NavXT, PageNavi and about 10 others. We are building out a custom theme – I also tried switching to Twenty Twelve to no avail.
If it matters, I have set up a custom permalink structure in the bbPress settings. I can’t imagine that being the issue if only two functions fail to work while the others are fine.
Any Suggestions?
One other thing I can’t ever get to work is “Purge all information from a previously attempted import”. I’ve let it run for over 48 hours in the past, and it was “Deleting previously converted data” with a number up into the tens of millions before I gave up on the process, and never actually starts converting. Has anyone else experienced similar issues?
This is a known issue as we have two different caching methods we use, and in particular if one is used and not the other this goes on forever, hopefully I will have a fix in the near future for this, as a workaround do as you have and just ‘reset’ bbPress.
It is odd that it stalls, stopis etc at a different point during the reply imports, typicaly it stops because of some mysterious reason on the same reply (or topic) and it appears to be some ‘malformed’ content in that particular post (I can’t prove this though and is not specific to SimplePress) 😉
When it stalls if you click ‘Stop’ then bump the value of _bbp_converter_start by one, then click ‘Start’ again it should continue on from where it left off skipping that troublesome reply.
(A side issue can be you actually get logged out of WordPress so it also pays to open/refresh another admin page to ensure you are still logged in)
Basically your users shouldn’t be logging into to backend in the first place, thus they should never see that to be even tempted.
You can add a login widget to a sidebar or create a page with a shortcode, up to you which way depending on how you want your site to look etc.
https://codex.bbpress.org/widgets/ https://codex.bbpress.org/shortcodes/
By the way, I am also running bbpm plugin for private messaging, which has altered bbpress database quite a bit.
Sorry for doublepost, mobile opera does not show edit link.
Would I be better with a ‘site-wide’ forum rather than the private All Residents group?
I think this is now sorted based on your reply.
Can I make a site-wide forum private?
Same this is now sorted.
How do I modify the formatting of the forum postings?
If you want custom templates then follow the steps outlined here to make copies of the templates in your theme so they don’t get overridden when you update bbPress.
https://codex.bbpress.org/theme-compatibility/
Where do I look to troubleshoot the ‘threading’ function?
You state you are using ‘bbPress 2.2’, threaded replies were introduced in bbPress 2.4 so you should upgrade to the latest bbPress 2.5.2. You can then enable them in bbPress settings per https://codex.bbpress.org/forum-settings/#forum-features
@e-motion Did you run the database upgrade after updating to bbPress 1.2?
So far no go. Only my admin user can click on these.
This is correct and is by design, users should only be using the ‘front end’ user interface and not the ‘back end’
Also check the codex docs here to help you on your way 🙂
Codex
Maybe try making a copy of your themes page.php or page-no-sidebar.php or page-sidebar.php depending on the type of template you want your forums to display with and rename the file to bbpress.php in the root of your themes folder.
This is most likely a plugin conflict
To try and resolve conflicts with other plugins please disable all your plugins except bbPress to see if the error persists. Re-enable each plugin one at a time and if things break again you should be able to now know which other plugin is causing the conflict.
You can make a copy of bbPress’ templates and put theme in a subfolder bbpress in your theme and edit the templates to any style you wish 😉
https://codex.bbpress.org/theme-compatibility/
First of all. New to WordPress and bbPress as of yesterday.
I am liking it very much over all. Different, but good.
Anyways,
When regular users login into WordPress and goto the dashboard
The Panel “Right now in forums”
User can click on “Topics” or “Replies”
They will end up going to this
http://mysite.com/wp/wp-admin/edit.php?post_type=topic
And page just comes up with
“Cheatin’ uh?”
Doing searches of similar issues I ended up doing these different steps.
Ive deactivated a member list plugin.
Ive deactivated and reactivated the forum.
Under Tools>Forums I ran “Remap existing users to default forum roles” without issue.
Under Settings>Forums>Auto Role has been checked on and set to “Participant”
I unchecked and rechecked Auto Role
So far no go. Only my admin user can click on these.
Any help for a newb?
@gwendydd Thanks for the report and it is exactly the same issue.
Could you all in this thread supply the following:
- WordPress Versions eg. 3.8
- bbPress Version eg. 2.5.2
- Operating System eg. Linux/Windows
- Web Server eg. Nginx, Apache, IIS
- Theme eg. Twenty Thirteen
- PHP Version eg. 5.3, 5.4, 5.5
There has to be something common between people having this issue where we can then recreate a test environment to actually fix this.
You could add some custom code with a filter before and after the tags section and apply some custom CSS rules using:
bbp_theme_before_topic_form_tags & bbp_theme_after_topic_form_tags
Or make a copy of form-topic.php in your themes /bbpress folder and edit the template to exactly how you would like it.
https://codex.bbpress.org/theme-compatibility/
I am pretty sure it is a theme issue your having in that it is not playing nice with bbPress for some reason.
You could try adding a template wrapper for bbPress.
Make a copy of your page.php or page-sidebar.php theme template file and rename it to bbpress.php in the root folder of your theme.
Have you looked to see if there are any resources on your themes support site for using bbPress?
This is most likely a plugin conflict.
To try and resolve conflicts with other plugins please disable all your plugins except bbPress to see if the error persists. Re-enable each plugin one at a time and if things break again you should be able to now know which other plugin is causing the conflict.
bbPress might not have many settings but it does have this one 😉
https://codex.bbpress.org/forum-settings/#forum-features
Topic Tags
This will disable topic tags site wide and will no longer show topic tags associated with each topic or the topic tag input form.
The ‘User Role Editor’ will not fix this issue, it has nothing to do with bbPress and will probably hinder your troubleshoot rather than helping.
Have you tried running the ‘Remap existing users to default forum roles’ repair tool?
https://codex.bbpress.org/repair-forums/
As per https://codex.bbpress.org/widgets/
You can set the forum/category ID in the widget but only a single ID at this stage.
(bbPress) Forums List – A list of forums with an option to set the parent.
Options:
Title: Here you can set the title of the widget as it will be displayed in the sidebar.
Parent Forum ID: “0″ to show only root – “any” to show all
Yes, it was caught by Akismet as spam, fixed and replied.
Slow to post forum topics and replies on large forum