Forum Replies Created
-
In reply to: No Email Notifications
Fixed! The guys over at Buddydev was a great help.
I put the following code in my “bp-custom.php” file:
add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );
In reply to: Help with labelsHI Varun,
Thank you for your response but it didn’t work. 🙁
This is what I tried to use:
/** * Translates specific strings in BuddyPress to new values. * This function hooks into the 'gettext' filter provided by WordPress, allowing for the modification * of text before it is displayed or used on the site. It specifically targets text within the 'buddypress' domain, * making it suitable for customizing or translating BuddyPress strings without altering language files. * * @param string $translated_text The text after being translated. * @param string $text The text before being translated. * @param string $domain The domain of the text being translated. This function specifically targets 'buddypress'. * @return string The modified or translated text. */ add_filter( 'gettext', 'wbcom_translate_buddypress_strings', 20, 3 ); function wbcom_translate_buddypress_strings( $translated_text, $text, $domain ) { // Target only BuddyPress strings to avoid affecting other texts. if ( 'buddypress' === $domain ) { switch ( $translated_text ) { // Example: Translate "Friends" to "Connections". case 'Groups': $translated_text = 'Packs'; break; // Add more strings to translate as needed, following the pattern above. } } return $translated_text; }In reply to: Help with labelsThank you for the suggestion. I really dislike working with language files and was hoping to find a php snippet for quick fix.
Any help would be appreciated.
In reply to: Strange issue with bp_core_get_user_domainThank you! I didn’t even know that this was a thing. My site is fixed!
In reply to: Disabling Friend ConnectionsSorry, please disregard. It works, not sure what caused the issue with disabling the feature earlier, but all is well.
In reply to: Changing group slugOh my goodness – I don’t know how I missed that. I was jumping between browsers and I guess I was looking at a dashboard with “Groups” disabled.
All is well, I found it. Thank you for leading me out the dark. 😉
In reply to: Changing group slugJust trying to see if anyone has any input on how I would go about addressing this issue. 🙂
In reply to: Profile Menu/Tab LinkWOW! That was easy and very handy too. Thank you so much.
If you have any interest I have another post about the groups end page – I’d love your input on that. 😉
In reply to: Changing group slugHi Varun, thank you for your response. But I’m not really sure how to do that without affecting the page that currently uses the “groups” slug. Is there a way to change the page end point from groups to regional-groups? I wasn’t able to locate any setting for this.
I have a site that currently uses: http://www.website.com/groups
When I enable Buddypress groups, the content of this page is overwritten with the Buddypress groups content. I cannot change the content from my current groups page to another page as I have a lot of printed material that references that particular page. So I am hoping there is a way to have the Buddypress groups content appear on another page (www.website.com/regional-groups).
In reply to: Changing group slugUpdate! I found a snippet to change the slug…but that doesn’t fix the problem.
function ts_change_groups_slug(){ global $bp; $bp->groups->root_slug = 'teams'; return $bp->groups->root_slug; } add_filter( 'bp_get_groups_slug', 'ts_change_groups_slug' ); add_filter( 'bp_get_groups_root_slug', 'ts_change_groups_slug' );How do I change the default “groups” page to another page of my choice? Thank you.
In reply to: Display first name and last initialOops! I meant to post it there. Thank you for catching my oversight. 🙂
In reply to: Remove Profile Tabs Dropdown MenuThank you for your response.
So to clarify, if you use BuddyPress on a basic theme, then the dropdown toggle does not show and ALL active tabs appear in the menu?
In reply to: Remove Profile Tabs Dropdown Menuimage link isn’t working: https://seventhqueen.com/themes/kleo/members/kleoadmin/
In reply to: Remove Profile Tabs Dropdown MenuI forgot to add an image to better explain my post.
After the tab listed “Articles” there is only one more tab, which is the tab for “Media”. How can I force this tab to be visible instead of being nested in the drop-down. I basically just want to get rid of the drop-down altogether. Thank you.
In reply to: Buddypress Registration formI found the solution. I tested the script I had tried before…but this time it worked. If anyone else is interested, see the script at the end of this post:
https://buddypress.org/support/topic/username-vs-display-name/