Hello,
I have a legacy version of BBPress (0.9.0.2). I was going to migrate to the WordPress version, but that seems difficult plus mine isn’t a WordPress website.
I’d like to ask for your advice: is it safe, security wise to keep this old version of BBPress? What could happen? I have activated several plugins, including the Human Test to keep a tight control over new posts.
I’m also looking into deactivating new registrations/topics and keeping it online as an archive.
Security is my main concern.
Thank you.
I have a large bbPress forum where the wp_postsmeta table is 2 GB! Surprisingly, I’ve not had much trouble hosting that anywhere until I tried Flywheel.
When bbPress is active, trying to log in through /wp-login.php gives me a 503 error and won’t let me into the dashboard. But if I remove bbPress from the plugins folder, I can log in successfully. This is 100% repeatable.
The Flywheel people can log in with their own admin account, but they aren’t a forum “keymaster.”
This site used to be WordPress Multisite but is now its own installation. Server is PHP 7.2.
But this exact same site runs fine when hosted on Liquid Web, or my own server via Centminmod.
Can you give any guidance? Unfortunately, the logs aren’t helpful.
Compared to BuddyPress, or a membership plugin like MemberPress, this is a surprisingly tedious thing to do in bbPress. I got 3/4 of the way to building it when I decided I really wanted the function on the membership account page and not in bbPress after all.
But suppose you wanted to add a tab for a page on which a user could upload an avatar using one of the many WordPress avatar plugins. Here, roughly, are the steps you would follow:
- First, you have to create the tab. This is done by adding another list-item in bbpress/templates/default/bbpress/user-details.php.
- In the other menu items on this template, you’ll notice that the href for the link is created by a function like ‘bbp_user_profile_edit_url()’. That’s because the user’s display name has to be part of the link. So, what you’ve got to do next is look in bbpress/includes/users/template.php and find that function. Then you’ve got to copy it, rename it, and modify it so that it creates the link you want (e.g., ‘/forums/users/username/avatar/’ ).
- Next, you’ve got set up bbPress to parse that link. The parsing function is bbp_parse_query(), which is found at the bottom of bbpress/includes/core/template-functions.php. This function reads the URI and sets conditional tags (e.g., ‘bbpress_is_single_user_edit’) depending on what the URI is. The function is called from bbpress/includes/core/actions.php. You’ll need to copy this function somewhere else and rename it. Then remove the action that calls it and add an action that calls your function. Then, you’ll need to modify your function such that if the URI ends in ‘avatar’ it sets a conditional tag, e.g., ‘bbpress_is_single_user_avatar’.
- Templates are loaded based on the conditional tags, and there are functions that return true or false depending on what conditional tags are present, e.g. ‘bbp_is_single_user_edit()’. These are found in bbpress/includes/common/tempate.php. You’ll have to create one of these that returns true for ‘bbpress_is_single_user_avatar’.
- Once you’ve got that, then you can conditionally load the templates you want for the page. Templates are loaded in bbpress/includes/core/template-loader.php. The function is bbp_template_include_theme_supports(). It has a filter, so you can add a conditional that loads a template when ‘bbp_is_single_user_avatar()’ is true.
As I said, I got about 3/4 of the way to doing this when I realized that it would be clearer in my application to have the avatar in the account area of my membership plugin. But I think this is roughly how you would do it in bbPress.
Interesting!
Driven by curiosity, I put this plugin together. You could try installing and activating it: it should make it possible to use [topic-author] from both the new reply subject and body.
It doesn’t do much else, though it could itself readily be extended (but perhaps the better course of action would be to see if the original author of bbPress Notify can make a change there or, if it is no longer receiving updates, fork it).
At any rate, I hope this is helpful, if only as a starting point π
bbPress Notify plugin
Hi, can I add tags that include the author name so that the name of the author can be added to the Notify email Subject line and email body (for both Topics and replies)?
for example: reply author name, topic author name
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
Is there a simple solution to force the site to ignore bbpress fonts and sizes?
I want bbpress to respect and use the default font and size of the theme.
Preferably in a form of few lines to be added to custom css of the active theme? I would prefer no to create child-theme (I’m using Neve) and definitely do not want to install additional plugins.
My forum: ibf.lv
I have made my forum as light as possible + made it full width and the 1st thing that can’t be ignored are different sizes and font of the forum π
Thank you π
Helmuts
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
Thanks very much for taking the trouble to come up with that. At this point I should admit that I don’t use bbPress myself, but was asking on behalf of (and unbeknownst to) a forum I visit. So I know too little to pursue it myself (at this stage anyway), but will pass on the idea to them in case they want to run with it. They don’t really need more work at the moment!
I may be back – Martin
There are some different ways you might tackle this.
https://gist.github.com/barryhughes/ae5ca5a4684f347e8ba81e88a6501801
One is to use some code like I shared above, which could be added either to a custom plugin (preferred) or else to your theme’s functions.php file.
Alternatively, you could create a custom template override for loop-single-topic.php and make a change within the <p class="bbp-topic-meta"> section.
If that’s of interest/if you think you might prefer the second approach, we could explore the code you’d need to add to make it happen π
Hi
When I create a forum I can link it to my related LearnDash course. I have multiple courses, each with its own private forum. The challenge I am having is that when I click on a topic in a forum, either Learndash or bbPress “forgets” which course that topic is linked to – which means any of the course navigation menus that are part of the course then get ‘lost’ too. My Gamipress rules to show specific badges for specific courses also gets messed up with this loss in connection.
How do I link the topics to their respective Learndash courses in the same way I do the forums? When I create the topics I link them to the forums that are linked to the course, however that is not working to keep me in the correct course, when I click on a topic.
Thanks in advance
Tim
doesn’t work that way. Sidebars are a theme thing, so bbpress has no control on how your theme author designs their sidebars
did that before making this post on bbpress, wouldnt it just be easier to include these settings in bbpress ?
hmmm… sidebars will be theme specific, not part of bbpress.
If you have a paid theme, suggest you contact their support
otherwise try googling ‘xx theme sidebars’
this is how my forum looks on my website https://lightforge.web.primedtnt.com/forums/ I would appreciate any help in making this clearer to read and understand. I’m looking into finding ways to remove sidebars on forum page, but not until i can read the forum.
using the added converter that was found here: https://bbpress.org/forums/topic/fix-for-phpbb3-to-bbpress-conversion-script/
all I get is “Starting Conversion”
hi there,
i have a list of topics in the forum but its not listing all of them.
kindly assist?
1) WordPress 5.2
2) bbPress 2.5.14
3) link to my site – http://www.meddirect.co.za/forums
We have some custom code in the mu-customisations plugin which filters bp_core_fetch_avatar to add a variety of little image overlays to the user’s avatar (e.g. instrument icon, “Team” logo). (mu_add_overlays_to_avatar() in mu-buddypress.php)
This has been working fine throughout the site, but as of today (I suspect with the upgrade of BuddyPress from 2.8.2 to 4.2.0) it no longer works in bbPress discussions.
It does still work correctly in BuddyPress content, e.g. the “login widget” at the top of the sidebar with the user’s own avatar, the activity feed in the sidebar, member profile pages. But in the author info in bbPress discussion posts, the overlays are no longer appearing.
Could you please look into what might have changed here, and why the bbPress template for showing the author avatar seems to no longer be affected by our mu_add_overlays_to_avatar filter? Thanks!
http://prntscr.com/nig5is http://prntscr.com/nig6jw
if it helps, this is the error i get when using the phpbb converter that comes with the installation of bbPress 2.5.14…
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default '0', meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join
hey there. So I’ve been trying to get the import to work for a few weeks and have zero luck whatsoever. I’ve tried the updated script found here:
Hi All,
Had the same issue as described above. The default phpbb.php import script didnβt convert anonymous users of topics and replies and the Pixenated script looped infinately with the conversion of users.
Iβve fixed the script and uploaded to PasteBin. Feel free to share widely.
https://pastebin.com/FpWsxsUG
How To:
1) Upgrade phpBB to v.3.2.5
2) Install BBpress 2.6 RC7
3) Upload to /wp-content/plugins/bbpress/includes/admin/converters/phpbb.php
Remember that real men donβt do backups. They cry a lot. π
but it has not aleviated the import problem. I no longer see errors, but it just sits at “Starting conversion”. Not sure what my next step is…
Hi,
I really like bbpress, but i’ve been having a problem on my website. I’ve downloaded the plugin, activated it. Created forum, register, and lost password pages. Checked “Anyone can register” in settings. Yet, when I try to to register with username and email address in Incognito mode to test it out. after clicking the final “register” button the page just acts as if it refreshed. and no verification is sent to my email address.
Somebody help..
I was JUST looking for a solution for this! I’d noticed the tab order was off when I was using tab to add a new post in a bbPress forum on my site.
Did a little exploration, and found this post:
WP Accessibility Plugin
In this section about removing tabindex from focusable elements…
WP Accessibility Plugin
…it mentioned this plugin that might help:
WP Accessibility
And I found a few others along similar lines:
WP Accessibility Helper (WAH)
Accessibility by UserWay
Just with installing the WP Accessibility Plugin (without making any tweaks to default settings), I noticed a difference. (Need to explore a bit more to see if my issue is solved.)
Hi,
It was recently pointed out to me that the tabindex attributes all over the place in the bbPress plugin are causing accessibility problems for users who are blind or due to mobility, navigate my website using the tab key. Disrupting the tab sequence of a page is almost never an OK solution on a site, as it creates a confusing and unpredictable navigation, and that is what bbPress is doing by setting its own tabindex attributes.
For my own site, I have copied all the bbPress templates into my child theme and am working on removing all the tabindex attributes manually. This, however, seems like a very poor solution to a pretty big accessibility problem. Can you just remove all the tabindexes, or at minimum, offer an option in the plugin to toggle tabindex attributes off?
Thank you!