I think it’s in a core file somewhere, having looked into index.php (inside buddypress/templates/members/) now index-directory.php there’s no specific function call that I can see .
However you can build your own search form, just make sure you set the input name to be that of “s” and it should work. With AJAX you can look into buddypress.js to see how the devs have hooked up the form.
hi @batufan,
bp-templates/bp-legacy/buddypress/groups/index.php:10
bp-templates/bp-legacy/buddypress/members/index.php:10
Functions are
bp_directory_groups_search_form & bp_directory_members_search_form
Respectively in bp-groups/bp-groups-template.php & bp-members/bp-members-template.php
Anyone want to work together and create a really cool BuddyPress theme for open-source distribution or premium sales?
Would love to work with someone cool and awesome. Becomes a drag doing it alone all the time.
Hi @bewitchingfiction,
I tried it on some of the default WordPress themes and couldn’t get it to work… and it no-longer works on the previous theme used two years ago when I first configured BuddyPress on our site.
My suggested work-around for you until someone is able to get it going again would be to create a password-protected or private page in WordPress for your mods to chat via the comments function. If you use a plugin that allows menu items to only be shown to mods, then no one will know the page even exists.
I use Nav Menu Roles to manage the visibility of menu items on my site. Unfortunately, it’s not compatible with my theme’s menu… so every time I want to add or change a menu item’s visibility, I have to change to another theme to use it , then change back. Clumsy, but it works! https://wordpress.org/plugins/nav-menu-roles/screenshots/
You make a good point.
It definitely should be exposed as a DEFINE, similar to define('BP_DEFAULT_COMPONENT', 'profile' );
I suggest you create an enhancement ticket. Use the same user / pw that you use here.
OK, so in trying to be self-sufficient I’ve read about 500 posts (ok, slight exaggeration, just seemed like it) on the subject, learned a lot 🙂 but didn’t find a fix.
A solution was referenced here, but it doesn’t *quite* work, as referenced in #post-102992 farther down the same page (not linked so this doesn’t get caught in moderation).
So I’m simply looking to make the default landing/open tab on the Site-wide Activity page be ‘My Groups’ instead of ‘All Members’.
I messed around in index.php with ‘selected’ and some of the fixes discussed, but no joy.
I saw this: define( ‘BP_GROUPS_DEFAULT_EXTENSION’, ‘forum’ ); out there too for Groups pages, and wondered if there was a way to use it on the SWA page?
This was referenced as far back as here by @modemlooper who made a great analogy to the potential of an overwhelming feed. However, in following multiple threads from there, I still haven’t found a solution.
Anyone point me in a direction?
Thanks!
WP 4.1.3
BP 2.2.3.1
Yeah, I checked. This no longer works at all
<div id="pag-bottom" class="pagination buddypress">
<div class="page-count" id="member-dir-count-bottom">
<?php bp_activity_pagination_count(); ?>
</div>
<div class="page-links" id="member-dir-pag-bottom">
<?php bp_activity_pagination_links(); ?>
</div>
</div><!-- END PAGINATION -->
Why the dependency on AJAX? Any pointers to implement traditional pagination? I’m sorta stuck now.
I cannot connect a private/hidden forum to a group. I even tried creating a new (hidden) group, specified that it has a forum. The forum gets created and is assigned to the group through wp-admin. But if I browse to the forum tab in Buddypress, it says the group does not have a forum. The only way i can get a forum to work is if i make it public.
please how can i hide the new registered member update, from activity streams?
Have tried to use the BuddyPress Block Activity Stream Types, but it not working.
Please i need urgent assistance.
Thanks
I posted the same question and no one answered me. This seems to be a common issue with all WordPress/BuddyPress installs (I have a separate WordPress install and the same thing occurs), so it seems to be inherent in the responsive CSS code or something.
This was my question:
https://buddypress.org/support/topic/toolbar-empty-for-mobile-logged-out-users/
These other threads also seems to be talking about the same, or a similar issue:
https://buddypress.org/support/topic/buddy-bar-not-displaying/
https://buddypress.org/support/topic/how-to-show-secondary-navigation-menu-to-logged-out-users/
Doesn’t anyone have any advice, since it’s affecting so many of us?
And no, it was not due to a conflicting plug-in or a theme. Tests were done when the site was just installed with the default themes. The links shows up correctly on desktop, and on my Nexus 7 2013 (1200×1920 resolution) ONLY when it is in landscape mode, but not when it is portrait (empty, black bar is show). And the same empty black bar is shown on my Galaxy Note 3 (1080×1920 resolution) in both portrait and landscape. So it doesn’t seem to be due to just the horizontal resolution – but perhaps the the full (horizontal x vertical) resolution or something.
It’s pretty frustrating.
Thank you. But still did not solve my problem. He appears in the members and activity page, but the web page still does not appear, as the home page and admin manager. Has no solution for this?
I’m trying to edit the plugin BuddyPress Fistr Letter Avatar because it changes the avatar everywhere the site taking the value of the first letter of the name of the user. But always when I try to use a value of xprofile field it does not work the way I want.
Has no solution for this? Any suggestion?
Previous snippet changed all avatars (user, blogs and groups) which is not what you want. Here’s a snippet which works almost correctly, but not to 100%. Give it a try anyway.
It changes the user avatar depending of an xprofile value.
(add to bp-custom.php)
function bpfr_my_new_avatar_url() {
global $bp;
if( bp_is_user() && ! bp_get_member_user_id() ) {
$user_id = bp_displayed_user_id();
} else {
$user_id = bp_get_member_user_id();
}
if ( is_page( 'activity' ) ) {
$user_id = bp_get_activity_user_id();
}
$ranking = xprofile_get_field_data ('ranking', $user_id );
if ($ranking == "Top 25") {
$url = get_stylesheet_directory_uri() .'/custom_img/25.png';
}
if ($ranking == "Top 24") {
$url = get_stylesheet_directory_uri() .'/custom_img/24.png';
}
return $url;
}
add_filter( 'bp_core_default_avatar_user', 'bpfr_my_new_avatar_url' );
Create a profile field called “ranking” with 2 options (top 24 & top 25).
Create a folder in your child-theme called “custom_img” and add 2 pictures: 24.png & 25.png (250×250)
If everybody must those avatars, disallow avatar upload in BP settings.
Site default avatar stays as Mystery Man (wp default setting).
You have also to get rid of Gravatar, so you must add this to bp-custom.php
add_filter('bp_core_fetch_avatar_no_grav', '__return_true');
The thing who doesn’t work is related to X & Y are now friends. Both willhave the same avatar.
Can probably by better improved.
WordPress v 4.2
BuddyPress v 2.2.3.1
Over written template files
theme
– buddypress
— activity
—— index-directory.php
—— post-form.php
—— entry.php
index-driectory.php
`<div class=”activity” role=”main”>
<?php bp_get_template_part( ‘activity/activity-loop’ ); ?>
</div><!– .activity –>’
entry.php
<li>All entry stuff</li>
post-form.php – Not the problem.
When I click “Load More”, all that happens is the buttons style is set to display none.
Any ideas? Also, is it possible to use the old style of pagination. I remember posting here and someone said this was no longer supported on Activity Streams?
Thanks in advance.
I am using buddypress 2.2.3.1 and bbpress Version 2.5.7
BuddyPress does not call class phpmailerException so the error is from something else on your site.
Hi,
I am new to wordpress/buddypress. I have windows 7, WP v4.2 and BP v2.2.3.1. I am testing on localhost machine and have also setup a virtual host: buddypress.local:1234/WP
After activating buddypress (i have set the permalinks to other than default and checked anyone can register), when I try to register, the page just refreshes with all fields filled and the passwords fields reset to empty. How can I fix this? I have the default theme twentyfifteen enabled.
Further, any ideas on how can I test buddypress features? Do I need a buddypress compatible theme which exposes buddypress features in WP? Or can I use the default twentyfifteen theme to test buddypress features like groups, profile, notifications etc.
Hello!
While i register new user from buddypress after click complete registration its make error as below
Fatal error: Cannot redeclare class phpmailerException
I reinstalled it but error not gone so please help me for that
thank you
Hi guys,
I’ve made a small (private) plugin where an admin can make a friend connection between two users. For this, i’m using the friends_add_friend (see here) function.
As you can see in the previous Github link, the function accepts a third parameter called $force_accept. The docblock says Buddypress should not send a notification to the user. Problem is, the user keeps on getting emails from WordPress saying ‘x accepted your friend request’. I’m not sure if i’m doing something wrong, or maybe this is a bug in BuddyPress. I don’t want the user to get an email when an admin makes a friend connection between two users.
Thanks for the help!
WP: 4.2 (also had this problem in 4.1)
BP: 2.2.3.1
Hello, my site it’s display ERROR log as below:
PHP Error
– Strict – Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL)
– Location – wp-content/plugins/bbpress/includes/extend/buddypress/groups.php:28
– Call Stack
BP_Component->includes()
BBP_Forums_Component->includes()
BBP_Forums_Component->__construct()
bbp_setup_buddypress()
do_action(‘bp_include’)
bp_include()
do_action(‘bp_loaded’)
bp_loaded()
do_action(‘plugins_loaded’
Please help to FIX this. Thank you
> When i login as a user the buddy bar does not display at all.
@fugu78 BP/WP versions? Have you tried deactivating plugins except BuddyPress to check if issue is resolved i.e., plugin conflict?
@knutta you need to install bbPress then follow instructions at
Installing Group and Sitewide Forums
couple of pages of discussion in regards to some chat plugin with wp/bp recently:
Chat plugin?
in my limited experience, I would suggest nusoft’s av-chat since you are asking about incorporating video and having an option to save the videos. I don’t think there is any way to auto-mate moving saved video chats into bp – I think you’d have to admin in to your media server and pull files manually then add them to wp/bp yourself.
Maybe you would not need a live video chat plugin that saves files to add, perhaps something more like nusoft’s https://hdfvr.com/ which has a record video option, perhaps that could be incorporated in wp and bp with some custom button api or something (not sure, and if you explore that, let me know what you find out! I’d like to do that too!)
For just text chat with only a few people I like the free “quick-chat” plugin that is in the wp-repo.
Busier chat rooms have only worked for me using nusoft’s av-chat program or 123flashchat’s system. Everything else I have tried chokes after 20 users connect at the same time.
I’m looking into Jitsi and xmpp right now, if I can find some folks to work on an integration with these I may kick in some funding for it. Still learning php and java myself.
Just re-read your post, makes me think you could also use a screen recording software like corel’s videostudio or camtasia to “document all chat” – if you were involved in each one. Not sure what your project is really about, or what exactly you are looking to do, so a few random thoughts from another bp user, not yet a coder.
I have set my forum to the ‘rating level’ that will accept posts using phrases such as ‘porn’ and curse words…that being the case I was rather surprised when someone attempted to create a thread in a forum using a jokey phrase including the word porn and it wouldn’t allow the user to post. I checked the post, checked all the settings (I have no words in the blacklist – the forums are monitored almost 24/7 and we have a rather exclusive membership so I felt this was unnecessary at the present time) and there seems to be nothing amiss so the reasons for this being done are a mystery to me. I am able to add the extra words in the sentence in the CMS but this is not something I wish to have to do every time someone wants to refer to something specific like this.
Is there a reason why this would be happening?
I have recently upgraded to the latest versions of Buddypress (2.2.3.1) and BBpress (2.5.7) and also was upgraded to WordPress 4.2 this morning but there were no issues.
The site is set up to work with the Firmasite template but I have tested this on the other templates and as it works when I remove a single word from the actual post I know that it HAS to be some hidden filter somewhere that I am unable to remove.
My site is found at http://www.bewitching-fiction.com
Thanks.
What version of BP are you using?
Have you seen this?
when i go to view a profile or anything that has to do with buddy press. this appears:
<b>Warning</b>: strstr(): Empty needle in <b>/home3/filmfilm/public_html/wp-content/plugins/buddypress/bp-core/bp-core-filters.php</b> on line <b>641</b>
this appears as the name of my tab. as the <title> when i go to view source. what does this mean and how do i get rid of it?