Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 1,026 through 1,050 (of 13,961 total)
  • @robin-w

    Moderator

    no problem, we’ve all been there 🙂 🙂

    glad you are fixed !

    @robin-w

    Moderator

    ok, not sure how to help further, maybe try

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    ok, so switch to html text

    @robin-w

    Moderator

    try

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Subscription Emails

    where you can amend what is sent, or indeed switch to plain text

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    @enkoes – thanks, I’ve amended the version above 🙂

    @robin-w

    Moderator

    oh have you run

    1. dashboard>tools>repair tools
    2. Dashboard>settings>permalinks and just click save – this resets the permalinks

    I am very doubtful that this will cure, but it is a good 2 things to eliminate

    @robin-w

    Moderator

    If the tests above proved nothing, then I can only suggest you have some form of corruption on either database or more likely software.

    But can you confirm that this does not happen every time, and if so how often (eg 1 in 3 posts, 1 in 10, 1 in 100)?

    Are you able to clone your site?

    @robin-w

    Moderator

    ok, so put this before it

    <?php

    @robin-w

    Moderator

    ok, so can you paste the bit of your child theme’s function file that you pasted this into, including 3 lines before and after

    @robin-w

    Moderator

    ok, again untested but this

    add_filter ('bbp_topic_admin_links' , 'surpress_moderator_links', 10 , 2) ;
    add_filter ('bbp_reply_admin_links' , 'surpress_moderator_links', 10 , 2) ;
    
    function surpress_moderator_links ($links , $id) {
    	
    	if (bbp_is_topic( $id)) $forum = bbp_get_topic_forum_id( $id ) ;
    	if (bbp_is_reply( $id)) $forum = bbp_get_reply_forum_id( $id) ;
    	if (!in_array($forum, array ('12345','34567','78945'))) return $links ;
    	//if user is moderator but not a keymaster...
    	$user_id = wp_get_current_user()->ID ;
    	if (bbp_is_user_keymaster($user_id)) return $links ;
    	if (current_user_can( 'moderate')) {
    		//check if the topic/reply is posted by another moderator, and if so unset the links
    		if (bbp_is_topic( $id)) $author_id = bbp_get_topic_author_id( $id ) ;
    		if (bbp_is_reply( $id)) $author_id = bbp_get_reply_author_id( $id ) ;
    		if (bbp_get_user_role( $author_id)  == 'bbp_moderator') {
    			 unset ( $links ['approve'] );
    			 unset ( $links ['spam'] );
    			 unset ( $links ['trash'] );
    			 unset ( $links ['move'] );
    			 unset ( $links ['split'] );
    			 unset ( $links ['edit'] );
    			 unset ( $links ['move'] );
    			unset ( $links ['merge'] );
    			unset ( $links ['close'] );
    			unset ( $links ['stick'] );
    		
    		}
    	}
    return $links ;
    }

    just change ‘array (‘12345′,’34567′,’78945′))’ to have a list of the forum ID’s you want to check against

    @robin-w

    Moderator

    @ph59 – ah I see, then yes try the code above, if it doesn’t work, let me know and I’ll try and find time to fix it

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    @robin-w

    Moderator

    maybe …not one the bbpress authors allowed for 🙂

    anyway, totally untested as I need to be doing other things, but this might do it
    revised code below

    of course if moderators are allowed into the backend, then this becomes pointless, but I would argue that only admins should be backend access 🙂

    @robin-w

    Moderator

    sorry I meant in which file are you seeing this

    ‘There is a css setting, if-no-js, that is setting display none before the button bar’

    @robin-w

    Moderator

    so in which file are you seeing this setting?

    @robin-w

    Moderator

    I suppose my first thought would be that if you can’t trust your moderators to be nice to each other, why would you trust them to be nice to the general forums users, so why would you have them as moderators in the first place?

    @robin-w

    Moderator

    probably – maybe set up a test moderator and try

    In reply to: Post-> Topics

    @robin-w

    Moderator

    ok, so no easy automatic way to do this., but this method is fairly simple.

    so use the ‘Post Comments as bbPress Topics’ plugin, and create a post using settings that create a topic. Publish the post and that will create the post and a forum topic.

    then you can immediately go back to edit that post, and in the ‘topics for posts’ part of the edit, unclick the ‘Use a bbPress forum topic for comments on this post.’ This will then show the normal comments box, but the forum topic will remain.

    In reply to: Problem with theme

    @robin-w

    Moderator

    I presume you are adding the adrotate with a shortcode – yes?

    In reply to: Post-> Topics

    @robin-w

    Moderator

    so for a post, do you want a topic to be created, but post comments to remain in the post?

    In reply to: Duplicate post message

    @robin-w

    Moderator

    so if you look in

    dashboard>replies can you see if his reply is getting posted?

    @robin-w

    Moderator

    hmmmm… not sure it would be that, as bbpress is loading ok.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    great – glad you are fixed 🙂

    @robin-w

    Moderator

    ok, so you had the hello elementor theme active, although you have now switched to another theme.

    this theme needs this additional plugin to make it work with bbpress

    Hello theme Elementor bbPress template fix

    @robin-w

    Moderator

    support here is fine, it’s free and done by volunteers – it’s the weekend here, so excuse that I choose to spend time with my family.

    You are using a professional package called buddyboss, which hooks to the totally free bbpress.

    If you are stopping, then maybe ask buddyboss how to move away?

    The link you post just shows a list of forums, so no idea what is missing as I don’t know what ‘all the forums’ means – maybe come back with exactly what is missing and I’ll take my grumpy hat off and try to help you on Monday 🙂

Viewing 25 replies - 1,026 through 1,050 (of 13,961 total)