Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @rainerkormann

    Participant

    Hi @danbp

    I used your Code and it works like a charm – thanks a million 🙂

    One thing: using your nice Filter-Function, it’s only possible to make a comment, after one click on one, no matter which, of the Activity-Tabs (“All Members|Friends|Groups”)…

    Without that click, the “Comment”-Button of someones entry just doesn’t work 🙁

    PS: when I change the If-Statement to use your Code also for Groups, so only Updates are shown (which works), there is no way I can make the Comment-Button work…:

    function make_swa_show_notice_only( $retval ) {	
    	
    	 if ( bp_is_page( 'activity' ) || bp_is_page( 'groups' ) ) {
    		$retval['action'] = 'activity_update';					
    	 }
    	
    	return $retval;
    	
    }
    add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );

    Do you have an idea, what i can do?

    Thanks in advance,
    Rainer.

Viewing 1 replies (of 1 total)
Skip to toolbar