Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,526 through 8,550 (of 14,232 total)
  • @robin-w

    Moderator

    ok, think I have just had a thought

    so you have one forum called ‘forum’ – yes ?

    @robin-w

    Moderator

    sorry, I can see no easy way to do this.

    In essence the code above just calls some standard bbpress functions, and these won’t recognise that they have been called by the code, so adding content to then is not possible as far as I can see.

    To do this would need some bespoke code

    @robin-w

    Moderator

    can only think that you have a conflict

    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

    I presume you are subscribed to the forums and topics that you are expecting them from – sorry, but 4 years on here and you always ask the obvious 🙂

    If you have done ALL of the above, the I would set up https://en-gb.wordpress.org/plugins/bbpress-notify-nospam/ and see if that is sending, which would help reduce the issue further

    then come back

    @robin-w

    Moderator

    no problem, glad I could help 🙂

    In reply to: Feature requests

    @robin-w

    Moderator

    no problem, glad I could help 🙂

    In reply to: Change Authentication

    @robin-w

    Moderator

    bbpress simply uses wordpress login, so if you get wordpress to understand that it is logged in , then bbpress will also.

    Maybe one for a wordpress support forum

    @robin-w

    Moderator

    bbpress only displays 2 levels, so when you click the 2nd level, you will get to see the lower down forums.

    It is possible to code for lower levels, if you are happy with coding you’d be looking at

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php

    and some coding around bbp_list_forums()
    to get a further loop

    As for breadcrumb – yes by default you should have one , but themes can turn these off

    @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.

Viewing 25 replies - 8,526 through 8,550 (of 14,232 total)