*replying to myself to see if this same behaviour happens on bbpress.org
original post tags:
-participant roles
-single topic tags
-tags
-topic tags
-troubleshooting
-user roles
this reply’s tags:
-tags
*confirmed to delete the original post tags and replace with the single reply tag. this is the behaviour i’m trying to fix for the site i’m working on! 🙂
Hi there,
I’m trying to find a solution to the problem of participants being able to remove single topic tags by simply removing them from the “Tags” input field on the reply-to form.
I’ve found this thread that clearly explains the issue
Topic tags deleted by other participants
and offers a solution that is unfortunately not working on my end.
My form-reply.php currently has this line:
<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags', bbp_get_topic_id() )) : ?>
which I tried to replace with:
<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags', bbp_get_topic_id() ) && current_user_can('moderate') ) : ?>
to no avail.
Has anyone solved this issue? Would love some guidance here! 🙂
so the plugin is called bbpress which isn’t a word which translates, so what do you mean ??????
So there is some code in bbpress that can fix the link (I am guessing by changing something in the database?).
yes it is the function ‘bbp_update_topic_walker ‘ called in my code 🙂 🙂
I’ll look further at why it isn’t recalculating based in that info
Still the same result with the new code.
But I noticed that emptying the spam folder causes “Last Post” link to change to the correct value. So there is some code in bbpress that can fix the link (I am guessing by changing something in the database?).
Thank you, Robin. I added the snipped, and it partially worked. The anchor text “time ago” now reflects the time of the latest good post. However the URL is for the latest spam post.
I started digging a bit through bbpress code. It looks like if the fix was inside bbp_topic_freshness_link() it would be much easier to test, as we would not need to wait for a new spam post to test the fix. And perhaps make decisions based on the wp_post status having the value “publish”. This way the solution would not be specific to Akismet. But I am really too new to WordPress coding and bbPress to be making this kind of changes myself.
just posting this link here for reference for me 🙂
Akismet causing “recent topics” problem?
yes it does (and does so on here as well!).
I’m just a helper here, not a bbpress author.
I don’t run akismet on my test site. Are you able to replicate the problem so that we can check a fix if I am able to work up some code?
I have a WP-Members profile that shows up when a logged-in user chooses “My Profile” from the drop down list on the Home tab on my website:
https://lemonstograpes.com/home
(WordPress 6.0)
I would like the user’s WP profile information to have a link that would take the user to their bbPress Forum profile. I have no idea how to do this (not a programmer).
My current solution is to include the following text at the bottom of the user’s WP-Members profile:
(Note: User Profile information that provides forum related detail is accessed by clicking the picture [avatar] that appears beside a Forum post.)
@robin-w so looks like it was not working in my visual editor within bbpress but when i click on the text editor it does work. UGH, didnt think about that.Next question is there a way to make it work with visual editor? if not its okay but most people use the visual editor on bbpress instead of the text one is why i ask. Thanks again!!
@Ricsca2 You made my day!
It worked also for importing PHPBB 3.x to BBpress
Thank you
Hello Robin, Thanks for the quick reply. I have that plugin but it doesnt seem to work at all. I cant even see that it has any settings anywhere. I do have active right now, WP with Avada Theme, BBPress, bbp Style pack, bbpress notify, GD bbpress Attachments, and Ultimate Member and a few of its extensions for bbpress as it is a private forum.
on bbp style pack there is a check box to make @mentions help, but says you need buddypress or bbp-mentions-email-notifications which I have tried that plugin and it doesnt work either.
Would love to use your plugin but i cant get it to work at all.
I see on GIST there is some code for a bp-custom.php file which includes this
<?php
/** You could put this in the bp-custom.php file
* @see https://codex.buddypress.org/themes/bp-custom-php/
*/
function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) {
if ( function_exists( 'bbpress' ) && is_bbpress() ) {
$retval = true;
}
return $retval;
}
add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );
Hello All,
I have a forum that is not allowing the @mentions as it will write it in plain text but wont hyperlink it or bring up a populated set of members with what i type in at all. I would like to allow it to gather any user to tag them and receive a notification of a mention of there username. Anything I can do or check for this please? Thanks
I fully understand – you have an issue where one forum is not showing. Given that showing these forums are settings within your theme or LMS, not within bbpress, then it most likely that it is a setting somewhere within this.
so you can try one last thing
dashboard>settings>permalinks and just click save – this resets the permalinks and may help
then if you srea still convinced that it is not theme or plugin, you can prove this using
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
sorry, ‘bbPress – Report Content’ is not a bbPress authored plugin – you would need to raise this with the plugins author.
Hello
The above issues I have resolved using the following plugin.
Plugin name: bbPress – Report Content
Plugin URL: https://wordpress.org/plugins/bbpress-report-content/
But could you please help to solve the below screenshot issues?
Issues Description : I need to add report dropdown.
Screenshot URL : https://prnt.sc/cL2uh7VbeXal
Hi! I have problem in bbpress forum, we have bbpress forum on our page on this link https://bmedic-online.cz/diskuzni_fora/. You can see whole forum, but in individual categories you have no access, but when you click “Biologie” or “Chemie” it announces you that you have no privilege. Every category works, but “Fyzika” doesnt. Even if you try to enter “Fyzika”, none announcement appear. I am including screenshots of it. On screenshots on “forum.png” you can see whole forum, and when i click on category “Chemie” and “Biologie” it forwards to forum depicted on screen “chemie_forum.png” and “biologie_forum.png”. But when i click on “Fyzika” category, nothing shows up, and it is interesting that icons in admin panel dont show up (in red rectangle on “fyzika_forum.png”).
I dont understand what happend, nobody changed anything.
bbpress version is updated to newest, and wordpress is 5.9.
Link to google drive for screens is here: https://drive.google.com/drive/folders/1fKEU15U9GzHaC9KwXJ_XhGe8mSI7HVeC?usp=sharing
Can somebody help me?
Hi,
I work with avada theme. Users can login and then they have more content. What I need is a forum and a chat for the users to cummunicate with all or private. Is this possible with BBPress ? And is it possible that forum and chat don’t need a seperate login because they are alerady logged in as a member from the site ?
Thanks !
My post disappeared and I’m unable to post it again: I’ll try again
I messed around with the conditions in the theme builder last night and I found working solutions 🙂
Elementor template for single topic and single forum
This template will work for single topics (those pages where you read a topic and can reply) and single forum (where you see a list of topics, sometime called boards or category). Both of these act as single posts. Make a Single post template according to your needs and in the container/section where you want bbPress itself put an Archive Posts widget and set the skin to Full Content. It’s going to look like your blog posts in Elementor editor, but it’s normal.
Save the template with the following conditions:
Include: All Singular
Exclude: Posts (unless you want the same template for your posts)
Exclude: any custom post types you may have
Exclude: Pages (just to be safe)
Exclude: you may need to exclude additional things according to your needs.
Elementor template for forum index
This template will work for the forum index only. Create and Archive template according to your needs. In the container/section where you want bbPress itself put bbPress forum index shortcode which can be found here: https://codex.bbpress.org/features/shortcodes/
Save the template with the following conditions:
Include: Forums Archive
bbp style pack is a must have plugin with any bbpress forum !
Thanks again Robin. I tried Hello Elementor theme plus your plugin. Unfortunately it doesn’t work, and Hello Elementor seems to also breaks the template on forums which is pretty odd as the template works with Underscores theme.
I’m thinking now if there would be a way to manually put the template into bbPress files. Probably not XD
if you are using the hello theme, then try
Hello Elementor bbPress fix
This may be more of a request for Elementor, but I thought I try and see if someone figured this out.
From this topic here: https://bbpress.org/forums/topic/bbpress-elementor/
I was able to make Elementor work on forum index, forums and the list of topics inside those, but not for single topic (those you can reply on). Technically those must be posts and post comments.
It’s not entirely essential, but would be great if there was a way to do this. I use a barebones theme (_s) and the theme parts themselves are built with Elementor’s theme builder and custom CSS. So without a template for single topics I’m unable to get a header or a sidebar on those.
Thanks in advance!