Skip to:
Content
Pages
Categories
Search
Top
Bottom

Duplicating the activity feed somewhere else, activity buttons dont work


  • mikelast
    Participant

    @mikelast

    Hi Gang,

    So I have copied the activity feed and added it to the profile page using

    <?php bp_nouveau_member_hook( 'before', 'activity_content' ); ?>
    
                    <div id="activity-stream" class="activity single-user" data-bp-list="activity">
    
                        <div id="bp-ajax-loader"><?php bp_nouveau_user_feedback(
    							'member-activity-loading'
    						); ?></div>
    
                        <ul class="<?php bp_nouveau_loop_classes(); ?>">
    
                        </ul>
    
                    </div><!-- .activity -->
    				<?php bp_nouveau_member_hook( 'after', 'activity_content' ); ?>

    However the activity buttons that allow me to comment, favourite etc do not work any more. Can anyone tell me what I need to add in order for the buttons to work again?

    cheers

Viewing 1 replies (of 1 total)

  • Prashant Singh
    Participant

    @prashantvatsh

    Hi,

    There must be some javascript code missing which was only en-queued on site-wide activity page and now that needs to be enqueued on profile also. Please check there which javascript you are missing. It will be most probably buddypress-activity javascript.

    Thanks

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar