Forum Replies Created
-
In reply to: Forum and Chat
bbpress gives you the forum
buddypress and/or this should give you the messages
Better Messages – Live Chat for WordPress, BuddyPress, BuddyBoss, Ultimate Member, PeepSo
In reply to: How to edit forum user role compatibilities?sorry, ‘bbPress – Report Content’ is not a bbPress authored plugin – you would need to raise this with the plugins author.
In reply to: One forum category doesnt showing up.so what plugin/theme are you using that restricts access?
In reply to: bbPress single topic + ElementorGreat – thanks for posting your solution 🙂 🙂
In reply to: How to edit forum user role compatibilities?In reply to: Edit Topic Page🙂
In reply to: bbPress single topic + ElementorIf you do fix, please do post back your solution here to help others
In reply to: bbPress single topic + Elementor🙂
In reply to: bbPress single topic + Elementorif you are using the hello theme, then try
In reply to: Can’t work out how to link to mobile?looks like you could use this, but check that bbpress is covered.
In reply to: Can’t work out how to link to mobile?no, sorry no app !
In reply to: Topic submission form customisationso you are happy that in the forum display, the topic content box will be there, but show nothing ?
for 1,3&4
#bbpress-forums fieldset.bbp-form input[type="text"] { width: 100% !important; } div.bbp-submit-wrapper { width: 100%; }
add this to the custom css of your theme
ok, I’ve found time to take an initial look at this.
The function called looks at a database item which holds the sub forum count – but it looks like this is just count of public forums, so the count is zero, so none displayed.
so removing looking at this takes away the issue.
It would take a deal of work to see why and how to make a permanent fix to this, and I think this filter will do what you want
add_filter('bbp_forum_get_subforums', 'rew_forum_get_subforums', 10, 3); function rew_forum_get_subforums( $sub_forums, $r, $args ) { // Default return value $retval = array(); // Use passed integer as post_parent if ( is_numeric( $args ) && ! empty( $args ) ) { $args = array( 'post_parent' => bbp_get_forum_id( $args ) ); } // Parse arguments against default values $r = bbp_parse_args( $args, array( 'post_parent' => 0, 'post_type' => bbp_get_forum_post_type(), 'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ), 'orderby' => 'menu_order title', 'order' => 'ASC', 'ignore_sticky_posts' => true, 'no_found_rows' => true ), 'forum_get_subforums' ); // Ensure post_parent is properly set $r['post_parent'] = bbp_get_forum_id( $r['post_parent'] ); // Query if post_parent has subforums if ( ! empty( $r['post_parent'] ) ) { $get_posts = new WP_Query(); $retval = $get_posts->query( $r ); } // Filter & return return (array) apply_filters( 'rew_forum_get_subforums', $retval, $r, $args ); }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
This is not fully tested, but should work
add_filter( 'bbp_get_reply_edit_url', 'rew_admin_link', 10 , 2 ) ; function rew_admin_link ($url, $reply_id ) { if ( bbp_is_user_keymaster(get_current_user_id())) { $url = '/wp-admin/post.php?post='.$reply_id.'&action=edit' ; } return $url ; }
In reply to: Forum not available for days, then appears!great – glad you are fixed !!
In reply to: Forum not available for days, then appears!contact me via
In reply to: Forum not available for days, then appears!are you using any caching software? either plugin or Siteground?
In reply to: Can’t Install bbPress 2.6.6ok, so your have downloaded it to your pc and are trying to install by doing what?
(By the by, current version is 2.6.9, is there a reason why you want an old version?)
In reply to: Can’t Install bbPress 2.6.6so are you trying to install this on a local WordPress installation, or an online website?
🙂
thanks, just tested with just bbpress and agree it does disappear.
I had bbp private groups enabled, although no settings affecting, but with this it shows.
I’ll try and take a look tomorrow (10pm in UK at the moment) to see what private groups does that is fixing that !
Alternatively, is there a way to post completely anonymously, but in a way that is available only for logged-in users?
I think you’ve asked this before, but not sure I responded.
It is technically possible, but lots of code and beyond free help. In any case I’d suspect that someone would post thinking it was anonymous, but forget to tick the box that says anonymous, or use the wrong form, and by mistake post something outrageous that then appears in their name, cue them accusing your site of destroying their reputation, you accusing whoever wrote the code of it not being robust, and all hell breaking loose. So not code that I would write.
your other suggestion is also possible, but you’d need to catch everywhere the username is used, and again risk it being exposed in some code that isn’t expected.
I s’pose my gut answer is just enable anonymous posting, and use the ‘hold for moderation’ in the moderation part of my style pack plugin to approve anonymous posts. Then tell your users that they must log out to post anonymously.
In reply to: Edit Topic Pageok, I’d suspect something in the way Divi is seeing urls with the topic in, but that’s just my guess.
so once you’ve done the theme/plugin thing, come back with what you found out 🙂
it could be a theme or plugin issue
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
Then come back
ok, my site after a post (and a sticky post also showing)
http://www.rewweb.co.uk/wp-content/uploads/2019/07/Screenshot-2022-06-29-210816.png