Forum Replies Created
-
In reply to: Similar topics bbpress
but latest 5 if you have style pack installed would be
add_action( 'bbp_template_after_replies_loop', 'rew_other_topics' ); function rew_other_topics () { $topic_id = bbp_get_topic_id() ; $forum_id = bbp_get_topic_forum_id($topic_id) ; echo do_shortcode("[bsp-display-topic-index show='5' forum =".$forum_id." template = 'list']") ; }
though this would show the topic again if it were in the latest 5!
In reply to: Similar topics bbpressIs there a way to show similar topics at the end of a topic ?
where – after the reply forum or before?
similar topics
The issue here would be to define how similar topics are identified?
In reply to: Font in Tinymce visual editorbbpress just uses the .body font from the wp-content.css file.
You could style it using
.mce-content-body p { font-size: 25px; }
but this will not save to the post, it will just be what is shown in the form
In reply to: Topics Redirecting to Random Blog Postsok, you suspect the theme, but need to prove that, so standard fault finding applies ie
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
In reply to: Rename “Reply To: topic name”form-topic.php and form-reply.php
In reply to: Missing Date on Started byloop-single-topic.php
In reply to: Missing Date on Started byadd_action( 'bbp_theme_after_topic_started_by' , 'rew_add_date' ); function rew_add_date () { echo ' on ' ; bbp_topic_post_date() ; }
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
In reply to: Moderation Link Thresholddashboard>settings>discussion>comment moderation
In reply to: Change title of ‘Forums’ to ‘Forum’🙂
In reply to: Change title of ‘Forums’ to ‘Forum’add_filter( 'gettext', 'rew_bbpress_translate', 20 , 3 ); function rew_bbpress_translate( $translated, $text, $domain ) { if ($domain == 'bbpress') { $words = array( 'Forums' => 'Forum' ); $translated = str_replace( array_keys($words), $words, $translated ); } return $translated; }
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
In reply to: Is there a restriction on forum size ?No restriction in forum size – this site uses bbpress with 130,000 odd topics. Server capability is of course key to any response time.
Bbpress just uses wordpress login, so you will need to look at how that is done with wordpress.
In reply to: Does bbpress has multi-level forum structure?I can only suggest you try it, but in essence yes, bbpress has categories, forums, sub forums, topics and replies.
In reply to: Error in the Search Functionalitynot sure that will help – as I stated in the fix, this is neither bbpress or elementor problem – just 2
plugins that try and help wordpress but don’t totally work together.In reply to: Alternative to bbpress moderation toolsthe core of bbpress is stable enough that I suspect this version will hold for a good while yet.
In reply to: Alternative to bbpress moderation toolsI had the last version and have put it here
In reply to: Error in the Search Functionalityhmmm… ok, not sure what else I can suggest, given that others found it worked
In reply to: Error in the Search FunctionalityDoes not help anything
ok, for clarity can you confirm that the problem you have is the error in search functionality listed at the top of this thread?
In reply to: Error in the Search Functionalityok so let’s try the standard fault finding
it could be a theme or plugin issue
Plugins
deactivate all plugins apart from bbpress and my fix plugin 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
In reply to: Error in the Search Functionalityso presume you have the hello theme?
In reply to: Overwrite Bbpress classso have you tried
add_filter ('bbp_topic_tag_tax_id' , 'rew_return_null') ; function rew_return_null () { return 0 ; }
or
add_filter ('bbp_topic_tag_tax_id' , 'rew_return_null') ; function rew_return_null () { return false ; }
or indeed
add_filter ('bbp_topic_tag_tax_id' , 'rew_return_null') ; function rew_return_null () { return 'hello' ; }
it would appear to be a known issue
https://pluginus.net/support/topic/first-filter-disappears-when-set/
otherwise suggest you raise with woof
In reply to: Overwrite Bbpress classthat line allows the result to be filtered
so this should work
add_filter ('bbp_topic_tag_tax_id' , 'rew_return_null') ; function rew_return_null () { return ; }
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
Do you do custom code?
yes
In reply to: bbpress, 3 requests, and please fix the buga function is beyond free help – sorry
In reply to: Featured image on new forum topics – form-topic.phpnone of this testd, but the actual adding of an image to the post would be something like
add_action('bbp_template_before_single_topic', 'pym_print_featured_image_single_forum', 11); function pym_print_featured_image_single_forum() { if (has_post_thumbnail()) { echo '<div class="pym-bbp-topic-thumbnail">'; echo get_the_post_thumbnail(null, 'thumbnail' ); echo '</div>'; } }
adding featured topic to the backend would be something like
add_post_type_support('topic', array('thumbnail'));
Code could be written to allow the user to add an image, but that’s a chunk of work !!
In reply to: Featured image on new forum topics – form-topic.phpnothing I know of does this.