Search Results for 'buddypress'
-
Search Results
-
After upgrading from 2.0.2 to 2.1.1, which is supposed to include a fix for the pagination links when search parameters are applied, I’ve noticed that I can’t get past page 2 in a list of results.
i.e. ?upage=2 is rendered into the ‘next’ link even when on page 2
To make matters worse, reverting back to the old BuddyPress folder didn’t fix it!
I have ‘no-ajax’ applied on the pagination, because of a long standing issue with ajax-driven members pages, where performing a search, going to page 2, viewing a profile, then going ‘back’ to results, and requesting page 3…….loses all of the search params.
So I’m stuck between a rock and a hard place here. no-ajax pagination was tolerable until it broke. Any ideas?
Topic: Disable Password Change
Hello,
Currently in a Buddypress Profile you can go to Settings and change your password — This can be wonderful for most users but I currently am using iMember360 for my user database. Is there a way I can delete the sections of coding out to completely remove the reset password field? Or at least something that can disable this feature? Your help is appreciated.
Cheers
Looking at this page I can see how to style members profile pages. However, this information is obviously a little bit dated. I’m using 2.2 beta and specifically using ‘member_types’ and I’m wondering if it’s possible to determine which buddypress template file is used by the member type.
For example I have 3 member types (user/bar/admin) and I want the Users to have a different profile than Bars because they have entirely different functionality. I suppose in
/buddypress/members/single/index.phpI could filter my html output by running a switch onbp_get_member_type(/*current user ID*/)but I was hoping there was a more elegant solution.When i activate BuddyPress plugin i have an error:
Uncaught TypeError: undefined is not a functionglobal.js?ver=4.1:1327 bp_init_activityglobal.js?ver=4.1:17 (anonymous function)load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2 jload-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2 k.fireWithload-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2 m.extend.readyload-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2 JAnd administration interface not work, precisely not work:
– move widget
– media libraryBut if i disactivate BuddyPress all works correctly.
What can i do?Thanks,
JacopoI upgraded my version of budypress via admin and now calls to BP functions (such as bp_is_active) are causing fatal errors. I can’t access wp-admin and cant activate / deactivate BP via wp-cli either (simply returns the same error about fatal call to undefined bp functions.)
If I wipe out my functions.php, there will be template files which call undefined functions. So I can’t really do that.
What’s wrong with the ugprade process that seemingly disables buddypress? How do I fix this?
Hello,
Wanted to share my findings are they were a pain to find…
If you want to filter hidden groups from the Groups Loop you’ll have to add a filter hooking onto the groups_sql calls:
// Hide Hidden Groups from the Groups Loop
add_filter(‘bp_groups_get_paged_groups_sql’, array($this, ‘filter_hidden_groups_sql’));
add_filter(‘bp_groups_get_total_groups_sql’, array($this, ‘filter_hidden_groups_sql’));
* If you’re doing this from functions.php instead of a class you’ll want:
add_filter(‘bp_groups_get_paged_groups_sql’, ‘filter_hidden_groups_sql’);
add_filter(‘bp_groups_get_total_groups_sql’, ‘filter_hidden_groups_sql’);And Execute your filter method to inject and AND for status != ‘hidden’:
// Buddypress Filter Hidden Groups from Groups Loop
function filter_hidden_groups_sql($sql) {
$sql_parts = explode(‘WHERE’, $sql);
$new_sql = $sql_parts[0] . “WHERE g.status != ‘hidden’ AND” . $sql_parts[1];
return $new_sql;
}This will filter the sql query retrieving groups to exclude any hidden groups making it so a Members Group Listing doesn’t have holes or invalid count numbers.
Hope this is useful to someone,
CheersI’m learning BuddyPress for the first time and I’ve been stumbling along trying to get this figured out to no avail. I have two WP_Users set up. Since I’m using the 2.2 beta I have defined 3 member roles (User, Bar, Admin). I have gone into both members profile’s and made sure everything on xProfile is filled out so from everything I can see they’re both WP users and BP members. However when I run the members loop I’m only seeing the first one show up.
This is the loop I have:
<?php if(bp_has_members()) { while(bp_members()) { bp_the_member(); ?> <a href="<?php bp_member_permalink(); ?>"><?php echo bp_get_user_firstname(); ?></a><br /> <?php } } else { ?> <h1>YOU HAVE NO MEMBERS</h1> <?php } ?>Topic: Customize BP navigation
Hi,
I would like to add a search function to Buddypress so that people viewing the site can filter through the members. For example, they could search for someone who likes cycling and lives in Scotland or find someone who works as a web designer, likes skiiing and speaks Italian.Is there a plugin available for this? Perhaps you could recommend a plugin not associated with Buddypress?
Please advise how I can set this up.
Thanks.
Hi Gang, it was pointed out to me that when you mouse over an avatar on the Member Sites list that personal email addresses are showing up as the Alt text. Where can I find the code to remove this?
Wordpress Ver 4.1
BuddyPress Ver 2.1.1