Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,476 through 7,500 (of 14,112 total)
  • @robin-w

    Moderator

    that’s great – thanks for posting your solution and a tutorial – that will definitely help others 🙂

    @robin-w

    Moderator

    if you actually posted ‘After clicking on register button wp shows wp-login.php page but without login form. Only -1 in upper left corner.’ on a wordpress forum, why would they even mention bbpress? Youy must have asked a question mentioning bbpress.

    I have looked at the issue and it is a wordpress issue, but general advice

    It could be a theme or plugin issue issue, so you’ll need to test to find out which

    Themes

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

    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.

    Then come back

    @robin-w

    Moderator

    if you deactivate the user role editor, does the problem go away?

    @robin-w

    Moderator

    bbpress juts uses wordpress registration so please post to the wordpress support forum

    In reply to: next release ideas

    @robin-w

    Moderator

    1. bbp style pack
    3. in current bbpress
    4. bbp style pack

    bbp style pack

    In reply to: Integration with WP

    @robin-w

    Moderator

    @liyacaty this and several other posts you have responded to are for version 1 of bbpress which was standalone. Posts over about 5 years are version 1, and not worth adding to

    @robin-w

    Moderator

    @looimaster I’m just a bbpress user trying to put something back on the open software community

    bbpress has https://bbpress.trac.wordpress.org/ as it’s code improvement tool

    @robin-w

    Moderator

    It could be a theme or plugin issue issue, so you’ll need to test to find out which

    Themes

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

    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.

    Then come back

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    sorry, I have enough trouble Keeping up with 2.5.14 to look at 2.6 until it comes out !

    In reply to: topic don’t show up

    @robin-w

    Moderator

    @robin-w

    Moderator

    I think the edit button appears for anyone with edit permission under wordpress – what wordpress level are they?

    @robin-w

    Moderator

    Try this – or much easier just add my style pack plugin to your site which has this fix built in, and let me know if it fixes

    bbp style pack

    //filter to correctly return last active ID for sub forums
    //note : a parent forum or category can get the wrong last active ID if a topic in a sub forum is marked as spam or deleted. This filter ignores the parent and works out the correct sub forum
    
    //don't add if pg filter exists as this will have done it already
    if (!function_exists ('private_groups_get_permitted_subforums')) {
    	add_filter ('bbp_get_forum_last_active_id' , 'rew_get_forum_last_active_id', 10 , 2 ) ;
    }
    
    function rew_get_forum_last_active_id ($active_id, $forum_id) {
    	$sub_forums = bbp_forum_get_subforums($forum_id) ;
    	if ( !empty( $sub_forums ) ) {
    		$active_id = 0;
    		$show = array();
    		//find the latest permissible 
    		foreach ( $sub_forums as $sub_forum ) {
    			$sub_forum_id =  $sub_forum->ID ;
    			$active_id = get_post_meta( $sub_forum_id , '_bbp_last_active_id', true );
    			$last_active = get_post_meta( $sub_forum_id, '_bbp_last_active_time', true );
    			if ( empty( $active_id ) ) { // not replies, maybe topics ?
    				$active_id = bbp_get_forum_last_topic_id( $sub_forum_id );
    				if ( !empty( $active_id ) ) {
    					$last_active = bbp_get_topic_last_active_time( $active_id );
    				}
    			}
    			if ( !empty( $active_id ) ) {
    				$curdate = strtotime($last_active);
    				$show[$curdate] = $active_id ;
    			}
    		}
    		//then add the forum itself in case it has the latest
    			$active_id = get_post_meta( $forum_id , '_bbp_last_active_id', true );
    			$last_active = get_post_meta( $sub_forum_id, '_bbp_last_active_time', true );
    			if ( empty( $active_id ) ) { // not replies, maybe topics ?
    				$active_id = bbp_get_forum_last_topic_id( $forum_id );
    				if ( !empty( $active_id ) ) {
    					$last_active = bbp_get_topic_last_active_time( $active_id );
    				}
    			}
    			if ( !empty( $active_id ) ) {
    				$curdate = strtotime($last_active);
    				$show[$curdate] = $active_id ;
    			}
    		$mostRecent= 0;
    		foreach($show as $date=>$value){
    			if ($date > $mostRecent) {
    				 $mostRecent = $date;
    			}
    		}
    		if ($mostRecent != 0) {
    			$active_id = $show[$mostRecent] ;
    		} else {
    			$active_id = 0;
    		}
    	}
    	return apply_filters( 'rew_get_forum_last_active_id', $active_id, $forum_id );
    }

    @robin-w

    Moderator

    ok, ignore my first response, you need to post this question in the buddypress support forum, as it relates to that

    https://buddypress.org/support/

    @robin-w

    Moderator

    no special bbpress themes, most themes work with bbpress, but you may want to use this to style the forums t match your theme and improve their look.

    bbp style pack

    @robin-w

    Moderator

    ok, buddypress has it’s own support forum, and would be worth raising there.

    https://buddypress.org/support/

    @robin-w

    Moderator

    are you also using bbp private groups?

    @robin-w

    Moderator

    bbpress uses subscriptions which are turned on in the forums settings.

    Users who then subscribe to a forum are emailed notifications when a new topic is posted in that forum, and can then subscribe to the topic to receive notifications of replies.

    Is this what you need, or can you come back with further info.

    @robin-w

    Moderator

    ok, sorry I can’t say why it is not working on your site

    @robin-w

    Moderator

    the screenshot says that you are using buddypress and the buddypress profile as well, and that code is just for bbpress.

    If you paste your reply immediately above on the buddypress support site, someone should be able to tell you the correct add_action to hook to buddypress profile

    https://buddypress.org/support/

    In reply to: WP Version

    @robin-w

    Moderator

    2.5.14 is fine with 4.9.8.

    Version 2.6 is due out at some stage.

    @robin-w

    Moderator

    ok, when I get a moment I’ll take a look

    In reply to: Undefined index error

    @robin-w

    Moderator

    ok, it is an issue with that plugin. Pascal is the plugin author


    @casiepa
    can you debug this one ?

    @robin-w

    Moderator

    the issue is with the ‘ the code has been copied via another program and is using the wrong ones

    copy this below

    function ntwb_bbp_forum_form() {
    if ( bbp_is_user_home() && current_user_can( 'moderate' ) ) {
    echo do_shortcode( '[bbp-forum-form]' );
    }
     }
    add_action( 'bbp_template_after_user_profile', 'ntwb_bbp_forum_form' );

    the form is shown on the moderators profile

    In reply to: Undefined index error

    @robin-w

    Moderator

    can you just (as a brief test) deactivate the toolkit plugin and see if the error goes away.
    then come back

Viewing 25 replies - 7,476 through 7,500 (of 14,112 total)