Buddydrive integration with wplms

Please add the given code in your wplms customizer.php file in wplms customizer plugin :

add_action( 'bp_after_member_activity_post_form', 'bp_global_activity' );
add_action( 'bp_activity_post_form_options', 'bp_global_activity' );
function bp_global_activity() {
      echo '<style>
        body.activity.bp-user #buddypress #buddydrive-btn, body.activity.directory #buddypress #buddydrive-btn, body.single-item.groups #buddypress #buddydrive-btn{
            position: absolute;
          bottom: 22px;
    right: 120px;
        #buddypress form#whats-new-form #whats-new-content {
        position: relative;
    // Always check the editor is available to prevent fatals!
    if (function_exists( 'buddydrive_editor' ) ) {
        // 'whats-new' is the id attribute of the textarea to publish activities
        buddydrive_editor( 'whats-new' );

Was this article helpful?


  1. NicolayLeganger

    Where (in wich line – below what) should these lines be pasted?

Leave a Reply to Mr.Vibe Cancel Reply