• Hello,

    I am developing a learning platform and integrated the BuddyMeet plugin into it. It is really awesome indeed.

    I was wondering whether I can change the name BuddyMeet from the tabs of the BuddyPress menu. I would like it to have a different name.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • I had this question as well.

    HansRuedi

    (@schwarzaufweiss)

    Yes, that would be a nice option in backend settings of BuddyMeet. Following…

    André

    (@andrearaujo7967)

    Sorted out!
    In the plugin folder there is a file called.
    buddymeet.php

    Open the file with a text editor of your choice and on the line
    104 edit
    Original:
    $this->buddymeet_name = apply_filters( ‘buddymeet_name’, ‘BuddyMeet’ );

    Change:
    $this->buddymeet_name = apply_filters( ‘buddymeet_name’, ‘CHANGENAMEWHERE’ );

    Thread Starter mihaitutu

    (@mihaitutu)

    Thank you very much, for the help.

    I kinda figured that on my own, just that this modify will reset on plugin update. Is there any chance to do it without having to take care of this anytime I do the update?

    Thank you!

    André

    (@andrearaujo7967)

    Not yet, but I’m trying to contact the Developer to help him with a few things.

    André

    (@andrearaujo7967)

    change status to resolved

    Hi,

    this is not the proper way to change the name of the tab. You have to implement in your theme or plugin the buddymeet_get_name filter by adding the line below:

    add_filter('buddymeet_get_name', change_buddymeet_name_callback, 10);

    and then just implementing the callback function that will return just the new name:

    public function change_buddymeet_name_callback($name){
       return 'CHANGE_NAME_HERE';
    }

    Filter and Actions are actually 2 different kind of hooks that wordpress gives you to add extension points. That way you can follow any future updates without having to apply again your patch.

    Thanks,
    Themis

    • This reply was modified 4 years, 6 months ago by tdakanalis.
    • This reply was modified 4 years, 6 months ago by tdakanalis.
    • This reply was modified 4 years, 6 months ago by tdakanalis.
    • This reply was modified 4 years, 6 months ago by tdakanalis.
    HansRuedi

    (@schwarzaufweiss)

    Hi @tdakanalis

    Now that you have a plan to include backend settings for BuddyMeet I would really appreciate if you show a field for tab name in global settings. Would say that’s the most user friendly way to do it. ??

    Again, many thanks for this great plugin! Would say that’s a real solution for BuddyPress powered sites in 2020!

    After adding your suggested code and changing the tab names, I still have it referenced as BuddyMeet under the group>Manage>(Changed Name)>BuddyMeet Settings. Did I apply the filter incorrectly or is there a code to change all BuddyMeet references in the plugin?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change BuddyMeet name in tabs’ is closed to new replies.