-
Henry Wright replied to the topic How to set a testimonial page for members? in the forum How-to & Troubleshooting 9 years, 2 months ago
BuddyPress doesn’t have testimonial functionality but you should be able to find a plugin to get what you need.
-
Henry Wright replied to the topic [Resolved] Unminified Javascript in the forum How-to & Troubleshooting 9 years, 2 months ago
You can dequeue a minified script with
wp_dequeue_script()and then enqueue the non-minified version withwp_enqueue_script().Ref
https://codex.wordpress.org/Function_Reference/wp_dequeue_script
-
eurozap started the topic How to hide the RSS button in the forum Installing BuddyPress 9 years, 2 months ago
Hi, I run WordPress version 4.7.2 and BuddyPress version 2.8.1 and I would like to hide the RSS button from the activity feed. It is confusing the users. How to do this? I would like to replace it with some text, like “Choose Activity”. Thanks.
-
Ashim Adhikari replied to the topic fetching specfic role users in the forum Requests & Feedback 9 years, 2 months ago
i inserted this code, and nothing showsup on the frontend expert block
<?php
$experts = get_users( 'fields=ID&role=expert' );
$args = array(
'include' => $experts,
'per_page' => 500 // the number of members that you have
);if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=500&include=' . $experts ) ) :
while (…[Read more] -
Ashim Adhikari replied to the topic fetching specfic role users in the forum Requests & Feedback 9 years, 2 months ago
replaced the code, and its same
-
Ashim Adhikari replied to the topic fetching specfic role users in the forum Requests & Feedback 9 years, 2 months ago
tried switching everything, didn’t work
-
Cardell Aavid's profile was updated 9 years, 2 months ago
-
Henry Wright replied to the topic [Resolved] Friendships component in the forum How-to & Troubleshooting 9 years, 2 months ago
Is the Friend Connections component activated when you go to Settings > BuddyPress?
-
Henry Wright replied to the topic Choose categories or tags for activities in the forum How-to & Troubleshooting 9 years, 2 months ago
Meta would allow you to segregate activity item types. You could add to meta after a new activity item is posted. The hook for that is
bp_activity_add.Hope this helps.
-
Henry Wright replied to the topic Choose categories or tags for activities in the forum How-to & Troubleshooting 9 years, 2 months ago
BuddyPress activity items aren’t WordPress posts so as far as I know you can’t associate categories or tags with them. However, activity items do have associated meta.
Take a look at these functions which will be useful to you:
bp_activity_add_meta()
bp_activity_update_meta()
bp_activity_get_meta()
bp_activity_delete_meta() -
Henry Wright replied to the topic get events in the forum How-to & Troubleshooting 9 years, 2 months ago
Try this:
$args = array(
'meta_key' => 'group_id',
'meta_value' => '1',
'meta_compare' => '=',
'post_type' => 'event',
'posts_per_page' => -1
);
$query = new WP_Query( $args );if ( $query->have_posts() ) {
// Events
} else {
// No…[Read more] -
Henry Wright replied to the topic Custom Members-Loop and Pagination issues in the forum How-to & Troubleshooting 9 years, 2 months ago
Try using bp_parse_args instead. That’s the way I’d recommend to filter the members loop (both pagination and the loop of members will be addressed)
-
Utility Companion's profile was updated 9 years, 2 months ago
-
Ashim Adhikari replied to the topic fetching specfic role users in the forum Requests & Feedback 9 years, 2 months ago
@shanebp , thanks .. just tried, and gives the same result.
-
Ashim Adhikari started the topic fetching specfic role users in the forum Requests & Feedback 9 years, 2 months ago
hi
i’m trying to fetch specific users of role “expert” with this code, but its giving some random 3 users.
<?php
if ( bp_has_members( bp_ajax_querystring( 'expert' ) ) ) :
while ( bp_members() ) : bp_the_member();
?>also, how do i increase the users from 3 to all available in that specific role. I am building a…[Read more]
-
metalhead replied to the topic Bypass Email Requirement in the forum Creating & Extending 9 years, 2 months ago
(Resolved)
-
metalhead replied to the topic bp_signup_email_value() in the forum Creating & Extending 9 years, 2 months ago
Thanks for that link! I will Google harder.
This is resolved, but I can’t figure out how to mark it as such. Sorry about that too!
-
metalhead started the topic bp_signup_email_value() in the forum Creating & Extending 9 years, 2 months ago
I have searched BP Documentation, but I can’t figure out where this function is located. @Modemlooper posted information on locating functions 6 years ago, but it seems like that info may be outdated at this point.
He said it was in bp-core-templatetags.php but I can’t find that file on my server. I started searching for the function in random…[Read more]
-
Julie Tucker's profile was updated 9 years, 2 months ago
-
Alana Vida's profile was updated 9 years, 2 months ago
- Load More