Robin W (@robin-w)

Forum Replies Created

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

    Moderator

    hmm… agree – any chance of taking a look

    contact me via my website if needed

    http://www.rewweb.co.uk

    @robin-w

    Moderator

    if you look at the black banner at the top with the menu, you can see text scroll behind it. bbpress thinks it is displaying the start of the reply at the top of the screen, but actually it is behind the banner

    @robin-w

    Moderator

    Just had a quick look in between other tasks, and totally untested, but this should work if it has no bugs

    function dsk_remove_all_subscriptions ($user_id) {
    	global $wpdb;
    	//first remove forum subscriptions
    	$forum=bbp_get_forum_post_type() ;
    	$forum_ids=$wpdb->get_col("select ID from $wpdb->posts where post_type = '$forum'") ;
    	foreach ($forum_ids as $forum_id) {
    		bbp_remove_user_forum_subscription( $user_id, $forum_id ) ;	
    	}
    	//then remove topic subscriptions
    	$topic=bbp_get_topic_post_type() ;
    	$topic_ids=$wpdb->get_col("select ID from $wpdb->posts where post_type = '$topic'") ;
    	foreach ($topic_ids as $topic_id) {
    		bbp_remove_user_topic_subscription( $user_id, $topic_id );
    	}
    }

    If you get it working, then please confirm or post back the final code.

    If you need further help do come back and I’ll see if I can help further

    @robin-w

    Moderator

    yes it seems this question has been asked before and I can’t see that anyone has written such a function.

    It is quite do-able, and I’ll see how easy it is to achieve

    @robin-w

    Moderator

    very strange…not sure I’m going to be much use – I think you into lots of try this/try that testing

    Hope you figure it out, and if you do, please post the solution here – that will help others who google it as a question later !

    @robin-w

    Moderator

    the forums link seems to be

    /forums/forum/forum which is a bit weird.

    so can you confirm that you have a page called ‘forums’ with a permalink of ‘forums’ and the shortcode
    [bbp-forum-index] in it?

    In reply to: Feature requests

    @robin-w

    Moderator

    from a read through all looks ok except

    add_filter( 'bbp_get_teeny_mce_buttons', 'rew_remove_image_button_in_bbpress' );

    should read

    add_filter( 'bbp_get_teeny_mce_buttons', 'wppa_remove_image_button_in_bbpress' );

    In reply to: Feature requests

    @robin-w

    Moderator

    From a read through looks ok to me, but just change

    add_filter( ‘bbp_get_teeny_mce_buttons’, ‘rew_remove_image_button_in_bbpress’) ;

    to

    add_filter( ‘bbp_get_teeny_mce_buttons’, ‘wppa_remove_image_button_in_bbpress’) ;

    to run your amended function

    @robin-w

    Moderator

    which method in part 3 are you doing?

    @robin-w

    Moderator

    pretty sure it’s theme related – and in particular that text is allowed to scroll behind the menu, so when you click to a reply, the start point is hidden behind the menu.

    Beyond help on here I’m afraid – sorry but only so much I can do without needing to spend hours on it.

    In reply to: Feature requests

    @robin-w

    Moderator

    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

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

    @robin-w

    Moderator

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

    @robin-w

    Moderator

    all sites need a staging site !!

    @robin-w

    Moderator

    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

    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

    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

    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

    ok try resetting the permalinks as a first step

    dashboard>settings>permalinks and just click save

    @robin-w

    Moderator

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

    @robin-w

    Moderator

    and both definitely have editor set in

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

    @robin-w

    Moderator

    I am not aware of how to do this

    @robin-w

    Moderator

    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

    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

    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

Viewing 25 replies - 8,626 through 8,650 (of 14,324 total)