I had this question as well.
Yes, that would be a nice option in backend settings of BuddyMeet. Following…
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’ );
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!
Not yet, but I’m trying to contact the Developer to help him with a few things.
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 5 years, 1 month ago by
tdakanalis.
-
This reply was modified 5 years, 1 month ago by
tdakanalis.
-
This reply was modified 5 years, 1 month ago by
tdakanalis.
-
This reply was modified 5 years, 1 month ago by
tdakanalis.
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?