Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #206418

    My issue: Anonymous users, and subscribed users are unable to view full-width masonry pages (content element). I did not test other types of users. At first I thought it was a plugin issue. I disabled Permit Press, and Capabilities Manager (part of Permit Press). This did not solve my issue. I re-enabled the plugins, and gave subscribers rights to everything in Capabilities Manager, and removed permissions until I finally found the culprit. Since I am unable to edit Anonymous rights through Capabilities manager, I just worked with Subscriber capabilities. I enabled “Read Hidden Forums.” After I gave this permission to subscribers a subscriber could view a full width masonry page (or content element). Eventually I decided to disable bbpress. At this point anonymous users could view a full width masonry content element. After I disabled bbpress though, other things got messed up on the site. I’m not utilizing bbpress, but if I remember correctly bbpress comes with enfold theme. This makes me believe the theme kind of depends on bbpress for certain things. Also, i would like to utilize bbpress in the future. I don’t want it disabled.

    Is there anything that could be done so that full width masonry content elements are not being categorized as hidden forums, or do you have any suggestions or feedback?

    Thanks for taking the time to read this lengthy post. Any feedback or suggestions is greatly appreciated.

    Sincerely,

    tplagenz

    #206608

    Hey tplagenz!

    bbPress by itself is just a supported plugin. The theme doesn’t really use it for anything or need it. In fact it only really styles it and nothing else.

    I can’t think of why bbPress would have any impact on masonry galleries. What are you using to manager the user levels? Any membership plugin or anything like that?

    Cheers!
    Devin

    #208050

    Hey Devin,

    Thanks for the reply. I was using Permit Press to manage user levels. Whether I disabled or enabled Permit Press it made no difference with my issue. I am pretty sure Permit Press makes permanent changes even after you delete the plugin. I spent some time scrubbing my database, and user capabilities to see if it would fix the issue but came up empty handed. I decided to just remove bbpress for now, and address the issue in the future when I would like to implement forums. Considering how fast plugins come and go, and are updated my issue may just be resolved in time.

    Sincerely,

    tplagenz

    #208060

    If the plugin is coded correctly then it should have a set of steps when you uninstall it to remove anything stored on your server. That usually doesn’t get run on just deactivating it so you could try deleting it through the WordPress admin and see if that helps as well or just down the road when you re-approach the issue.

    #211000

    I have the similar issue…but will both masonry and grid content for blog (other format seems to work).

    When I unable the BBPress Forum plugin none of the enfold short code blog elements are displayed for visitors, but they work fine for registered users. Here is an example: http://visualwilderness.com/

    On this page there needs to be portfolio grid…and it is not there. When I deactivate the BBPress the Grid comes back.

    Update: You can recreate this issue when you create a Private Forum using BBPress. If all your forums are public everything works fine, but once you create a private forum the Blog Grid and Blog Masonry Layouts stop functioning for entire site.

    • This reply was modified 10 years, 9 months ago by Jay.
    #211007

    Hey!

    I see the grid fine on my end:

    Cheers!
    Devin

    #211010

    See my update:

    Update: You can recreate this issue when you create a Private Forum using BBPress. If all your forums are public everything works fine, but once you create a private forum the Blog Grid and Blog Masonry Layouts stop functioning for entire site for visitors. Registered users will not see any issues. The only way to restore this issue that I know of is to restore the BBPress or to make the forum all public again.

    • This reply was modified 10 years, 9 months ago by Jay.
    #211521

    I just did a test with bbPress 2.5.3 and the most recent version of the theme files with both a public forum and a forum set as private and wasn’t able to reproduce it.

    If you have any other plugins active try deactivating them and see if that helps.

    #211580

    Hey!

    Please insert following code into the functions.php file

    
    
    add_filter('avf_registered_post_type_array', 'avia_remove_bbpress_post_type_options', 10, 2);
    function avia_remove_bbpress_post_type_options($post_type_option, $args)
    {
        if(!empty($post_type_option))
        {
            foreach($post_type_option as $key => $post_type)
            {
                if($post_type == 'forum' || $post_type == 'topic' || $post_type == 'reply')
                {
                    unset($post_type_option[$key]);
                }
            }
        }
    
        return $post_type_option;
    }
    
    add_filter('avia_masonry_entries_query', 'avia_remove_bbpress_post_type_from_query', 10, 2);
    add_filter('avia_post_grid_query', 'avia_remove_bbpress_post_type_from_query', 10, 2);
    add_filter('avia_post_slide_query', 'avia_remove_bbpress_post_type_from_query', 10, 2);
    add_filter('avia_blog_post_query', 'avia_remove_bbpress_post_type_from_query', 10, 2);
    
    function avia_remove_bbpress_post_type_from_query($query, $params)
    {
        if(!empty($query['post_type']) && is_array($query['post_type']))
        {
            foreach($query['post_type'] as $key => $post_type)
            {
                if($post_type == 'forum' || $post_type == 'topic' || $post_type == 'reply')
                {
                    unset($query['post_type'][$key]);
                }
            }
        }
    
        return $query;
    }
    
    

    We’ll include this code in the next theme update.

    Cheers!
    Peter

    #211648

    Peter,

    Works great! Thanks.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘bbpress and full width masonry’ is closed to new replies.