-
David Cavins replied to the topic Hiding profile tabs (i.e. messages) based on user role in the forum Creating & Extending 8 years, 3 months ago
I’m note sure how your custom roles were created, so I can’t tell you how to figure out if the current user is one or the other, but basically, you’ll be using code like this:
[Read more]
function bpcodex_remove_member_tab_on_role() {
$role = 'owner;
if ( 'owner' == $role ) {
bp_core_remove_nav_item( 'messages' );
bp_core_remove_nav_item( 'friends'… -
David Cavins replied to the topic creating a group type page in the forum Creating & Extending 8 years, 3 months ago
Hi, those details are parsed in
bp_ajax_querystring(), and there’s a filter you can work with:bp_ajax_querystring.You can also filter the query args for every
bp_has_groups()loop directly, using the filterbp_after_has_groups_parse_args.However, the simpler answer is probably to use your group type’s built-in directory page, which would have…[Read more]
-
David Cavins replied to the topic Fixing deprecated bp_nav code? in the forum How-to & Troubleshooting 8 years, 3 months ago
Hi @katmacau–
Here are some examples for changing navigation menus using the new API:
This is what I’m guessing you’ll want to use:
`
function bpcodex_remove_member_notifications_tab() {
bp_core_remove_nav_item( ‘notifications’ );
}
add_action( ‘bp_actions’,…[Read more] -
David Cavins replied to the topic Profile Links – Removing http/https in the forum Creating & Extending 8 years, 3 months ago
Hi there. If I’m understanding correctly, you’re wanting to modify URLs added to profile fields by your users. The profile fields are analyzed for search links and other links here:
https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-xprofile/bp-xprofile-filters.php#L326BP uses the WP function
make_clickable()to make links…[Read more] -
Buddy Quaid replied to the topic Change Password function inside the Settings page is not working. in the forum How-to & Troubleshooting 8 years, 3 months ago
I know this is old, but I am having the same issue and not using a caching plugin.
What now?
-
kma_onchy.com's profile was updated 8 years, 3 months ago
-
Situs Agen Domino 99 Online's profile was updated 8 years, 3 months ago
-
@mercime replied to the topic [Resolved] Errors showing up, not sure what to do in the forum How-to & Troubleshooting 8 years, 3 months ago
> I also need to know what to replace it with.
@katmacau Sorry that you also have errors showing up like catonezillion. What is “it” that you want to replace exactly? Is your installation on PHP7, https, and updated to the latest versions of BP/WP as well?Have you tried switching over to the Twenty Seventeen/Sixteen theme and see if the errors…[Read more]
-
otty-dev replied to the topic Modifying the HTML for Each of the Member's Profile Pages in the forum How-to & Troubleshooting 8 years, 3 months ago
Thanks for your reply @djpaul, really appreciated. I’ve been working on this for the past four months and I tried to outsource this to a freelancer, but it did not go well.
I’ve read the page you’ve sent several times now, but I’m still unsure how to find the HTML to for example the following from the member/profile page:
1) move <h1…[Read more]
-
Aron Clark's profile was updated 8 years, 3 months ago
-
Yespoker88 | Domino88 | Dewapoker | Poker99 | PokerQQ | DominoQQ's profile was updated 8 years, 3 months ago
-
kubi pan's profile was updated 8 years, 3 months ago
-
Denrel Clark's profile was updated 8 years, 3 months ago
-
Paul Wong-Gibbs replied to the topic users can bypass required name on registration with space bar in the forum How-to & Troubleshooting 8 years, 3 months ago
I’ve fixed this bug, and it will be included in BuddyPress 3.0, which is probably two or three months away.
-
Marten Clark's profile was updated 8 years, 3 months ago
-
Martin Clark's profile was updated 8 years, 3 months ago
-
batg1rl replied to the topic Email's situation's are not displayed… in the forum Requests & Feedback 8 years, 3 months ago
Ok, I’ve deactivated all plugins except for Buddypress and it is still not working. Is there a setting or something that should be de/activated to get it to show the situations ? It’s getting quite urgent now, so if you have any ideas please let me know – thanks !!
-
Marten Clark's profile was updated 8 years, 3 months ago
-
alittlebitofnothing's profile was updated 8 years, 3 months ago
-
Marten Clark's profile was updated 8 years, 3 months ago
- Load More