Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 4,276 through 4,300 (of 11,589 total)
  • Author
    Search Results
  • #152084
    wp_maybe
    Participant

    Why, this is fabulous! Thank you so much for your help!!

    I tested with your modified code for about an hour, and can’t seem to find any issues. I will post an update in case I do discover any problems…

    But this does appear to be the solution to searching single bbpress forums, including private ones in Buddypress. Thanks to you, @tobyhawkins! 🙂

    #152081

    In reply to: Page not found 404

    Robin W
    Moderator

    @stg – then it is probably a plugin conflict.

    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, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    #152071
    Toby
    Participant

    Yes. That’s not ideal. I think the problem is the bbp_pre_get_posts_normalize_forum_visibility function in bbpress > includes > forums > functions.php.

    I’m not going to vouch for the security of this (although I think the logic is ok and cursory testing seems to bear this out) but you can get round this by changing your my_bbp_filter_search_results function to the following:

    function my_bbp_filter_search_results( $r ){
    
        //Get the submitted forum ID (added in gethub > bbpress > form-search.php)
        $forum_id = sanitize_title_for_query( $_GET['bbp_search_forum_id'] );
     
        //If the forum ID exits, filter the query
        if( $forum_id && is_numeric( $forum_id ) ){
     
            $r['meta_query'] = array(
                array(
                    'key' => '_bbp_forum_id',
                    'value' => $forum_id,
                    'compare' => '=',
                )
            );
    	    
            $group_id = bbp_get_forum_group_ids( $forum_id );
            if( groups_is_user_member( bp_loggedin_user_id(), $group_id[0] ) )
            {
                function my_allow_all_forums () { return true; }
                add_filter( 'bbp_include_all_forums', 'my_allow_all_forums' );
            }
        }
     
        return $r;
    }
    add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );

    To negate the danger of plugins forgetting to manage permissions for posts properly the normalize function visibility automatically steps in on any WP_Query activity and shuts it down, but apparently doesn’t account for the possibility of forums being private, but viewable by low level users within the group context. By adding the filter only when searching on a single forum and then only if the logged-in user is a member of the correct group I think I have accounted for the security issues, but I’m not enough of a php expert to be 100% confident that I haven’t missed something.

    #152059
    johnjack
    Participant

    Sorry, had already tested without any plugins activated and the issue still persisted.

    I have deactivated all the plugins again for you.
    Still getting same bahavior

    #152056
    Stephen Edgar
    Keymaster

    I still see plugins enabled, the issue cannot be reproduced with only WordPress 4.0 and bbPress 2.5.4, thus in every instance thus far this issue has occurred it has been a plugin conflict, we need to find this conflict to work out where to from here.

    It should take only a few minutes to test this as I outlined in my original reply above.

    #152025
    CardiffDesigns
    Participant

    Hey guys,

    I’m currently in the process of migrating from phpBB over to bbPress and I could use a little help.

    I was wondering if you guys could help me out…

    I would only like to have 1 Forum on my website instead of the 3 that I currently have and I would like people to be taken to this forum when they visit the root URL of http://www.mmabettingtips.com/forums/

    For example I would like to just have “General Discussion” as the main root forum, instead of having the option to visit various different forums.

    Right now I can’t work out how to do that and I can only show either a set number of the latest posts or the top level forums that are displayed at the moment:

    http://www.mmabettingtips.com/forums/

    Is there a way to set bbPress up, so that it is just one forum?

    I doubt there will be a need to expand the forum in the future, so this won’t be a problem.

    If you guys could let me know, I’d really appreciate it!

    Thanks a lot!

    #151982
    pooledge
    Participant

    Thank you but nope. Still no luck. See eg. http://pupyshevo.hol.es/forums/forum/11/
    Maybe some debugging? You can use my credentials on this test site, would be glad to help! Let me know and thanks again for proper support!

    Oleg

    PS: flushed permalinks with default and then with postname. Also reactivated both bbPress and the plugin. Still believe it isn’t really plugin’s fault, but me doing smth wrong…

    #151976
    felix_nong
    Participant

    Currently if I access the user’s profile of bbpress (ex: http://example.com/forums/users/admin/) then it’ll list the profile, topics started, replies started….) from the viewing user.

    Is there a shortcode that allow me to display forum user’s profile by user’s id from anywhere besides original bbpress url( ex: http://example.com/test/ )?

    #151969
    Nicolas Korobochkin
    Participant

    I found the bug in plugin with some validates. Never liked if ($var) constructions. if ($var !== false && $var !== '') better to understand 🙂

    Just replace content of plugin.php in plugin folder:
    https://github.com/korobochkin/bbPress-permalinks-with-id/blob/master/plugin/plugin.php

    Tested on brand new WordPress install only with bbPress and my plugin with default theme – works as… haha.

    #151948
    Nicolas Korobochkin
    Participant

    Oh. So without my plugin your forum work? And you use latest version from Git or not?

    #151947
    Yolle
    Participant

    Hi!
    Embedding Youtube video worked fine on my site until 1-2 days ago.
    I was using Smart Youtube Pro plugin and lately alongside that also the WP Youtube Lyte, since some subscribers reported problem with youtube video when viewing my site via iPad.
    SO, everything worked ok, on my blog posts/pages/comments as well as within bbpress forums. In forums, videos were embedded either with http:// or https:// link, all worked ok. On the rest of the site (post/pages/comments) they were embedded either via httpv:// (Smart Youtube Pro and WP Youtube Lyte requirement, well, it became optional now) or normally (http(s)://)
    Now, “all of a sudden” some of the videos are not embedded in forum topics. And in no particular pattern that is: some https videos are embedded, some not, some http:// are embedded, some not.
    I recently upgraded to WP 4.0. but a few days ago I downgraded to 3.9.2. due to problems with bbpress and s2member (see topic)
    So… Does anyone have a clue what is going on? I should probably make a developer page and then test plugins one by one to see which one is causing the problem? An easier way perhaps?

    Robin W
    Moderator

    Great response form S2member team !

    I’m just a humble user not a dev, but hopefully netweb or JJJ will be in contact with the S2 guys.

    For those that have been bitten by this, I know how painful it is, in the early days I just upgraded plugins and wordpress in the belief that they would work until one day my site broke, and I was in panic for 8 hours when I had least time to fix it.

    When WordPress announced auto upgrade, I was very suspicious that anyone could release software confident that it would not screw up any of the several thousand plugins based on how it worked!

    So the following for those bitten, and others who do not want to be bitten going forward !

    If you are not happy for your site to be down for 24+ hours then :

    1. Turn off wordpress auto update !
    2. Create a test site https://codex.bbpress.org/creating-a-test-site/
    yes that takes time, but the comfort of not doing stuff live is fantastic !
    3. Don’t do upgrades of wordpress/plugins for the first week (UNLESS they are deemed critical), let others find the faults – yes I know that is bad to say, and if no one upgraded we’d never make progress, and I write plugins that I need people to upgrade to, etc. etc., but many people’s site’s aren’t critical, and if your is, don’t be leading the charge !
    4. Check the support forum for the upgrade
    for wordpress https://wordpress.org/support/forum/how-to-and-troubleshooting
    or your plugins support page
    you’ll soon find out if there are issues
    5. Upgrade your test site first, the spend some time checking all the critical bits
    6. When you’re happy that your test site works, then make the move in live

    I really feel for those who have been sent into panic, but maybe the above will help for next time

    Robin W
    Moderator

    @rafaeldejongh I think you need to create a test site :

    https://codex.bbpress.org/creating-a-test-site/

    This will let you work out what’s woring in comfort !

    Hugo Ashmore
    Participant

    @jwhammond20 Sorry but unable to replicate further issues, the fixes above although not deeply tested and the root cause still not really grasped I can see all lead posts in a thread and their replies whether thread is normal or sticky – however you did state you were not using S2 member this workaround is / can only be tested against S2 from my end. I suspect the root cause is slightly deeper and my workaround is just that not a resolution.

    pazzaglia
    Participant

    I’m having the same problem since upgrading BUT I don’t have s2Member AND I have the search option disabled.

    I had the following bbpress-affecting plug-ins enabled (all latest versions):
    -bbPress Custom Topic & Reply Notifications 1.4
    -bbPress Moderation 1.8.3
    -bbPress Stay Checked 1.0
    -GD bbPress Attachments 2.1

    Also, I had a custom Topic Page.

    I disabled all of the bbs-affecting plug-ins and removed the custom page from my child theme but the topic still won’t show up!!!

    So, I re-installed bbpress.

    Nada.

    I’m going to try the suggested php fix and if that doesn’t work will down-grade until there is a solution!

    Ciao,

    L

    Stephen Edgar
    Keymaster

    Per the reply @jaswsinc made on the first page, S2Member have created an issue to track this, so subscribe to that issue on GitHub and if you can help them track down the issue with testing, feedback, or reproduction steps to recreate the issue no doubt that will help get things fixed sooner 🙂

    https://github.com/websharks/s2member/issues/321

    Editor Mike
    Participant

    Hi.

    I am using S2.
    I am not using either of those plug ins.

    Here is a forum post that illustrates the issue:

    http://www.thewargameswebsite.com/forums/topic/missing-posts/

    All pre and post WP4.0 first posts in topics are missing, we have implemented a temporary fix but the problem clearly lies in whatever the update has done.
    It is noted that turning S2 off will solve the problem, this is not an option for us.
    That suggests to me that S2 does not work with the latest version of Wpress.

    Desperately need help as this will be affecting my income..

    🙁

    #151885
    fakeologist
    Participant

    Using with 4.0 and theme 2012 and bb 2.5.4.

    This latest version 254 caused the recent replies widget to not display, and cause any subsequent widgets to not display as well.

    Kona Macphee
    Participant

    Yes, I have the same problem as Tyler with Relevanssi (including the latest version), and I’m not running Search Exclude.

    #151847
    ccardin
    Participant

    Hi,

    I’m using WP 4.0, latest update on BBPRESS.

    I havent change the theme.

    And text from the subjects don’t show anymore !!!

    Please help 🙂

    Nouvelle intéressante !

    FOR ALL FORUM

    Also, if I ask BBPRESS to “Recount”, it says that I don’t have right to do it…

    OVER 20000 treads that don’t show… please…

    🙂

    #151842
    StargateCarterPack
    Participant

    Hey there everyone,

    I’ve just registered to post this problem I’m currently experiencing which happens with the latest update of WordPress.

    The boards all work however the threads and the post in the frontend are all gone, they’re actually still present in the backend of the wp-admin but on the actual site they can’t be seen anymore.

    This only happened after the latest wordpress 4.0 update so I’m sure it has something to do with that.

    Here is a link to my website: http://sg-carterpack.com/forum/

    Thanks in advance for anyone who can assist me with fixing this as I sadly did not make a backup and the forum is our sites main focus so it’s really important for me to get this fixed asap!

    MODERATOR EDIT: Here is a copy of your content from your other post below

    I’ve already seen a couple threads but without much avail, I’m not running any plugins mentioned in that thread yet I still experience the problem after updating to WordPress 4.0

    I’ve already reverted my wordpress installation as I can’t really put the forum out for more than a day, I’m running the following plugins on my site:

    Adminimize
    AdSense Click-Fraud Monitoring Plugin
    amr shortcode any widget
    BAW Login/Logout menu
    bbPress
    bbPress Custom CSS File
    BulletProof Security
    GD bbPress Tools
    Google Adsense Dashboard
    Google Analytics Dashboard for WP
    Inactive User Deleter
    Limit Login Attempts
    Theme My Login
    WP User Avatar

    Does anyone know what plugin could be causing the problem if this isn’t a problem with BBpress?

    #151821
    CanOaBG
    Participant

    Thank you , will test this.

    #151820
    donalyza
    Participant

    I was trying to follow the step by step guide to bbpress forum – part 3

    I copied the the function below and add it on line 9 of loop-single-forum.php file.

    function remove_counts() {
    $args['show_topic_count'] = false;
    $args['show_reply_count'] = false;
    $args['count_sep'] = '';
    return $args;
    }
    add_filter('bbp_before_list_forums_parse_args', 'remove_counts' );

    Then I ran my forum site and got this error.. I’m doing this locally to test.

    Fatal error: Cannot redeclare remove_counts() (previously declared in C:\wamp\www\wp\wp-content\themes\twentytwelve-child\bbpress\loop-single-forum.php:9) in C:\wamp\www\wp\wp-content\themes\twentytwelve-child\bbpress\loop-single-forum.php on line 14

    #151818

    In reply to: current in forum root

    Robkk
    Moderator

    ok i havent really messed with breadcrumbs that much i usually remove them but there suppose to show home > forums > forums i think from what i just tested on my localhost.

    since it shows the root anyway if you are already on the forum archive.

    but i did end up removing one of the forums link this weird way

    ok i dont know for sure what i did because i was basically just fiddling around so here are all of what i did

    i had this in my functions php in my own thematic child theme.

    function mycustom_breadcrumb_options() {
        // Home - default = true
        $args['include_home']    = false;
        // Forum root - default = true
        $args['include_root']    = true;
        // Current - default = true
        $args['include_current'] = true;
     
        return $args;
    }
     
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options');
    
    add_filter( 'bbp_get_breadcrumb', 'change_breadcrumb_text' );
    
    Function change_breadcrumb_text ($trail) {
    $trail = str_replace ('No Labels Community Forum','N L C F',$trail) ;
    return $trail ;
    }

    then i removed the add_filter line for the mycustom_breadcrumb function
    so i have this now.

    function mycustom_breadcrumb_options() {
        // Home - default = true
        $args['include_home']    = false;
        // Forum root - default = true
        $args['include_root']    = true;
        // Current - default = true
        $args['include_current'] = true;
     
        return $args;
    }
    
    add_filter( 'bbp_get_breadcrumb', 'change_breadcrumb_text' );
    
    Function change_breadcrumb_text ($trail) {
    $trail = str_replace ('No Labels Community Forum','N L C F',$trail) ;
    return $trail ;
    }

    this removed one of the NLCF links in the breadcrumbs.

    i even removed the my custom breadcrumbs function and its still only shows one NLCF link…

    its weird :/

    #151808
    sonarman
    Participant

    I have bbPress installed and the register screens set up and displaying correctly. I have WP SMTP installed and pointing to my hostmonster mail server. It tests fine. When a new member registers I get a notification that a new user has registered and I know this is going through the SMTP server because of the headers in the email. The password email is not being received. I don’t believe the password is actually being sent for reasons I don’t understand. I have the latest versions of WordPress and bbPress. I think it is a bbPress problem not a SMTP problem.

Viewing 25 results - 4,276 through 4,300 (of 11,589 total)
Skip to toolbar