Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,976 through 13,000 (of 14,314 total)
  • @robin-w

    Moderator

    Suspect this is a theme issue

    Can you switch to a default theme such as twentytwelve for a moment to see if that fixes. If so come back and we can try and get your theme to work with bbpress

    @robin-w

    Moderator

    ok, you’ll need to add the following to your functions file

    //this function removes the "this topic contains..." and "this forum contains..."  text
    function no_description ($retstr) {
    $retstr="" ;
    return $retstr ;
    }
    
    add_filter ('bbp_get_single_topic_description', 'no_description' ) ;
    add_filter ('bbp_get_single_forum_description', 'no_description' ) ;
    
    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'Your account has the ability to post unrestricted HTML content.' ) {
    	$translated_text = '';
    	}
    	if ( $translated_text == 'Oh bother! No topics were found here!' ) {
    	$translated_text = '';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );
    

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    Apologies but I’m being stupid, but can you explain or give an example of what you mean by bbp-template-notice info ?

    @robin-w

    Moderator

    Strange the things you don’t put in your testing – a top level forum was one I didn’t test! 🙂

    I’ve now worked a fix for this, but before I release it, I just want to check back on the search issue.

    Search should hide both ‘private group’ topics and replies from search results as though they don’t exist, and this works in my test site.

    Can you confirm that this is still an issue? and which version of the plugin you are using?

    @robin-w

    Moderator

    ok, thanks, I’ll take a look.

    @robin-w

    Moderator

    can you let me know what your settings are

    Dashboard>settings>bbp private groups>

    forum visibility settings
    general settings

    @robin-w

    Moderator

    I found this code in my files, try this

    /*
    Plugin Name: BBPress Close Old Posts
    Description: Close BBPress 2.0+ posts that haven't been updated in X days. 
    Author: Raygun
    Version: 0.1
    Author URI: http://madebyraygun.com
    
    Originally found here: https://wordpress.org/support/topic/plugin-bbpress-new-topic-notifications-new-reply-notications-too?replies=13
    
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    */ 
    
    register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
    
    add_action('bbpress_daily_event', 'bbpress_close_old_topics');
    
    function bbpress_topic_scheduler() {
     wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
    }
    
    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$last_active = strtotime( get_post_meta( $topic_id, '_bbp_last_active_time', true ) );
    			if ($last_active < strtotime( '-10 days') )
    				bbp_close_topic( $topic_id );
    		}
    }
    ?>

    change the -10 days to whatever you want

    Basically just create a file called say ‘close.php’ and put this code in it. Create a directory in your site

    wp-content/plugins/close

    and put the file in there

    then go into

    dashboard>plugins>installed plugins and activate it

    I haven’t tested this.

    @robin-w

    Moderator

    Sorry, but there’s no simple way to do this.

    It can be done with code, but I don’t know of anything that has already been done

    @robin-w

    Moderator

    where are you trying to ‘display the topics that the user created (the logged in user)’??

    @robin-w

    Moderator

    did the code work?

    @robin-w

    Moderator

    I think if you really want a feature paying £3 for it is really not asking that much!

    In reply to: change forum sidebar

    @robin-w

    Moderator

    this is a widget logic problem, but try

    !is_page(‘page_name’) || (is_single() && !is_bbpress())

    if not, then try the support page, but is not well responded to

    https://wordpress.org/support/plugin/widget-logic

    @robin-w

    Moderator

    I know nothing of buddypress, maybe try posting onto their support site

    https://buddypress.org/support/

    @robin-w

    Moderator

    it is very doubtful if any legacy plugins would work.

    @robin-w

    Moderator

    no, I’m stuck on the javascript part – can’t work out why it’s not kicking in !

    @robin-w

    Moderator

    Have you run the repair forums?

    Dashboard>tools>repair forums. Run them all, but only one at a time !!

    @robin-w

    Moderator

    ok, have you tried either of the options in the following

    Step by step guide to setting up a bbPress forum – Part 1

    @robin-w

    Moderator

    Great – I am really pleased that you persisted and got to a cause, and hopefully shortly a permanent fix.

    And thanks for posting back the answer here 🙂

    @robin-w

    Moderator

    can you say which widgets, and are they not appearing at all? Are any widgets appearing on that page – is the sidebar appearing?

    @robin-w

    Moderator

    Great, I’m glad you are fixed !

    @robin-w

    Moderator

    Interesting that without the private groups it didn’t work as expected, and with the private groups it also doesn’t work as expected.

    Maybe be worth investigating the theme and other plugins to see if they are causing an issue.

    so with private groups deactivated

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    Thanks, Stephen ! 🙂

    @robin-w

    Moderator

    As you describe you should have

    Private forums – readable only by logged in users with participant role (ie members)
    Hidden forums – readable only by moderators/keymasters

    Your issue is that logged in user cannot see the private forums.

    At a quick guess I’d suggest that your users need roles assigned – having re-read my documentation this isn’t at all clear – I’m off to tidy that bit!

    In dashboard>users>edit user you’ll find forum roles at the bottom of each user’s details

    Anyway that’s my guess, come back if I guessed wrong !

    You could also use

    https://wordpress.org/support/plugin/bbp-private-groups if you don’t want to give your ‘officers’ back end access

    @robin-w

    Moderator

    great – glad you’re fixed !

Viewing 25 replies - 12,976 through 13,000 (of 14,314 total)