If you want to replace the activity post with recipes instead (eliminating the default ‘activity’) you could change the label of activity to “recipes” using this guide from the codex:
Change “Activity” component’s name and slug to something else.
If you want to keep the activity updates, and add a separate form for recipes, you will probably need to explore Custom Post Types. You’ll need to register a post type called Recipes.
These might help:
https://codex.wordpress.org/Function_Reference/register_post_type
http://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/
Then add it to the activity stream as a registered activity:
Post Types Activities
Users would need to use the dashboard to create a recipe update in this model, unless you created a front end recipe posting system using something like Gravity Forms:
https://gravitywiz.com/use-gravity-forms-to-create-user-submitted-posts/
There is now a plugin that allows you to easily add a new tab to the user profile page: https://wordpress.org/plugins/buddypress-custom-profile-menu/
Full disclosure: I am the plugin author 🙂
Forget it, it’s not possible or at least complicated See here why.
If you’re a coder, you could evtl. try this solution.
Hi-
Sorry for the slow reply, but here’s an update.
Since I posted the above, we’ve upgraded to WordPress 4.6. Also tried to upgrade BuddyPress again with the same result.
We’ve run this with the debug settings activated in the wp-config.php file but have received no error messages. Nor either in the wp-content/debug.php file, nor in the server’s php_log.
Thinking incompatibility issue with other obsolete plugins…testing now…will report…
Thanks!
I recently decided to completely restart my site, so I uninstalled wordpress and re-installed it. I installed buddypress and enabled the activity component. The page buddypress rendered is blank. It just says ‘Activity’ on-top. No activity is listed, even when activity is posted. I am trying to find the ‘Site-wide activity’ functions.
Buddypress only renders two pages when I install it. “Activity” and “Members”. I am running only the lastest version of buddypress and wordpress.
Anybody know what the issue could be :/ I searched long and hard before posting.
I’ve created a theme for WordPress + BuddyPress (almost ready) and will be hosting on Github soon for people to download.
Is there anyone here who would be interested to use this?
Initially I thought there was a need for a free BuddyPress theme but so far the amount of interest has been quite minimal.
Anyway, check it out http://buddycore.com/ you can register and you could help shape the first release of the theme if you are interested.
Thanks http://buddycore.com/register
I should add that you can upload your own logo and change the colours in this theme to match your community.
Not out of the box.
By default, a wp site is managed by roles.
Site admin, editors and so on…
https://codex.wordpress.org/Roles_and_Capabilities
Members management, including registering new user directly on admin dashboard (outside of the normal registering process) is only allowed for site admins and editors.
Another solution could be to use some conditionnal fields with help of a plugin. But before giving more information for that, please give more details about what you plan exactly and the context of the site.
For example, why must the teacher register his students ? Sounds a bit strange to me.
I’m unable to reproduce this issue on a single install.
– registered using alex@test.com as username and alex as name (BP’s name field)
– on his profile, aside the header avatar i see @alextest-com
Any member links works as expected.
Tested also on MS. Trying to register alex@test.com brings the following error msg:
Usernames can only contain lowercase letters (a-z) and numbers.
Is correct too and expected for usernames on a MS install. (see #17904)
Do you use custom code, login or social plugin related to login ?
What is your theme ?
Have you tested with a Twenty theme and all plugins deactivated ?
Most probably, you have to search about buddypress on the plugin repo:
https://wordpress.org/plugins/search.php?q=buddypress
No theme has a child theme. It’s to you to create one. That’s necessary if you whant to add custom style without loosing it at next update.
Sorry i don’t read chinese, but you’ll probably find some guidance on chinese WP codex
https://codex.wordpress.org/zh-cn:Main_Page
Hi guys, I created a custom notification that is added when an user receive a like on a custom post type.
All good unitl now, but I noticed that if the post receive 2 likes, from 2 different users, the user receive only the first notification and not the second one.
Any help would be really appreciated.
//Component declaration
if(!function_exists('my_custom_register_wiki_notification')) {
function my_custom_register_wiki_notification() {
// Register component manually into buddypress() singleton
buddypress()->my_custom_wiki = new stdClass;
// Add notification callback function
buddypress()->my_custom_wiki->notification_callback = 'my_custom_wiki_like_format_notifications';
// Now register components into active components array
buddypress()->active_components['my_custom_wiki'] = 1;
}
};
//Notification format declaration
if(!function_exists('my_custom_wiki_like_format_notifications')) {
function my_custom_wiki_like_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
// New custom notifications
if ( 'my_custom_wiki_like' === $action ) {
$wiki_post = get_post( $item_id );
$post_title = get_the_title( $item_id );
$custom_title = sprintf( esc_html__( 'Your post "%1$s" received a like', 'my_custom' ), $post_title );
$custom_text = sprintf( esc_html__( 'Your post "%1$s" received a like', 'my_custom' ), $post_title );
$custom_link = get_permalink( $item_id );
// WordPress Toolbar
if ( 'string' === $format ) {
$return = apply_filters( 'my_custom_wiki_like_format', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
// Deprecated BuddyBar
} else {
$return = apply_filters( 'my_custom_wiki_like_format', array(
'text' => $custom_text,
'link' => $custom_link
), $custom_link, (int) $total_items, $custom_text, $custom_title );
}
return $return;
}
return $action;
}
}
//Function that add the notification when like is triggered
function my_custom_add_like() {
//...
//...
if(my_custom_is_wiki_like_notification_enabled()) {
bp_notifications_add_notification( array(
'user_id' => $post_object->post_author,
'item_id' => $post_id,
'secondary_item_id' => get_current_user_id(),
'component_name' => 'my_custom_wiki',
'component_action' => 'my_custom_wiki_like',
'date_notified' => bp_core_current_time(),
'is_new' => 1,
) );
}
}
Hi @sfarinsky! Let’s get the terminology right, that may be why you’ve had struggle searching for answers.
A Multi-Site is a collection of individual Sites (blogs). A Multi-Site runs inside one Network. It is possible to have Multi-Networks, which lets you run multiple Networks — all from the same set of WordPress files.
Multi-Networks are not exposed by default, and require extra plugins to enable and manage (they’re a fairly advanced option; I have no idea how they work, to be honest).
So, yes. You have a multisite and a network (though the latter is normally a technicality). 🙂
Single Sign-On (SSO) should “just work”. Multiple domains should also “just work”, though you need to have a plugin that helps you achieve SSO across a multiple domain environment (because WordPress sets authentication cookies per-site, and cookies set on one site can’t be read from another site).
If your question is how do you get domain mapping and single sign-on, I’d suggest this plugin: https://github.com/humanmade/Mercator
Hope this helps
OK, lots of plugins. I am pretty sure it must be caused by one of the other plugins, but unfortunately we can’t get any more detailed information from this error.
Do you have a test site / development site for this? What you really need to do is switch to a default WordPress theme and see if the error message still shows up.
If it does, then you’ll need to start deactivating your plugins until you find which one causes the error to disappear when you turn it off. Once you have that, maybe someone can look at the code for that plugin and try to understand what’s happening.
An alternative is to add some debug code to print a more useful error message, but that’s something that should also only be done on a test/dev site.
Help!
We are trying to build our sites, currently, I have multisite and I guess a network (still trying to wrap my head around this). We have buddypress and bbpress on the secondary forum site. Here’s what we’re looking to accomplish:
2 sites, main shop/site, forum
Both have different domains
-single sign-on
-same user credentials
-potential social integration with facebook
Users can buy our products from main site, post about them on forum from same name, etc.
Sounds simple, but we are having the hardest time!!
Is this possible? If so, how do we achieve this? I have scoured the internet looking for answers and am having no such luck.
Also, is it possible to have login without the WordPress page? Would like this as seamless as possible.
Hi,
It should be simple but I need help to solve it urgently. How can I convert back to buddypress registration page to original wordpress registration page?
I do not want to use only buddypresss registration page, I want to keep the rest but I couldn’t find any way to revert it back to default wordpres version.
Thanks in advance.
Hello @prabin04,
That, reloads each time click on Favorite/Remove Favorite button. So, I override BuddyPress function to add counter next to favorite button without page load.
Here is the LINK.
Hi guys,
thanks for the reply, I think you have miss understand what i mean.
At the frontend buddypress user page, every time any user login(include admin) when entered a wrong password is keyed redirect to the wordpress page. I would like to know you have any advice to show wrong password or user name entered instead of redirect to wordpress page.
And at the frontend buddypress user page, there is no forget password link, what if the user lost his or her password (exclude admin), how can the user receive it password thru email.
Wich file format do you use for your list ? Where is this list taken from: wordpress, private list,… ?
Pehaps you could use this plugin if you used CSV ?
For more details, check on WP codex how to achieve this task. BP shares users with WP and is not concerned directly by your question.
Try this one which use CSS – and is working !
Add the snippet to child-theme’s functions.php
function replace_some_admin_menu_icons() {
// dashicons-performance = f311
// dashicons-smiley = f527
// adminmenu is the ul ID
// the second ID is the li
// div is where the icon goes
?>
<style type="text/css">
#adminmenu #toplevel_page_bp-activity div.wp-menu-image:before {
content: '\f311';
}
#adminmenu #menu-posts-reply div.wp-menu-image:before {
content: '\f527';
}
</style>
<?php }
add_action( 'admin_head', 'replace_some_admin_menu_icons' );
Reference: WordPress Dashicons
Perhaps that filter hook is for filtering embeds in WordPress content? BuddyPress must have a filter for this. I’ll need to have a dig around…
This is confusing. Do we talk about group header image or site header image ?
The first post of the thread mention group header. You added yours saying “i have the same problem”.
It is not the same problem apparently !
As example, when i go to Lotus group, the group header image is in
<a id="header-cover-image" href=..../groups/lotus/"></a>
So i’m pretty sure my solution should work for the group header image.
Your custom-header-image is in a div, that’s right, but it is the general site header image.
You received an answer on your theme support, but i suggest you try it without the error:
The single group page
body.single-item.groups #custom-img-header
instead of (which is the group directory page)
body.directory.groups #custom-img-header
This one is working on my theme
body.single-item.groups img.header-img
I have an issue that only exists on BuddyPress on WPEngine:
When sub-comments are made in a BuddyPress group – and if the page is refresh, clicking delete on that subcomment gives me a 404 page, and reply does not work on subcomments either.
I made a screencast video demonstrating it: https://youtu.be/zkoGfzkN66w
The important things are:
* It needs to be a group subcomment – not just a comment.
* It needs to be a fresh reload of the page – just added the subcomment and deleting it without refreshing wont produce the issue.
The page I used in this video demo is: http://apoliticalcopy.wpengine.com/groups/test-group/
Unticking the Auto-refresh checkbox in buddypress options seems to make both work again, however when I select to delete a subcomment and there are multiple subcomments to it, it will either delete all subcomments, or all subcomments below on the same main comment.
Neither of these are solutions, and WPEngine say, that I should get in touch with you guys.
Please help.
Latest WordPress, Latest BuddyPress.
(P.S. It works on all simpler hosts like bluehost, pagely, hetzner, but client wants WPEngine)