Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,851 through 7,875 (of 13,540 total)
  • In reply to: Feature requests

    Robin W
    Moderator

    @robin-w

    where do you want that to put something – I presume in the content of a topic/reply? and what doe that shortcode do ?


    Robin W
    Moderator

    @robin-w

    if you have a public site and a link to an example, I’ll see if I can find anything obvious


    Robin W
    Moderator

    @robin-w

    wasn’t meant to be abrupt, just a statement 🙂


    Robin W
    Moderator

    @robin-w

    all sites need a staging site !!


    Robin W
    Moderator

    @robin-w

    In basic bbpress, if you subscribe to a forum, then you should receive an email when a new topic is posted. If you subsequently subscribe to that topic, you should receive emails when a reply is posted.

    As for the symbols, since you’re using the buddyboss theme, then I suspect that this is part of that, and as a paid product, you should check the documentation and/or raise a support ticket with them.

    In reply to: Feature requests

    Robin W
    Moderator

    @robin-w

    thanks for the post

    bbpress includes a version of the wordpress ‘after..parse_args’ which will let you do this so for

    •File …/wp-content/plugins/bbpress/includes/common/template.php line 1735:
    change ‘tinymce’ => false, into ‘tinymce’ => true,
    •File …/wp-content/plugins/bbpress/includes/common/template.php line 1736:
    change ‘teeny’ => true, into ‘teeny’ => false,

    you could put this code into a functions file or plugin

    //editor bbpress
    function rew_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'rew_enable_visual_editor' );

    and the ability to filter functions so for

    •File …/wp-content/plugins/bbpress/includes/common/template.php line 1858:
    Remove array_push( $buttons, ‘image’ ); to remove the ‘standard’ image insert button that asks for a full url to an image, since we are replacing this by the [photo] shortcode generator.

    use this code in your functions file or plugin

    function rew_remove_image_button ($buttons) {
    	if (($key = array_search('image', $buttons)) !== false) {
    		unset($buttons[$key]);
    	}
    return $buttons ;
    }
    
    add_filter( 'bbp_get_teeny_mce_buttons', 'rew_remove_image_button' );

    The you don’t need to alter bbpress files

    Let me know if I can help further

    In reply to: 404 user profile

    Robin W
    Moderator

    @robin-w

    hmm, apart from the standard elimination tests below, I can’t think of anything obvious

    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 twentyfifteen, and see if this fixes.


    Robin W
    Moderator

    @robin-w

    oh, and since you have changed from http to https – I don’t think it will make a difference but try resetting permalinks – just grasping at straws here !

    dashboard>settings>permalinks and just click save

    In reply to: 404 user profile

    Robin W
    Moderator

    @robin-w

    ok try resetting the permalinks as a first step

    dashboard>settings>permalinks and just click save


    Robin W
    Moderator

    @robin-w

    can only suggest that you delete the user and reset them up – you could spend hours trying to tresolve it !


    Robin W
    Moderator

    @robin-w

    and both definitely have editor set in

    dashboard>user<all users>edit user>personal options>disable the visual editor when writing


    Robin W
    Moderator

    @robin-w

    I am not aware of how to do this


    Robin W
    Moderator

    @robin-w

    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 twentyfifteen, and see if this fixes.

    Then come back


    Robin W
    Moderator

    @robin-w

    ok, put it into the child theme and remove form the parent theme – that way it doesn’t get lost on updates

    so you have a bbpress specific sidebar as per

    Layout and functionality – Examples you can use


    yes ?

    If so then in your new bbpress.php replace

    line 49 ish

    <?php get_sidebar(); ?>

    with

    <?php dynamic_sidebar( 'bbp-sidebar'); ?>


    Robin W
    Moderator

    @robin-w

    ok, much of this will be your theme or standard bbpress

    add this plugin and use it to style

    bbp style pack

    on registration, bbpress uses wordpress registration, so looks like that needs troubleshooting


    Robin W
    Moderator

    @robin-w

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

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


    Robin W
    Moderator

    @robin-w

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


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    As far as I know there is only a wordpress version


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

    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

    @robin-w

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


    Robin W
    Moderator

    @robin-w

    ok, come back and let us know


    Robin W
    Moderator

    @robin-w

    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

    @robin-w

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

    bbp style pack

Viewing 25 replies - 7,851 through 7,875 (of 13,540 total)