Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,451 through 9,475 (of 32,511 total)
  • Author
    Search Results
  • #158610
    Robin W
    Moderator

    something like

    function rew_max_shown ($args) {
    $args['max_num_pages'] = 2 ;
    return $args ;
    }
    
    add_filter ('bbp_before_has_topics_parse_args', 'rew_max_shown') ; 

    in your functions file

    Functions files and child themes – explained !

    Robkk
    Moderator

    use the shortcodes

    here is the one for the new topic form

    [bbp-topic-form]

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

    #158606
    Robkk
    Moderator

    give me your theme name

    I have tried using all of the bolded .php page options as well as copying the single.php into the bbpress plug in php page.

    to me this sounds like your not doing it right

    follow this guide

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    and this too

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

    it could also be a theme or plugin issue.

    It could be a theme or plugin issue

    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.

    #158603
    Robkk
    Moderator

    i think it might be content-single-user.php in the bbPress templates …im not sure how customizing this file will translate into the BuddyPress menus though.

    #158602
    Robkk
    Moderator

    when theme developers say their theme is “bbPress ready”

    it usually means they followed this guide https://codex.bbpress.org/theme-compatibility/

    Are there special features included in bbPress ready themes, if so what are the features called?

    There could showing post count below the author avatar but you can easily do that by installing Robins plugin https://wordpress.org/plugins/bbp-topic-count/.

    I have seen some themes have applied styling to some unread posts plugin , but really nothing too crazy that you cant get with free plugins and doing it manually without causing a hard time developing.

    #158601
    Robkk
    Moderator

    @jmeyer2485

    bbpress.org adds that background color around the forum name using this CSS code.

    #bbpress-forums p.bbp-topic-meta .bbp-topic-started-in a {
    background-color: #328C00;
    }

    of course you can only see it on super-sticky topics and also when your forum root is showing topics by freshness

    #158595
    WilRC
    Participant

    Any news on this?
    using several shortcodes breaks the paginationfunction! I have these shortcodes:

    [bbp-forum-index]
    [tabs type="horizontal"] [tabs_head] [tab_title]Recente Topics[/tab_title] [tab_title]Ongelezen Topics[/tab_title] [tab_title]Zoeken[/tab_title] [/tabs_head] [tab][bbp-topic-index][/tab] [tab][bbp-single-view id="no-replies"][/tab] [tab][bbp-search-form][/tab] [/tabs]

    Clicking on page2 gives a no resultpage!

    #158574

    In reply to: Sidebar Issue

    Robin W
    Moderator

    try

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

    come back if you need further help

    Robin W
    Moderator

    ok, I’ve looked ta the page

    your style.css has

    .row .col img {
        height: auto;
        margin-bottom: 15px;
        max-width: 100%;
        width: auto;
    }
    

    around line 1929

    The width: auto;
    is causing the issue, remove that and the image reverts to 14 – but around 30 looks good !

    adding

    margin-left: auto;
    margin-right: auto
    

    will also center the image

    so you end up with

    .row .col img {
        height: auto;
        margin-bottom: 15px;
        max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    }
    

    If just for bbpress then

    #bbpress-forums .row .col img {
        height: auto;
        margin-bottom: 15px;
        max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    }
    
    #158562
    Robin W
    Moderator

    ok, it’s your theme that’s causing the issue, some theme authors are too clever with their coding, and bbpress uses a category of archive, hence why it is displaying this sidebar. Also I suspect the theme won’t be allowing dynamic sidebars, hence why tweaks isn’t working.

    So onto plan b !

    install a plugin called ‘widget logic’

    https://wordpress.org/plugins/widget-logic/

    Then against each widget in your archive/post/search sidebar, you’ll see an extra field called widget logic

    If you want that widget only in bbpress forums put

    is_bbpress()
    

    in to that line

    if you don’t want that widget in bbpress, but do want it in other pages that use the archive/post/search sidebar the put

    !is_bbpress()
    

    in the widget logic area

    If you want in both, then leave widget logic blank.

    Robin W
    Moderator

    It does worry me a bit though, that if this is the end-all solution then we’re left relying on a small one-man plugin

    As author of 6 one-man plugins, I know that this can cause worry, but actually the large team plugins tend to get abandoned as often as team strategy goes in another direction, with no-one feeling ownership !

    But the code is open source, so someone else can pick it up, and with over 12,000 users, I suspect that this one would find a new developer.

    #158556
    BrendenW
    Participant

    Back at last! It was just the .php memory. When they ‘increased’ it, they just didn’t do a good enough job of it which was why I was still having problems. It’s now currently all back up and working. I have followed your directions re: deactivating, removing and then reactivating with no effect.

    I’m not sure if/what good any of this information might be to you but:
    * the page I have set for the forum is “default template” and the sidebar is set as “Default sidebar” BUT no matter which page template I select, nothing changes, even if I select full width template I am still shown as having a side bar. Further, despite it showing the default sidebar as being selected, it is actually a different sidebar (called archive/post/search sidebar) which is being displayed. This is the sidebar that displays for “Category”, but not for subcategories. I can’t however find anywhere outside of .php files that set the category sidebar. So I don’t know if there is perhaps code messing up in there somewhere.

    Also, should I be creating a bbPress.php file to add to the theme? I can do this, it’s a mess around as I have to get the website people to upload it for me, but if it’s going to help I can do that.

    Thanks for your help Robin, sorry for the delay, but at least we’re back in to it now!

    #158549
    supremor
    Participant

    I added the code to the style.css of the child theme and it didn’t work, the registration button is still too close to the email input box. And on FireFox the email text is to the left of the email input box instead of on top.

    mw360
    Participant

    Using Genesis – installed bbpress – and following the instructions I created an initial forum / topic and when I look at those specific pages everything looks fine, i.e. mysite.com/forums/forum/general-discussion. However, when I try to go to mysite.com/forums, all I see is this at the top (all just text, no links):

    Search for: Home › Forums Forum Topics Posts Freshness General Discussion General discussion about us 1 1 53 minutes ago Admin01 […]

    That’s it, a blob of text.

    To be sure, I did set up a Page, called it ‘Forums’, added it to the menu, applied the shortcode

    [bbp-forum-index]

    and published it. Also reset Permalinks (note, we’re using /%category%/%postname%/ there, so used option 2 in the setup – if that matters). Absolutely no effect.

    It seems odd that everything else runs and looks great except this one root page, and I don’t see any posts here that discuss this particular effect. Hoping someone else has seen this and can comment on it…??

    Thanks

    #158544
    Matthias
    Participant

    My bbpress forum text editor is different from the editor in this forum.
    1. When someone inserts a link, he can see all last blog posts below. How can I hide them?
    2. When someone inserts a link and does not know html he produces invisible links.
    <a href="url"></a>
    Is there a workaround to force users to click the link button for the close tag as here in the forum?

    Thanks
    Matthias

    #158524
    Matthias
    Participant

    Found the solution.
    You have to add this code to themes function.php to set up lead_topic

    function custom_bbp_show_lead_topic( $show_lead ) {
      $show_lead[] = 'true';
      return $show_lead;
    }
    
    add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
    #158517
    Robin W
    Moderator

    hmm…this is a buddypress issue I think

    see

    Group Settings and Roles

    Don’t think there is anyway to alter these.

    you could try

    https://wordpress.org/support/plugin/bbp-private-groups

    and see if you can integrate this into buddypress.

    #158504
    eVersatile
    Participant

    That’s what I’m trying to avoid. I don’t want to have to use the shortcode to call onto the id because it would have to be self generating when a new topic is created.

    Robin W
    Moderator

    ok, if you have ftp access then…

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original

    Then look at line 74

    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    

    The ‘size’ => 14 is the avatar size, so reduce this to what you want.

    #158489
    Robin W
    Moderator
    #158474
    Matthias
    Participant

    Hm, I’m trying to format the lead topic different different from the replies, but I even can not find ul.bbp-lead-topic im my source code.
    Did I miss something?

    Thanks
    Matthias

    #158467
    Robin W
    Moderator

    an ugly green background

    it was an example not a solution !

    If you want to get into this side you should learn about developer tools

    https://developer.chrome.com/devtools

    https://msdn.microsoft.com/en-gb/library/ie/gg589507(v=vs.85).aspx

    then you can quickly see what is being used.

    #158463
    –Q–Shadows
    Participant

    Hey,

    I meant adding a background similar to that we have here on bbpress.org forums (boxed up), the code u gave me just adds an ugly green background – http://imgur.com/ps2CL3l

    #158458

    In reply to: Oh Brother…

    markf1
    Participant

    Thank you Robkk,

    The bbPress is working perfectly in my child theme without having a bbPress.php file included in the theme at all, so I’m happy with it all now.

    I guess I mis understood the codex instructions or more likely was trying to make things more complicated than need be (i specialize in that).

    your reply helps me understand how it should be done. thanks!

    #158443

    Topic: Hide text from users

    in forum Plugins
    weirdman
    Participant

    is there any plugin that can hide a text within code ? li [hide] users shouldnt see this. only staff can see this. [/code]

    if there is any plugin or a way to do that pls help me out. thanks

Viewing 25 results - 9,451 through 9,475 (of 32,511 total)
Skip to toolbar