Search Results for 'bbpress'
-
Search Results
-
Hello,
Our association is using a bbpress forum to debate. Some responses are very long making it hard to have a general vue one a small screen. Do you know a plugin that could add a “read more” button after x characters, like an “excerpt” on a WP post ?
Thanks for your help or suggestions 🙂Topic: Auto Moderator
Hello, I want to know is there any settings in bbpress where a user could be a moderator automatically? I have faced such an issue. I want to deactivate that settings. This is urgent, please help.
I’m using the [bbp-forum-form] shortcode to allow forum moderators to add subforums on our site (is there a better way to do this?) and when submitting the form I get the error “ERROR: Your forum must have a parent.”
I’ve dug through the source code thoroughly to figure out what would be causing this and I just can’t track it down. Any ideas?
After user searched key wards in one of the parent forums, I want to suggest topics that are a member of the parent forum.
For example,
Forum Top |- Forum B |-topic A
| |-topic F
|
|- Forum C |-topic A
|-topic ZIf an user now in Forum B searches topic A, only show topic A in Forum B, not Forum C’s topic A.
What I tried
First, I add this cord to my child theme’s function.php.
`function my_bbp_search_form(){
?>
<div class=”bbp-search-form”><?php bbp_get_template_part( ‘form’, ‘search’ ); ?>
</div>
<?php
}
add_action( ‘bbp_template_before_single_forum’, ‘my_bbp_search_form’ );`Next, Add a field to the search form. I override form-search.php in my child theme’s /bbpress directory.
if ( bbp_allow_search() ) : ?> <?php $forum_id = bbp_get_forum_id(); ?> <div class="bbp-search-form"> <form role="search" id="bbp-search-form" method="get" action=""> <input type="text" value="" placeholder="Search <?php the_title(); ?> Topics" name="s"/> <input type="hidden" name="forum_id" value="<?php echo $forum_id; ?>"/> <input type="submit"/> </form> </div>Finally, I filter the search query to only search a specific forum. I add this code to my functions.php.
<?php function my_bbp_filter_search_results( $r ){ $s=htmlspecialchars($_GET['s'], ENT_QUOTES, 'UTF-8'); $forum_id = htmlspecialchars($_GET['forum_id'], ENT_QUOTES, 'UTF-8'); if(isset($s)){ $args=array( 's'->$s, 'post_parent'->$forum_id, ); } return $r; } ?>However, it didn’t work so I want to know how to achieve this.
In addition, I challenged another way like this.
if(bbp_has_topics(array('s'->$s, 'post_parent'->$forum_id))) bbp_get_template_part('bbpress/loop', 'topics');This code is that I edited above last additional functon “my_bbp_filter_search_results()” in function.php.
However, I can’t get search’s value(name=’s’) in the first place. I tried to use “echo $s;”, $s didn’t output the value. Where is the search results file of bbpress?Please advise me. Thanks for reading.
Topic: Change default template
I have bbPress installed and configured.
If I create a page, with the shortlink: [bbp-forum-index]
then I can go to the page attributes, and change the Template from the Default Template to “Full Width Page (no sidebar)”, which is a template available from my Theme (Responsive by Cyberchimps), and it looks great.When I attempt to browse any of my forums from there I, of course, leave that Page, and enter the normal forum pages, which use the Default Template again. What I’d like to do is change what theme Template is used for all of bbPress. Possible?
I don’t have any need to edit the template itself, I just want to change which template the bbPress pages use.
Thanks!
Rick
Topic: Graphic issues with replies
Hi
I have three issues when it comes to replies to a topic.

As one can see there is a blue square around the avatar. How comes and how can I remove it?
Furthermore the size of the fonts is suddenly too big. The username beneath the avatar as well as the links in the signature.
Can you please help to fix these issues.
Thanks a lot in advance.
WP 5.4.2
bbPress 2.6.5
Theme: Blog Diary ProI’m running bbPress 2.6.5 with WordPress 5.4.2, and using SendGrid to process notifications. When I check the SendGrid activity log, I see that the forum notifications, which are being sent from a “noreply@domainname” email address, are also being delivered TO that same “noreply” email address. I have searched every setting and can’t find any reason why emails would be sent to that address. Does anyone know how this could happen? My hosting company tells me this could be seen as spam, which could affect delivery. The forums are members-only so I can’t post a link. Any advice would be greatly appreciated.