Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,651 through 8,675 (of 14,324 total)
  • @robin-w

    Moderator

    most functions return a variable, so filters need to also.

    these ‘before..parse args’ ones always need $args returned

    @robin-w

    Moderator

    ok, I was unaware of that, and it seems that it has been withdrawn as it is not on their website

    @robin-w

    Moderator

    Try this

    function cxr_subforum_filter($args) {
     $args = (array (
    'before' => '<tr>',
    'after' => '</tr>',
    'link_before' => '<td>',
    'link_after' => '</td>',
    'separator' => '<br>',
     ));
     return $args ;
     }
    add_filter( 'bbp_before_list_forums_parse_args', 'cxr_subforum_filter' );

    @robin-w

    Moderator

    As far as I know there is only a wordpress version

    @robin-w

    Moderator

    This is a known bug

    add this to your functions file

    // Blocked users should NOT get an email to subscribed topics
    function bbptoolkit_fltr_get_forum_subscribers( $user_ids ) {
            if (!empty( $user_ids ) ) {
                    $new_user_ids = array();
                    foreach ($user_ids as $uid) {
                            if (bbp_get_user_role($uid) != 'bbp_blocked') {
                                    $new_user_ids[] = $uid;
                            }
                    }
                    return $new_user_ids;
            } else {
                    return $user_ids;
            } 
    }; 
    // add the filter 
    add_filter( 'bbp_forum_subscription_user_ids', 'bbptoolkit_fltr_get_forum_subscribers', 10, 1 );

    @robin-w

    Moderator

    ok, the following assumes you know how to use FTP, if not come back

    You need to find

    wp-content/themes/salient/page-sidebar.php

    copy this and rename it to

    wp-content/themes/salient/bbpress.php

    so that you end up with both ie

    wp-content/themes/salient/page-sidebar.php
    wp-content/themes/salient/bbpress.php

    bbpress will now use this for all forums, so you should see a sidebar on all forum pages

    then see which sidebar is appearing, and we can amend it if needed.

    We do need to talk about child themes at a later stage

    @robin-w

    Moderator

    ok, do you want the sidebar on the left or right?

    @robin-w

    Moderator

    ok, come back and let us know

    @robin-w

    Moderator

    ok, so you need to define it down to server or client

    If you log in as test – it works – yes?
    If so log in as him and see if that works.

    If it does then it is his PC

    If it doesn’t then it is server.

    @robin-w

    Moderator

    bbpress will use your wordpress theme. If you want to style and add features use

    bbp style pack

    @robin-w

    Moderator

    ok quick questions –

    1. are you getting any sidebar at the moment,

    2. and is the presence/absence consistent on all forum pages?

    @robin-w

    Moderator

    ok, the issue is I suspect with the moderation tools plugin.

    I haven’t opened that one up to see what it does, and I see you have posted the issue on their support forum to see if they can help.

    suspect it would be beyond free help to look at issues between the two. If you like contact me via http://www.rewweb.co.uk

    @robin-w

    Moderator

    what plugins other than bbpress are you using?

    @robin-w

    Moderator

    I’d suspect issues with the quotation – different systems seem to alter these – try making them consistent – this might work

    function cxr_subforum_filter() {
     bbp_list_forums(array (
    'before' => '<tr>',
    'after' => '</tr>',
    'link_before' => '<td>',
    'link_after' => '</td>',
    'separator' => '<br>',
     ));
     }
    add_filter( 'bbp_before_list_forums_parse_args', 'cxr_subforum_filter' );

    If it doesn’t then come back and I’ll take a deeper look, midnight here and on way to bed !

    In reply to: Support Forum Right?

    @robin-w

    Moderator

    or is this not a support forum for BBpress users

    yes this is, but you misunderstand how open source software works

    People write open source software in their own time and offer it for free. Under the open software foundation the software is offered without any warranty or support. You use it if you like and not if you don’t. It is perhaps a bit much to expect software authors to answer every question someone might have about that software, or indeed having offered that software to the world for free, that they should invest any time to this unless they wish to.

    If someone gave you a car for free, would you complain because they don’t come and service it for you?

    I am not a bbpress author, I’m just a guy who uses this software, and in turn spends some of my time in trying to help others.

    I have seen your questions, and there are many reasons why it might not work.

    The most obvious are in https://bbpress.org/forums/topic/before-posting/ and in particular the troubleshooting section on plugins and themes will probably get you to a root cause.

    Once you have worked through those, do come back.

    @robin-w

    Moderator

    yes the template files would be useful.

    contact me via my website

    http://www.rewweb.co.uk

    @robin-w

    Moderator

    suggest you pose the question to their support team, as a paid theme I of course can’t see it.

    @robin-w

    Moderator

    no Problem !

    @robin-w

    Moderator

    start with

    dashboard>settings>forums>forum user settings has a parameter

    Disallow editing after xx minutes

    see what that is set to

    @robin-w

    Moderator

    sidebars are a nightmare since theme developers went away from the wordpress tradition of having standard files for each page type.

    Many now just have a page.php file, which frequently calls functions and stops any easy solution to the problem of getting a bbpress sidebar.

    So let’s start with what theme are you using?

    @robin-w

    Moderator

    I’ve now incorporated the code above into my bbp style pack

    bbp style pack

    dashboard>settings>bbp stylepack>forum order

    @robin-w

    Moderator

    I’ve now incorporated the code above into my bbp style pack

    bbp style pack

    dashboard>settings>bbp stylepack>forum order

    @robin-w

    Moderator

    Issue resolved.

    Usernames had ‘ Disable the visual editor when writing’ switched off in profile

    I’ve now incorporated the code above into my bbp style pack

    bbp style pack

    dashboard>settings>bbp stylepack>topic/reply form item 9

    @robin-w

    Moderator

    ok, you’ll need to amend wp-content/plugins/bbpress/templates/default/bbpress/form-user-register.php

    so
    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/form-user-register.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/form-user-register.php
    bbPress will now use this template instead of the original
    and you can amend this

    @robin-w

    Moderator

    contact me via the contact on

    http://www.rewweb.co.uk

Viewing 25 replies - 8,651 through 8,675 (of 14,324 total)