I don’t understand quite what ‘bbPress Forum Redirect’ does – the plugin page seems to say it just takes you to an external site?
1. What are you putting into the url on the metabox,
2. I don’t understand what the user is doing can you give an example of what they are clicking/typing to start
3. Can you then say what happens without and what happens with that is different ?
My website is https // autoforma.es. I am trying to disable bbpress but when I do it disappears from the left menu the dashboard.
I mean, I can not access https://autoforma.es/wp-admin/index.php
The message that comes out is: Sorry, you do not have permission to access this page.
What can I do to disable it without problems?
As a help, I do not know if it will work, I can tell you that I have installed the Optimizemember plugin, which also accesses user permissions.
Thanks in advance
Version BBpress: 2.5.14
WordPress version – 4.9.3
Theme – Generate Press Pro
bbPress version – 2.5.14
link to your site – nuatv.com
Simple WordPress Membership – 3.6.0
I use Simple WordPress Membership to secure member only pages on our site, including the BBPress Forum index. The Forum is on a protected page with the shortcode:
[bbp-forum-index]
The index page is listed in the WordPress pages.
However, if I open a forum post page like:
General discussion
this page does NOT appear in the list of WordPress pages and therefore I cannot apply access settings to the page.
Where ARE the various forum pages and how can I get to them to set access permissions? I want to restrict forum access to site members only.
You can use the standard WordPress import and export tool, no need for a bbPress to bbPress importer
For good UX you also need the plugin ‘bbPress Forum Redirect’ so that when a user accesses the forum topic directly the topic is redirected to the page with the forum topic displays underneath so that the user gets the page content and the forum posts, not just the forum posts.
That plugin suffers the same where it hasn’t been updated in a year and 3 major WP versions and needs PHP 7.x compatibility updates.
The “bbpress topics for posts” plugin does still work, I use it extensively on my site and have done for over 3 years.
Forums
I’m currently running WP 4.9.2 and whatever the latest version of BBPress is in Prod and in test I’ve just installed WP 4.9.3 and it’s looking ok under that as well.
One thing that does need doing for the plugin is to bring it up to PHP7.x compatibility.
Hey All,
So i’ve just installed the plugin. All working great, fab, thank you!
However, i’ve created some someforums BUT when I go to the actual forum front end i get this
Database Errors
Query Call Stack Component Error Code Error Message
SELECT SQL_CALC_FOUND_ROWS wasp_posts.ID
FROM wasp_posts
INNER JOIN wasp_postmeta
ON ( wasp_posts.ID = wasp_postmeta.post_id )
WHERE 1=1
AND wasp_posts.post_parent = 656
AND ((()))
AND ( wasp_postmeta.meta_key = ‘_bbp_last_active_time’ )
AND wasp_posts.post_type = ‘topic’
AND (wasp_posts.post_status = ‘publish’
OR wasp_posts.post_status = ‘closed’
OR wasp_posts.post_status = ‘private’
OR wasp_posts.post_status = ‘hidden’)
GROUP BY wasp_posts.ID
ORDER BY wasp_postmeta.meta_value DESC
LIMIT 0, 15
apply_filters(‘template_include’)
wp-includes/plugin.php:203
bbp_template_include()
wp-content/plugins/bbpress/includes/core/sub-actions.php:436
apply_filters(‘bbp_template_include’)
wp-includes/plugin.php:203
bbp_template_include_theme_compat()
wp-content/plugins/bbpress/includes/core/theme-compat.php:559
BBP_Shortcodes->display_forum()
wp-content/plugins/bbpress/includes/common/shortcodes.php:241
bbp_get_template_part()
wp-content/plugins/bbpress/includes/core/template-functions.php:43
bbp_locate_template()
wp-content/plugins/bbpress/includes/core/template-functions.php:105
load_template(‘~/wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php’)
wp-includes/template.php:690
bbp_has_topics()
wp-content/plugins/bbpress/includes/topics/template.php:203
WP_Query->__construct()
wp-includes/class-wp-query.php:3336
WP_Query->query()
wp-includes/class-wp-query.php:3230
WP_Query->get_posts()
wp-includes/class-wp-query.php:2821
Plugin: bbpress 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘))) AND ( wasp_postmeta.meta_key = ‘_bbp_last_active_time’ ) AND wasp_posts.’ at line 1
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