Search Results for 'bbpress'
-
Search Results
-
I’m sure this has been addressed the past, but I can’t find it anywhere – sorry.
I want to edit the bbpress.css file, but I can’t find it.
From the dashboard I select Appearance->Theme Editor, but I can’t find bbpress.css in the list of files, so this must not be the right place to look.
So, how do I find the bbpress.css file to edit?How to make one common page for blog and forum tags?
Now tags lead to different pages
BLOG: site / tag / tagname /
BBPRESS: site / forums / topic-tag / tagname /tagname are the same
Necessary: clicking the tag icon (in blog or forum)->> redirect to the general page of the tag (common for blog and forum)
May be plugin?
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 Pro