Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 401 through 425 (of 3,784 total)
  • @robkk

    Moderator

    You can place this view shortcode into a page and just link to it anywhere.

    [bbp-single-view id='no-replies']

    More information on shortcodes.

    https://codex.bbpress.org/features/shortcodes/

    @robkk

    Moderator

    Use the hook <?php do_action( 'bbp_template_notices' ); ?> or even <?php do_action( 'bbp_theme_before_topic_form_notices' ); ?>

    And here is an example for a custom notice. You can of course add a list, but you would need to style it with some CSS.

    function rkk_add_notice_before_topic_form() {
        ?>
            <div class="bbp-template-notice important">
              <p>
                 <strong>IMPORTANT!:</strong> Make sure to read our site's <a href="http://yoursite.com/discussion-policy"> discussion policy</a> before you post.
              </p>
            </div>
        <?php
     }
     add_action( 'bbp_theme_before_topic_form_notices', 'rkk_add_notice_before_topic_form' );
    In reply to: Lock a thread

    @robkk

    Moderator

    @pahkiller read the closing topics section in this guide. It is for closing topics from any new replies, you can also read the rest of the guide about closing forums which will make participants unable to create new topics and replies in a forum.

    https://codex.bbpress.org/getting-started/forum-moderation/common-tasks/#closing-topics

    @robkk

    Moderator

    @robkk

    Moderator

    I would say maybe just place the default bbPress login widget instead of your themes custom one, or customize the widgets settings if it has an option to remove the modal login, or remove the deregister widget code that has possibly removed the default bbPress login widget.

    @robkk

    Moderator

    Contact your theme author since this is a custom made login widget.

    The issue is with the modal popup that should show up when you click the register or lost password link.

    @robkk

    Moderator

    @shadynicnack

    You are probably going to end up using this plugin, I do not really have much knowledge of setting it up for what you want though.

    https://wordpress.org/plugins/hyperdb/
    https://codex.wordpress.org/HyperDB

    @robkk

    Moderator

    @swstarone this could be bbPress theme compatibility/WordPress theme related issue, an seo plugin could possibly cause this, title tag updates in WordPress could cause this too.

    you can notice that there no username or nickname displaying on the page.

    This could be a bbPress theme compatibility issue/theme issue. The title could be outputted if the page is_single(), but the user profile pages do not do this.

    https://bbpress.trac.wordpress.org/ticket/2545

    This php code snippet could help with the issue though.

    function rkk_add_title_to_user() {
        ?>
            <h1 class="entry-title"><?php bbp_displayed_user_field( 'display_name' ); ?></h1>
        <?php
     }
     add_action( 'bbp_template_before_user_details', 'rkk_add_title_to_user' );

    @robkk

    Moderator

    Sorry for the late reply.

    If it is pending the only thing in bbPress’ code that can add posts into pending is when a post contains a word in the comment moderation input box in Settings > Discussion and like I said before some plugins could add their own blacklist and hook into this, so make sure you have some spam plugins while you are testing this.

    In the past there was a user that had to approve posts manually because a plugin at the root of the users server called “mojo marketplace” has a hidden blacklist inside of it that affected the posts.

    You may also want to remove the “http” and “wwww” in your blacklist as this may be affecting it too.

    In reply to: Editing “Reply To”

    @robkk

    Moderator

    Copy the default bbPress templates to a folder called bbpress in a child theme then you can edit the templates how you would like.

    The files you are looking for is form-anonymous.php and form-reply.php.

    Here is a guide that will explain this a little more.

    https://codex.bbpress.org/themes/theme-compatibility/

    @robkk

    Moderator

    @uschesch

    Are you using a free theme?? We could test to see if we can duplicate this issue.

    @robkk

    Moderator

    Go to Settings > Forums and disable the forum root prefix

    @robkk

    Moderator

    Use this custom CSS and add it to your child themes style.css file or in a custom css plugin.

    .the_champ_outer_login_container {
        float: left;
    }
    
    div.bbp-submit-wrapper {
        float: none;
    }

    @robkk

    Moderator

    @nicolasmahy

    Yeah the responsive styles in bbPress use .bbp-body which is having the issue here. But since you customized and removed the labels in the header of the forums you can try this custom CSS and see if it helps any.

    @media screen and (max-device-width: 480px) {
    #bbpress-forums div.bbp-forum-content, 
    #bbpress-forums div.bbp-topic-content, 
    #bbpress-forums div.bbp-reply-content {
        margin-left: 0px;
        padding: 12px;
    }
    
    #bbpress-forums div.bbp-forum-author,
    #bbpress-forums div.bbp-topic-author,
    #bbpress-forums div.bbp-reply-author {
        float: none;
        text-align: center;
        width: 100%;
    }
    
    #bbpress-forums div.bbp-forum-author a.bbp-author-name, 
    #bbpress-forums div.bbp-topic-author a.bbp-author-name, 
    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
        margin: 0;
        word-break: break-word;
        display: block;
    }
    }

    @robkk

    Moderator

    Were were the posts, where you had to approve them?? in Pending, Spam, or something else?

    @robkk

    Moderator

    @robin-w

    Link to his site is in the picture in the address bar.

    http://stushare.be/forums/topic/waar-doe-ik-het-best-erasmus/

    It seems that your CSS fixed the issue with the avatar in the title.

    @robkk

    Moderator

    @selenii

    Did the posts you had to approve have a link in it or w’s??

    In reply to: add a specific class

    @robkk

    Moderator

    You can also use this PHP function to add a class to the forum instead of doing it manually.

    function rkk_add_forum_classes( $classes ) {
     $classes[] = 'class';
     return $classes;
    }
    add_filter( 'bbp_get_forum_class','rkk_add_forum_classes' );

    Now I would like to change while loop_forums in index forums on loop-forums.php

    I do not know exactly what you are trying to do, but for just customizing it you can put the loop-forums.php file in a child theme in a folder called bbpress and then customize the file to your liking.

    https://codex.wordpress.org/Child_Themes

    @robkk

    Moderator

    @selenii

    1. Are you using the plugin bbPress moderation?? This plugin has a feature to confirm each topic or reply submitted by users.
    2. Do you have anything in your comment blacklist in Settings > Discussion?? bbPress uses this comment blacklist for its topics and replies and this could mark the posts as pending until approval.

    Sometimes plugins can add words to this comment blacklist, and sometimes a host can install a plugin that may have its own comment blacklist words that you may not be aware of is installed because it may be installed in the root of your site.

    Do these posts you are approving have any foul language?? Because that is usually the words in these comment blacklists.

    @robkk

    Moderator

    @nicolasmahy

    This happens when you have threaded replies enabled.
    https://bbpress.trac.wordpress.org/ticket/2823

    The issue is caused by some CSS for absolute positioning the avatar, and also includes this other issue.

    https://bbpress.trac.wordpress.org/ticket/2757

    @robkk

    Moderator

    Well you cannot modify the functions in the template.php by copying over the file like the file in the bbPress default theme, which is in wp-content\plugins\bbpress\templates\default

    To customize the code in template.php you would have to filter the code. Paste any new functions you create with the filters from the template.php file into a functions.php file in your child theme or in a custom functionality plugin.

    https://codex.wordpress.org/Function_Reference/add_filter

    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-5/

    @robkk

    Moderator

    Your theme looks to be using post meta to display the sidebars, so there might be custom fields to configure which sidebar to display which will most likely be on the default WordPress post types (page and post) when you create/edit them. These options may not be on the bbPress post type creation/editing screens in the WordPress backend.

    I see there is a ton of code that might not even be usable because bbPress post types may not have these custom field options to configure things like the slider, background color, and other options I can see in the code.

    I do see from the classes that this uses a responsive grid layout so maybe focus and keep this class as it is a two column layout, one for the content and one for the sidebar.

    two_columns_66_33 grid2 clearfix

    You may need to contact your theme author for further help on this.

    @robkk

    Moderator

    @stressebookllc

    When you tried the fix I listed, did the setup screen have an additional check next to the

    Turn on your blog from the blog settings.

    If it does that means there is some progress for the fix, and that all that needs to be done is to update the last option. If not, still out of other suggestions.

    @robkk

    Moderator

    You can install a plugin like WP Ulike and use that for rating posts.

    Then you can create a custom bbPress view using this function. Add this php code snippet into your child themes functions.php file or in a plugin that can hold custom code snippets like the functionality plugin.

    function rkk_register_custom_view() {
     	bbp_register_view( 'top-rated-topics', __( 'Top Rated Topics' ),  array( 'meta_key' => '_topicliked', 'orderby' => 'meta_value_num' , 'post_status' => 'publish' ), false );
     }
     add_action( 'bbp_register_views', 'rkk_register_custom_view' );

    Then paste this shortcode in a page called Top Rated Topics.

    [bbp-single-view id='top-rated-topics']

    @robkk

    Moderator

    This is the URL /forums/search/french+fries/ that is returning in the browser instead of the normal /?s=french+fries peram.

    The first url is normal for the bbPress forums search, in the second is normal for default WordPress search.

    https://bbpress.org/forums/search/French+Fries/

    In a plain permalink setup the forum search does look like this

    yoursite.com/forums/search/?action=bbp-search-request&bbp_search=french+fries

    What other themes have you tried and what are the currently active plugins you have right now??

Viewing 25 replies - 401 through 425 (of 3,784 total)