Anonymous UserInactive
hi @venutius
Sorry something went wrong with BuddyPress Links.
It appears this plugin has a specific way to build its component. It’s actually not using the BP_Component class.
I’ve run some test with branch 1.7 of the BuddyPress skeleton component (https://github.com/boonebgorges/buddypress-skeleton-component/tree/1.7) which is using the BP_Component class to set its example component. With this plugin, the directory page issue is not happening.
So i’d recommand the author of the plugin to use the BP_Component class making sure the Links component is set as active using this kind of code https://github.com/boonebgorges/buddypress-skeleton-component/blob/1.7/includes/bp-example-loader.php#L64
In 2.2 we’ve introduced a bp_is_active() check in the function bp_core_get_directory_page_ids(), i think it’s the reason why this problem has occured with this plugin. See https://buddypress.trac.wordpress.org/browser/tags/2.2.0/src/bp-core/bp-core-functions.php#L439
Hello, today I tried to update the buddypress to 2.2.0 I have problems. Lost the title on the page users and groups (screenshots). Before that, it was all OK 2.1.1 stood. I use the plugin SEO, Yoast me he generates the title. While returned 2.1.1.
4.1 Budypress WordPress 2.1.1 link site http://lovelovely.ru/
http://joxi.ru/WKAxZxqcZE7Om8
http://joxi.ru/wRmzR1MTYn8WmO
When sending a sitewide notice, they automatically show up where <?php wp_footer(); ?> is called. In the temlate I’m working on, they’re supposed to show up in the sidebar though, which is done like so:
<?php if ( bp_is_active( 'messages' ) ) : ?>
<?php bp_message_get_notices(); ?>
<?php endif; ?>
This causes the notices to show up in both places however. So my question is this:
how can I disable the messages from showing in the footer? I checked the code and saw they are registered as follows:
add_action( 'wp_footer', array( $this, 'sitewide_notices' ), 9999 );
Is there a way to hook into wp_footer and get rid of these messages or even a better way?
Thanks!
—
BuddyPress v 2.1.1
WordPress v 3.9.1
Link: I’m working on a local vagrant box
I use Buddypress links, I upgraded to Buddypress 2.2 this morning and on both my sites the links page no longer works.
I get following error message:
The following active BuddyPress Components do not have associated WordPress Pages: Links.
However when I go to repair it I see the association already exists
But when I try to view the links page I just get a blank page now.
Is this an issue for Buddypress or does Buddypress Links now need to change?
Take a look here for how it’s done in the default template.
What is the recommended responsive theme for BuddyPress 2.2?
None of the available themes looks appropriate while p2 theme seems fabulous as it can post blogs and media from the status message box or page-top textarea input. Has anyone tried this?
On quick testing I find that when we post a gallery of images, the image thumbnails are not shown in buddypress activity stream, as well as the text size gets small.
The other problem remains you cannot “Like” anything from the river to the actual content or from actual content to the river.
Hi all,
I try to use BuddyPress linked with iFlyChat.
I’ve got 5 different team in my society, with supervisors and agents. I need my agent to speak only with his supervisor.
I want to know if it’s possible in buddypress, to add friend only with admin/moderator right, which mean that moderator will send friend request to his team members and add them in chat. So supervisor will see all his staff, and agent will see his supervisor only (and cannot add other agent).
Thx for your support and sorry for my English 🙂
Hi @mrjarbenne
Using Twenty Fifteen with just BuddyPress and BuddyPress follow activated, I can’t seem to reproduce the problem. Can you provide some details of your set-up and open a Trac ticket so that it can be investigated? With the default theme and no plugins things should work so I’m a little puzzled. The core dev team will know more.
…as I don’ know diddly about php… where do I place it?
Ah OK. Take a look at the BuddyPress Template Hierarchy article which should explain how templates work in BP. You’ll need to create your own templates if your theme doesn’t already have them.
Anonymous UserInactive
Hi,
If “featured posts” are sticky posts, just tested on twentyfourteen with latest BuddyPress and i don’t see any troubles. Posts are listed above the other ones.
Anonymous UserInactive
Hi,
Sorry to read you’re having an issue after updating to latest version.
The problem is due to the BuddyBoss media plugin. It looks like it’s calling a BuddyPress function too early in the process. Unfortunately, it’s a premium plugin so it’s hard for me to find what’s going wrong. Could you contact the support team of this plugin to report the problem ?
If the support team needs any help, i’ll be glad to bring my hands on it.
Anonymous UserInactive
Hi @tranny
I’m sorry to read about the problem you’re having when activating BuddyPress. From what you’ve described it looks like a plugin or a theme is checking for a capacity very early in the process, well at least before the BuddyPress members component has been fully loaded.
BuddyPress hooks ‘plugins_loaded’ at a 10 priority and define its components a little while after. So your target is a plugin, a theme, or a specific code direclty loaded in global scope that is doing a current_user_can() before the action ‘plugins_loaded’ has been fired.
If you look at this page, you’ll see there are 3 actions fired before ‘plugins_loaded’ : https://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request
Searching the cause of the problem won’t be easy, if i were you i’d do a back up of your entire site and would do some tests on a local server making sure the local server environment contains a x-debug client so that it would display the different functions called before the error appears.
Hi @kkradel
Sorry to hear you’re having problems with 2.2. How has it broken Featured Posts — can you explain what you’re seeing, and also what you expect to see?
Did you update any other plugins, translations, or core files at the same that you updated BuddyPress?
Hi,
I wonder if it is something that is going to be added to buddypress, a live username availability checking? It feel that its a very important feature. Currently I’m using a plugin and it isn’t the fastest to check if the username is used.
All the best,
Here is an update. I tried doing the same thing but changed directory to mytheme/buddypress/activity/index-directory.php with disastrous consequenes. With the code you had mentioned, it leads to a blank page and with bp-activity-template.php suitably renamed and modified, it gives an error.
So, I guess, I will need to have the file in /mytheme/buddypress/activity and the name will need to be index-directory.php. But what goes in that file is still not known 🙂
Hello everyone, I am facing with this issue from quite a few days. I am a newbie to wordpress/buddypress and presently i am developing a site using buddypress. The issue i am facing is similar to what discussed in this but as you can see it dont give a full fledged solution until end. I want to restrict the non logged in users to view only the register and login page and they shouldnt be able to view any other page created on the fly.
Any suggestions are welcomed.
@henrywright, this is going to be one long conversation, I guess. And thanks for your patience.
OK. Went through the Codex page again. And, as I understood it, created mytheme/buddypress/activity/single/index.php with the code you had given earlier: ‘display_comments’ => ‘stream’. No effect.
Then I copied the whole bp-activity-template.php to the same location, renamed it as index.php and changed ‘display_comments’ => ‘stream’. Still no effect.
Obviously, I am doing something wrong. How do I get this right?
Also, note my earlier point. This change, when successful, only pulls the comments up — not the entire conversation on which the comment was made. But that was the effect I wanted. How do I get that achieved?
Lastly, I guess, I will need to make similar changes to other areas (display of group activity /members/username/activity/groups, favorites /members/username/activity/favorites — to be specific) or it is the same activity loop that generates those pages, too and changes at one place will reflect through all loops?
I’m using:
WordPress 4.1
Theme: Twenty Fourteen
I just upgraded to BuddyPress 2.2.0 about fifteen minutes ago – it totally broke “Featured Posts” and while we’re at it …
The Members widget has members staggered rather than in a straight flush left list.
Buddypress 2.2 was just released today with a couple of great new features.
Are there any plans to add user blocking/ignoring (silent block) to private messaging to address spammer and harassment issues? This is really one of the must have missing features for Buddypress.
Hi
I have been working on my theme BBFacelook for about 5-6 months now (really), more as a hobby then anything else but of course hope to publish it one day.
It is a work in progress but the end is in sight, almost done styling the activity wall and members profiles, few more functionality’s need adding and the bbpress forums need styling, but here are some images of my current progress:
Activity wall:

Thanks to a few clever plugin authors I have been able to add a “like” system, and changed Favorites to Following on most pages.

Profile:

The profiles have the option to change background image as well as avatar, I managed to add the links/buttons on both the avatar and background instead of the need of a nav-item.
I hope to finish the Buddypress side of my theme this month, I can only work on it a few hours a week, and I know nothing of Javascript or PHP so I am cutting and pasting until something works.
This does mean I am slow with progress, I will update as soon as I achieved my next goal ,the forum side of the theme which means digging into bbpress for a few weeks.
Peter Hamilton
btw. if anybody wants to test my activity wall and profile page.
BBFacelook
Username: demo
Password: demo1
The BuddyPress Codex explains how to do this here:
Theme Compatibility & Template Files
You were on the right track, but you are copying the wrong files from the BuddyPress core. If you want to override the BuddyPress Templates in your own theme, you would copy the files you wanted to override from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress to /wp-content/themes/myTheme/buddypress, just keep the file structure intact in your theme.
For example, if you just wanted to modify the members loop, copy just the members-loop.php file from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php and paste just that file to /wp-content/themes/myTheme/buddypress/members/members-loop.php in your theme. If the folders don’t already exist in your theme, just create them.
Hi there,
(w/p = 4.1; buddypress = 2.1.1; s2member = 150203)
I see it’s been asked before, but the suggestions I’ve found have only lead to out-of-date plugins, and I don’t want to base my new site on a plugin that may well be completely unsupported within a few months.
my aim: I’d like to ensure that all new members are signed up automatically to at least one group, if not to all 3 groups, so they can immediately be part of a small community.
Is there a way I can add some code into either a BP file or my (child) theme files to do this? I realise that I would have to be careful with updates, so perhaps a child theme functions.php file or similar? (I know the basics of code and how to insert in different files, but have very little knowledge of php, hooks etc so would need help with the exact code for this.)
All help much appreciated.
/wp-content/plugin/buddypress/bp-activity/activity-template.php is a core file and you are indeed right to think that any changes you make will be overwritten when you upgrade the plugin.
As I mentioned earlier, you should modify your activity template (sorry for not being clearer). The link I provided (to the BuddyPress Template Hierarchy) explains how you can create your own templates.
To explain what I meant about bp_activity_add(), you’d write your own function which contains a call to bp_activity_add(). bp_activity_add() will add an item to the activity stream for you. Hooks are a feature of WordPress, you can read more about them here. You’d hook your custom function to a particular action which will result in bp_activity_add() executing at exactly the time you need it to.
Hooks take a bit of getting your head around at first, but once you master them you’ll see how powerful they can be.
PS – When I crack it, is there any way I can contribute to the codex so other newbies like me have access to the stuff? How?
Sure you can! See the Participate and Contribute article for info on how you can help improve BP documentation.
Hope all this info helps! Give me a shout if you need any further help
I’ve got similar issues. On 2.1 you have create for all 5. I’m on this new 2.2 RC2 release and whenever I set a page for activate or register it correctly stores it in wp_options table as bp-pages array with the right ID. But those pages remain blank and the dropdowns on the Buddypress->Settings->Page also revert to “NONE” even though its correct in the database.