Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,976 through 20,000 (of 64,534 total)
  • Author
    Search Results
  • jtabrams
    Participant

    The 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>
    #148158
    Morgensonne
    Participant

    Hi 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

    #148155
    Lumartist
    Participant

    Sure. 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”.

    Forum view

    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.

    Profile view

    Not sure if this helps you. I can make new screens with another theme, if you want to.

    Robin W
    Moderator

    It 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.

    Robin W
    Moderator

    ok, 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?

    #148150
    Lumartist
    Participant

    That 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!

    jtabrams
    Participant

    Hi 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…

    #148145
    Robin W
    Moderator

    It 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.

    #148142
    Lumartist
    Participant

    Okay, 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…

    #148139
    Lumartist
    Participant

    Okay, 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?

    Stephen Edgar
    Keymaster

    Only 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)

    #148130
    Stephen Edgar
    Keymaster

    I can’t reproduce this using bbPress 2.5.4, BuddyPress 2.01 and WordPress 3.9.1 with the Twenty Fourteen theme.

    #148129
    Stephen Edgar
    Keymaster

    Everything 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-2 etc, 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.

    Robin W
    Moderator

    ok 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 !

    #148125
    Robin W
    Moderator

    Ok so sorry it looks like a theme issue.

    I don’t thin k it will help, but just might, so try

    Step by step guide to setting up a bbPress forum – Part 1

    #148124
    Robin W
    Moderator

    ok, with the code in, try the following

    Deactivate bbpress tweaks
    Dashboard>plugins>bbpress tweaks>deactivate

    Go into widgets
    Dashboard>appearance>widgets

    And 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 sidebar

    Robkk
    Moderator

    keep buddypress uninstall bbpress?

    BlinkyBill01
    Participant

    Just wanted to find out if there has been any change to bbPress in recent months that can help me with this issue?

    Thanks.

    #148120
    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!

    #148119
    Stephen Edgar
    Keymaster

    Can you create a ticket on Trac please and we can take a look.

    https://bbpress.trac.wordpress.org

    #148118
    roysmyth
    Participant

    For 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 );

    #148116
    charris25
    Participant

    Hey Robin, I tried disabling all plugins except for bbpress. it did not work.

    Robin W
    Moderator

    ok, 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.

    #148105
    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 page

    This 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?

    #148099
    totorche
    Participant

    Thanks 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']);

Viewing 25 results - 19,976 through 20,000 (of 64,534 total)
Skip to toolbar