Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Forum Boxes – See Inside for Screenshot

  • @alice-kaye

    Participant

    Hi guys!

    I was wondering if it was possible to remove the info boxes from within forums. One of which announces how many topics have been created recently, with an avatar, and the other says “You can use BBCodes to format your content,” etc. etc, though that may be something from a plugin (for all I know).

    Example: http://screencast.com/t/zo2nX63Q

    Any help, especially on the blue box at the top, is so, so appreciated! Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • @alice-kaye

    Participant

    Follow up, is there also a way to make this avatar smaller?
    Example: http://screencast.com/t/zYGIBeLu

    @alice-kaye

    Participant

    Figured out the avatar issue itself.

    Basically used the following code (though this may not work for everyone – not sure if it’s based on theme):

    #bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar {
    border: none;
    max-width: 100%;
    padding: 0;
    margin: 12px auto 0 auto;
    float: none;
    }
    
    #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar {
    float: none;
    margin-bottom: -7px;
    border: 3px double #ddd;
    width: 15px;
    height: 15px;
    }

    @robkk

    Moderator

    the bbcodes notice i think you can turn that off in the plugin your using, i think its gd bbpress tools.

    you can remove the unrestricted html notice with some CSS if you want its only displayed to Admins/Keymasters only, so its not that big of a deal.

    you can use this PHP code to remove the notice above the topics/forums

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    function ja_return_blank() {
        return '';
    }

    @alice-kaye

    Participant

    Thanks @Robkk! You’re right, I do have GD Tools and such in there, so I’ll take a look.

    I actually managed to get the avatars all hooked up. Took a bit of doing, but they’re definitely working now, yay!

    @alice-kaye

    Participant

    Hey @Robkk,

    That code worked well, with one exception, now the top bar with Topic, Post, Freshness, etc. those have become links, oddly.

    Example: http://screencast.com/t/uDncP5v4

    Any idea?

    I used your code:

    /* Forum Description Removal Begin */
    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    function ja_return_blank() {
        return '';
    }
    /* Forum Description Removal End */

    @robkk

    Moderator

    @alice-kaye

    i dont know what could have caused that

    you can also hide it with CSS

    .bbp-forum-description,
    .bbp-topic-description {
    display:none;
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar