Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

changing tab ”groups” to ”events” (3 posts)

Started 1 year, 5 months ago by: migu

  • Hi all,

    I’m new to BuddyPress. Great plugin, awesome work, many thanks to all who have contributed to it.

    I need to rename everything that appears as “Group” in the HTML to “Event”. Using a search function, I already have replaced about 100 matches in the PHP code. The 2 things left are:

    1. when you click on your profile in the sidebar, a list with tabs appears:
    Activity
    Profile
    Messages
    Friends (0)
    Groups (2)
    Settings

    I want to change “Groups” to “Events” and found out that this list is populated by the function bp_get_options_nav() in bp-core/bp-core-templatetags.php . I suck at OO programming and I couldn’t figure out where the values are stored that are used to fill this array. A search in the db did not answer my question. Can you help?

    Also, I haven’t managed to figure how to change “Groups” and “My groups” in the dropdown list of “My account” in the black bar at the very top of each page.

    Any help would be much appreciated.

    Cheers,
    Michael

  • Profile picture of teebes teebes said 1 year, 5 months ago:

    Search around for how to translate bp and create your own language file. This will make it much easier and will keep you out of the core files (which is highly advised). Good luck!

  • Profile picture of @mercime @mercime said 1 year, 5 months ago:

    http://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/

    http://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/