Search Results for 'bbpress'
-
AuthorSearch Results
-
June 24, 2014 at 1:00 pm #148161
jtabrams
ParticipantThe problem is that my search form is only returning a list of recent posts. It’s not including ANY forum information, and it’s not including any valid search results. Prior to installing BBPress, my search results were displayed on a formatted page that said “Search Results.” Now when you search, it’s saying “Latest Posts.” Somewhere with the installation, something is rerouting the code to pull from somewhere else.
In my searchform.php the code is:
<form role="search" method="get" id="searchform" class="form-search <?php if (is_404() || !have_posts()) { ?> well <?php } ?>" action="<?php echo home_url('/'); ?>"> <label class="visuallyhidden" for="s"><?php _e('Search for:', 'roots'); ?></label> <input type="text" value="" name="s" id="s" class="search-query" placeholder="<?php _e('Search', 'roots'); ?> <?php bloginfo('name'); ?>"> <input type="submit" id="searchsubmit" value="<?php _e('Search', 'roots'); ?>" class="btn"> </form>June 24, 2014 at 12:31 pm #148158In reply to: Problem with permalinks after bbpress-update to 2.54
Morgensonne
ParticipantHi Stephen,
thank you for this detailed explanation of the background to this new behavior of bbpress.
I’m with my forum not online yet and still experimenting on my test area. That is why I made a lot of things in the backend, because I would like to get to know everything about bbpress before I go online definitely. And so I have noticed it that the reply-titles are missing. Now I will try out your advice in the future everything if possible only to manage in the front-end.Thank you for your explanations to this new behavior.
Morgensonne
June 24, 2014 at 11:44 am #148155In reply to: Forum subscription subscribes to all forums
Lumartist
ParticipantSure. But the theme I am using is WIP, very WIP. The whole Buddypress part has not been worked on so far. That being said – It looks messed up.
On the first picture you can see the generall forum view, which looks a little bit different, but it’s a normal bbpress. Where it says “Neuigkeiten und Ankündigungen” (News and Announcements), this is the the category (header). Below, this are the forums (subforums). Right now I am subscribed to the first forum, which ist called “Der Yucom-Bote”.

On the second picture you can see the forums in the buddypress profile. It displays all forums and categories, even if I am only subscribed to the first forum. As said before, it looks a little bit messed up, as there aren’t any template files or changes for buddypress yet.

Not sure if this helps you. I can make new screens with another theme, if you want to.
June 24, 2014 at 11:43 am #148154Robin W
ModeratorIt may well be that you’re search form is just including the forum posts.
bbpress uses custom post types of ‘topic’, ‘forum’ and ‘reply’. You site wide search may well need to exclude these types so that forums results do not get filtered into the search.
see https://codex.wordpress.org/Function_Reference/get_search_form
In particular
<input type=”hidden” value=”post” name=”post_type” id=”post_type” />
Here we submit the value post. The default value is any, meaning, posts, pages and custom post types.ie the default is any would include forum entries.
June 24, 2014 at 11:20 am #148151Robin W
Moderatorok, sounds like you need a test site
https://codex.bbpress.org/creating-a-test-site/
so that you can test things like installing bbpress prior to going live !
Anyway, back to your immediate issue, it will be very theme dependant, and sounds like your theme is doing something with search after you’ve disabled it
you say ‘our site continues to use the search functions that we setup. ‘ have you some special search function, or how is your search working?
June 24, 2014 at 11:17 am #148150In reply to: Forum subscription subscribes to all forums
Lumartist
ParticipantThat is very kind of you @robin-w. I was a little… demoralized today, as I did put a lot of work into my bbpress-forum, which is based on INK interface kit, and it would be very disappointing if all the effort would’ve been for naught, even if it’s just the subscription.
Please let me know if I can help you with anything, even if it’s just testing!
Thanks again for all the work!
June 24, 2014 at 11:06 am #148148jtabrams
ParticipantHi Robin,
Thanks for the feedback, but unfortunately, our site is so large and widely used that disabling plugins and/or switching themes is not a viable option for us.
Is there any way to alter any of the bbpress files to disable search completely or remove it? It seems that part of the problem is that my theme calls a certain search file which is being overridden by the bbpress search file. But when I try to edit your file in my ftp, it won’t let me…
June 24, 2014 at 10:19 am #148145In reply to: Forum subscription subscribes to all forums
Robin W
ModeratorIt could be a bbpress + buddypress + private groups issue
Buddypress filters some bbpress code, so my plugin may be overwriting a filter that buddypress is using to control either subscriptions or the info it is displaying about bbpres subs.
Did you check if subscribing to one forums ACTUALLY subscribes to them all, or whether buddypress is just saying that they are?
You could check this by unsubscribing from forum b, then subscribing to forum a, checking that buddypress says you’re subscribed to forums a & b, and then posting in forum b to see if you get an email.
June 24, 2014 at 7:34 am #148142In reply to: Forum subscription subscribes to all forums
Lumartist
ParticipantOkay, I have to add another reply here, sorry.
Strange thing is, that I am having the same effect as with the Tehnik plugin. As soon as I add your plugin, bbp-private-groups, and I subscribe to a forum, I am subscribed to all forums. As soon as I disable the plugin everything works fine. It also happens with a standard theme like twenty fourteen.
I am not sure where this coming from. Very strange…
Here’s a list of installed plugins:
- Advanced Custom Fiels
- bbP private groups
- bbPress
- bbPress Pencil Unread
- Breadcrumb NavXT
- Buddypress
- CodeStyling Localization
- iThemes Security
- Members
- Radio Buttons for Taxonomies
- Regenerate Thumbnails
- Require Featured Image
- WP Smush.it
All Plugins are up to date!
May it be a conflict with iThemes Security or Members? But why? And why does it just happen if a plugin for forum access is used?
This is like a closed book to me, as I am a designer and css-coder, but not a php-coder, which makes it realy hard…
June 24, 2014 at 6:01 am #148139In reply to: Forum subscription subscribes to all forums
Lumartist
ParticipantOkay, I just found out, that it was a plugin I was using for forum permissions – Tehnik BBPress Permissions. As soon as I activate it, the subscription doesn’t work correctly anymore. Might be a problem, as the plugin wasn’t updated a long time, and it is not an “official” one…
Guess I have to find an alternative to it. Any suggestions?
June 24, 2014 at 5:55 am #148138Stephen Edgar
KeymasterOnly create “BuddyPress Group Forums”, don’t create other bbPress forums and also make sure you have the BuddyPress Group Forums Root set in Settings -> bbPress (The last setting of that page)
June 24, 2014 at 5:43 am #148130In reply to: Forum subscription subscribes to all forums
Stephen Edgar
KeymasterI can’t reproduce this using bbPress 2.5.4, BuddyPress 2.01 and WordPress 3.9.1 with the Twenty Fourteen theme.
June 24, 2014 at 5:31 am #148129In reply to: Problem with permalinks after bbpress-update to 2.54
Stephen Edgar
KeymasterEverything here is working and is expected behaviour for bbPress.
You are correct replies no longer have a title, the slug of a reply is now the reply ID.
You would typically only notice this working in the backend by not seeing a reply title in the ‘edit reply’, yet when you look at the list of replies in the backend just like bbPress you will see all the replies have a title, this title is inherited from the topic title.
The key thing here is that when viewing a single reply on the front end it has no context without it’s parent topic. We also encourage the use of the vast majority of bbPress via the front end and not the backend, the backend is really only meant to be used if you cannot do something via the front end, we try to make everything work via both interfaces but due to other issues further upstream in WordPress Core we can’t replicate all the functionality we implement.
As you stated via @JJJ until WordPress 3.7 replies had to have a title, this imposed some limitations on what we could and could not do with replies, further to this change in bbPress there will be even further enhancements coming to bbPress, maybe 2.6, if not 2.7 due to this new found freedom and functionality we have with our replies.
As I continue reading the previous page I knew this was coming 😉
Why do I want this?
1. permalink without reply-title, but only with reply-ID is not good for search engines.Neither is duplicated content, previously if your topic URL was
/topic/topic-title, then your replies would be/reply/topic-title-1,/reply/topic-title-2etc, similar content but not the same content, now each reply has a unique URL.2. if I open a reply-post in the admin area, there is no title “reply to: …. (topic title) …” (the title bar is empty) and I do not know to which post this reply refers. This is not good for handling the forum in practice.
This is one of those things I just mentioned above, about working via the frontend vs the backend and until the updates upstream flow from WordPress Core this field will remain empty until we can actually hide it completely. You should be editing replies via the frontend, moderators and users all use the frontend to perform all the tasks required. I’m only a moderator here on bbPress.org and can perform any task bbPress needs just fine, it is the preferred experience as just because you can do something in the backend does not always mean you should.
Apologies that I only saw this this morning, crazy week last week.
June 24, 2014 at 3:28 am #148127Robin W
Moderatorok I looked and it would require a filter to re-write
bbp_get_reply_author_link
held in
bbpress/includes/replies/template.php
This is beyond the time I currently have available – sorry !
June 24, 2014 at 2:35 am #148125In reply to: Topics and Replies Not Showing Up
Robin W
ModeratorOk so sorry it looks like a theme issue.
I don’t thin k it will help, but just might, so try
June 24, 2014 at 2:31 am #148124In reply to: Not seeing forum sidebar
Robin W
Moderatorok, with the code in, try the following
Deactivate bbpress tweaks
Dashboard>plugins>bbpress tweaks>deactivateGo into widgets
Dashboard>appearance>widgetsAnd look at the bottom of the left hand side. You’ll see an “inactive sidebar”, with your entries on
Below this is an “inactive widgets”
Drag all the entries from the inactive sidebar to the inactive widgets area.
This then allows wordpress to delete the sidebar
I normally log out and in again at this stage – probably not needed, but I’ve never bothered to check
Then basically reverse the above
Re-enable bbpress tweaks
You see the bbpress sidebar returns
Drag the entries back from the inactive widgets area to the sidebarJune 24, 2014 at 1:24 am #148123Robkk
Moderatorkeep buddypress uninstall bbpress?
June 24, 2014 at 12:51 am #148122BlinkyBill01
ParticipantJust wanted to find out if there has been any change to bbPress in recent months that can help me with this issue?
Thanks.
June 23, 2014 at 3:21 pm #148120In reply to: Problem with permalinks after bbpress-update to 2.54
Morgensonne
Participant@ Robin: I am very grateful for your kind help and that you have taken so much time! Obviously bbpress now works differently with the reply-titles as until 2.5x. For me this is not really good, not very practical. But I also can not forever stuck at version 2.41. Tonight I will take a look at the simple-press forum.
@ Stephen Edgar: Thanks for your notice. It would be great if you knew a solution that bbpress the reply-titles handles again like up to version 2.41. Enjoy your morning coffee!
June 23, 2014 at 3:08 pm #148119In reply to: Capability needed for subscription notification
Stephen Edgar
KeymasterCan you create a ticket on Trac please and we can take a look.
June 23, 2014 at 2:58 pm #148118In reply to: Capability needed for subscription notification
roysmyth
ParticipantFor future consideration.
Please add two hooks in bbpress/includes/common/functions.php after lines 1105 and 1245 to filter the array of user ids.
Something like
$user_ids = apply_filters( ‘bbp_forum_subscription_mail_ids’, $user_ids );
and
$user_ids = apply_filters( ‘bbp_topic_subscription_mail_ids’, $user_ids );June 23, 2014 at 2:57 pm #148116In reply to: Topics and Replies Not Showing Up
charris25
ParticipantHey Robin, I tried disabling all plugins except for bbpress. it did not work.
June 23, 2014 at 1:56 pm #148112Robin W
Moderatorok, sounds like you have a conflict
try
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
June 23, 2014 at 8:33 am #148105In reply to: Per Forum Permissions by Group
Tom Dyer
Participant@robin-w Hi, I’m back! 😛 (and I haven’t forgotten about my promise to donate – I’m still waiting for my invoice to be paid!)
I’ve been testing this plugin, and although the updates seem to have improved a few things, I’m still having issues when trying to list topics.
If I look at http://www.mysite.com/topics as an administrator/keymaster, I can see all topics fine.
If I look at http://www.mysite.com/topics as any other user then I just get a white pageThis appears to be the same error as before, with the query timing out due to the large amount of topics it’s trying to check privileges for.
Is there a way to use the ‘Topics Per Page’ value from bbpress as the limit on the query? I understand this might screw up the pagination slightly, but I’d rather the page count was wrong than the topics listing being unavailable.I was looking into adding this myself, but I don’t know where I can pull the current page information from in order to set the query offset…
Do you think this would be a viable option to reduce the amount of work the database/php is doing each time?
*edit* Pagination would be an issue if I did the above wouldn’t it… Hmmmm [scratches head].
Would a JOIN sql statement be an option in order to do the matching of groups-to-users-to-topics bit while grabbing the topics, rather than grabbing all topics and then checking each one individually?
June 23, 2014 at 5:36 am #148099totorche
ParticipantThanks a lot !! Has been really userfull !
I also had a problem with the login form. When I used the login form, it always redirected me on the main page of the forum but always in the main language.
Te solve this problem, just modify another line in bbpress/includes/common/template.php on line 1181 :
On line 1181, replace:
$redirect_to = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];with:
$redirect_to = qtrans_convertURL(( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); -
AuthorSearch Results

