-
Henry Wright replied to the topic Adding user id to members directory in the forum How-to & Troubleshooting 10 years, 4 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'… -
Justin Kopepasah started the topic Groups Query String for WP Rewrite in the forum How-to & Troubleshooting 10 years, 4 months ago
I am trying to add a new rewrite for a group (e.g. groups/sports_tennis) and having trouble finding the proper query string for
$rewriteportion ofadd_rewrite_rule().Here is an example:
add_rewrite_rule( 'groups/sports-tennis', 'index.php?pagename=groups/sports_tennis', 'top' );
Obviously
pagenamedoes not work, but this is similar to what…[Read more] -
Dave Robison replied to the topic Group Invitation Buttons in the forum Requests & Feedback 10 years, 4 months ago
I can confirm this (and thank you, Nomi… I was going crazy trying to figure out what the issue was).
-
Ben Hansen replied to the topic moderator disappeared from users in the forum How-to & Troubleshooting 10 years, 4 months ago
so the moderator user role is actually a function of bbpress not buddypress so you may have more luck on that forum than here but have you run the the bbpress repair scripts?
-
Henry Wright replied to the topic Redirect After "Join Group" Continued in the forum How-to & Troubleshooting 10 years, 4 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 10 years, 4 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 10 years, 4 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 10 years, 4 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 10 years, 4 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 10 years, 4 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 10 years, 4 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 10 years, 4 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 10 years, 4 months ago
Great effort @britbox, I really like the look and feel of the site.
-
bN replied to the topic Uninstall in the forum How-to & Troubleshooting 10 years, 4 months ago
my website is seesomethingnew.com.au
-
bN started the topic Uninstall in the forum How-to & Troubleshooting 10 years, 4 months ago
I am really really hoping someone can help me. I installed buddy press and bbpress in the hope I could get a forum going on my website. Somehow, around the same time I started getting hundreds of spam registrations both as users and participators. I have always had the occassional spam comment but I have got thousands of registrations in the past…[Read more]
-
Henry Wright replied to the topic Registration page in the forum How-to & Troubleshooting 10 years, 4 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 10 years, 4 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 10 years, 4 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
-
Henry Wright replied to the topic Customize email templates in the forum How-to & Troubleshooting 10 years, 4 months ago
-
Paul Wong-Gibbs replied to the topic Customize email templates in the forum How-to & Troubleshooting 10 years, 4 months ago
Yes, the new stuff is pretty close to testing. I will come back here and add some screenshots once I’ve progressed the work to testing stage so everyone can see it
- Load More