-
Henry Wright replied to the topic how can i change word Forums? in the forum How-to & Troubleshooting 8 years, 10 months ago
I think the language file is your best bet. Have you tried that?
-
Henry Wright replied to the topic how can i change word Forums? in the forum How-to & Troubleshooting 8 years, 10 months ago
A slug is what you see in the URL. So for example:
example.com/this-is-a-slug/
-
Henry Wright replied to the topic how can i change word Forums? in the forum How-to & Troubleshooting 8 years, 10 months ago
I think so with the use of a language file.
Ref: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
Also, according to the Customizable Slugs in BuddyPress article, you should be able to add this to your wp-config.php file to change your slug:
define ( 'BP_FORUMS_SLUG', 'discussions' );
Ref:…[Read more]
-
Henry Wright replied to the topic how can i change word Forums? in the forum How-to & Troubleshooting 8 years, 10 months ago
Do you mean change the wording of the navigation tab that reads Forums?
-
Henry Wright replied to the topic Redirect After "Join Group" Continued in the forum How-to & Troubleshooting 8 years, 10 months ago
The code you’ve posted gets the current group and first compares that group’s slug to social-group-547668396. If a match occurs, the default tab is set to calendar. If no match occurs then the group’s slug is compared to husbands-out. If a match occurs, the default tab is set to forum. If the group’s slug doesn’t match any of those, the default…[Read more]
-
Henry Wright replied to the topic how can i change word Forums? in the forum How-to & Troubleshooting 8 years, 10 months ago
-
Henry Wright replied to the topic compatibility issue with oauth plugin in the forum How-to & Troubleshooting 8 years, 10 months ago
do you mean remove something into de plugin code?
No.
remove_action()
is a function that lets you remove an action hook. Try reading up on WordPress actions; they’re a way to modify behaviour without editing core files. -
Henry Wright replied to the topic Adding user id to members directory in the forum How-to & Troubleshooting 8 years, 10 months ago
Your code looks good. Which file are you putting it in?
Edit: 2nd thoughts, you may need to rename the function. Try giving it a prefix. For example:
function my_bp_displayed_user_id() {
$theUserID = bp_get_member_user_id();
echo "MemberID: " . $theUserID;
}
add_action( 'bp_directory_members_item', 'my_bp_displayed_user_id'… -
Henry Wright replied to the topic Redirect After "Join Group" Continued in the forum How-to & Troubleshooting 8 years, 10 months ago
Regarding your original question:
Is there a way to redirect to forum from “Join Group” button please.
The code you’ve posted here won’t perform a redirect; instead, it filters the default groups tab. I would imagine you’d also need a redirect put in place (which might explain why you see no change when you add the code snippet).
-
Henry Wright replied to the topic Extended Profile Not Working in the forum How-to & Troubleshooting 8 years, 10 months ago
If you use the TwentyFifteen theme and disable all plugins, do you still get the error?
-
Henry Wright replied to the topic compatibility issue with oauth plugin in the forum How-to & Troubleshooting 8 years, 10 months ago
Try finding the BuddyPress redirect and check if it’s removable.
remove_action()
might be handy in this situation, depending on how the redirect is coded.Ref: https://codex.wordpress.org/Function_Reference/remove_action
-
Henry Wright replied to the topic Remove or hide "@" on profile in front of username in the forum How-to & Troubleshooting 8 years, 10 months ago
Check the @ isn’t being added by your theme. If it is, then you can use the Template Hierarchy to override the relevant templates.
-
Henry Wright replied to the topic Error – BP_MESSAGES_AUTOCOMPLETE_ALL in the forum How-to & Troubleshooting 8 years, 10 months ago
Could be theme-related or perhaps a plugin is conflicting. Try with TwentyFifteen and all plugins disabled.
-
Henry Wright replied to the topic Downgrade to 2.3.3 in the forum How-to & Troubleshooting 8 years, 10 months ago
You’ll need to roll back your:
files and folders (just delete the BuddyPress plugin and install version 2.3.3)
database (do you keep backups?)Note: You’ll need to do both. That said, your current database may still work if no changes have been made to the schema since 2.3.3. But proceed with caution and before you start anything back up everything!
-
Henry Wright replied to the topic How can i make modification without loosing them on update in the forum How-to & Troubleshooting 8 years, 10 months ago
Avoid editing core files and you should be fine. Instead, put your functions and code snippets in a bp-custom.php file or your child theme’s functions.php.
Also, check out the Template Hierarchy article for info on template editing.
-
Henry Wright replied to the topic Redirect After "Join Group" Continued in the forum How-to & Troubleshooting 8 years, 10 months ago
The idea here would be to hook in to an action that fires after the join group event. Check out
add_action()
which should help you do that. You’d usebp_core_redirect()
inside your custom function.Hoping this helps?
Ref https://codex.wordpress.org/Function_Reference/add_action
-
Henry Wright replied to the topic Site Feedback in the forum Miscellaneous 8 years, 10 months ago
Great effort @britbox, I really like the look and feel of the site.
-
Henry Wright replied to the topic Registration page in the forum How-to & Troubleshooting 8 years, 10 months ago
If you’re experiencing some kind of redirect, then that’s likely coming from either a plugin, or your active theme.
-
Henry Wright replied to the topic 'Save Button' missing from page tab in settings in the forum Installing BuddyPress 8 years, 10 months ago
Can you provide a screenshot to show us what you’re seeing?
-
Henry Wright replied to the topic Disable public message in the forum How-to & Troubleshooting 8 years, 10 months ago
Where do I find bp-custom.php? I searched the bp folders but couldn’t find the file.
You won’t have a bp-custom.php file by default so you will need to create one inside the plugins folder. So for example:
wp-content/plugins/bp-custom.php
The contents of the file should be:
<?php
// Put your code snippets here
- Load More
@henrywright
Active 8 months, 1 week ago