You want to create an event via the update form on the activity page?
afaik – that is not possible.
You can create events that will also generate an entry in the activity stream.
This plugin will do that: https://wordpress.org/plugins/buddypress-simple-events/
Hey BuddyPress team!
This is Dylan from The WP Valet and I think we’ve found quiet a strange bug on our client’s site.
I’ll cover how to replicate the bug, then provide all the debug information.
- Create a topic with a title of “Notifications” (this also works with “Notifications X Y Z…)
- Visit the BuddyPress toolbar and choose Notifications -> Unread
- This should bring you to your topic created instead of your actual unread notifications.
We noticed this was happening when there were two separate slugs that started with /notifications-x-y-z
After deleting the first /notifications, the second /notifications-x-y-z topic would start showing up when visiting unread notifications.
On to the debug information. 🙂
1. Which version of WordPress are you running?
WordPress 4.2.4
2. Did you install WordPress as a directory or subdomain install?
Subdomain
3. If a directory install, is it in root or in a subdirectory?
society.socialmediaexaminer.com
4. Did you upgrade from a previous version of WordPress? If so, from which version?
No.
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Yes.
6. Which version of BP are you running?
Version 2.3.3
7. Did you upgraded from a previous version of BP? If so, from which version?
Version 2.2.1
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Algolia Realtime Search – Version 0.1
bbPress – Version 2.5.8
bbPress Enable TinyMCE Visual Tab – Version 1.0.1
BuddyPress Notifications Widget – Version 1.1.1
Facebook Open Graph, Google+ and Twitter Card Tags – Version 1.6.3
GotoWebinar Button – Version 0.4
Gravity Forms – Version 1.9.13
Gravity Forms AWeber Add-On – Version 2.3
Gravity Forms Survey Add-On – Version 2.5
Header and Footer Scripts – Version 1.3.2
KB Backtick Comments – Version 0.2
ManageWP – Worker – Version 4.1.12
MonkeyPlugin – Version 1.0
myCRED – Version 1.6.3
Nav Menu Roles – Version 1.7.1
Respondo Pro Shortcodes – Version 1.0
Sticky Menu (or Anything!) on Scroll – Version 1.3.1
Theme My Login – Version 6.3.12
VaultPress – Version 1.7.6
W3 Total Cache – Version 0.9.4.1
Widget Logic – Version 0.57
Wishlist bbPress Integration – Version 1.0.2
WishList Memberâ„¢ – Version 2.90.2860
WP Crontrol – Version 1.2.3
WP External Links – Version 1.80
Yoast SEO – Version 2.3.4
9. Are you using the standard WordPress theme or customized theme?
Custom – RespondoPro – Version: 1.0.2
10. Have you modified the core files in any way?
No.
11. Do you have any custom functions in bp-custom.php?
No.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
bbPress – Version 2.5.8
13. Please provide a list of any errors in your server’s log files.
http://pastebin.com/A8iqmsKg
14. Which company provides your hosting?
Codero.com
15. Is your server running Windows, or if Linux; Apache, nginx or something else?
Linux, Apache, Varnish
Gardenia is not BP ready.
Create first a child theme. Add a new folder to wp-content/thems/
wp-content/themes/gardenia-child/
Now add a new file and call it style.css
Copy this header comment into it (/* & */ included):
/*
Theme Name: Gardenia-child
Description: child theme
Version: 1.0
Author: XXX
Template: gardenia
*/
Save.
In that folder, add another one called buddypress and another one in this folder called css
Go to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/css/ and copy buddypress.css file into the css folder you created in the child theme.
In legacy/buddypress/ directory, is a js folder. Copy the whole folder into child’s buddypress directory.
End result should be:
/gardenia-child/
/gardenia-child/style.css
/gardenia-child/buddypress/css/buddypress.css
/gardenia-child/buddypress/js/buddypress.js
/gardenia-child/buddypress/js/password-verify.js
Go to dashboard > Appearrance > Theme and activate Gardenia-child.
Done ! The theme shows BuddyPress properly.
-WordPress v4.3 on Root Directory
-BP v2.3.3
-No modifications to BP Core Files
-Site: fitscover.com
Hi All,
I’m having an issue with the notification drop-down (specifically the new post/activity of friends) where the URL of the user profile leads to the incorrect URL? (e.g: instead of http://www.site.com/username, it goes to http://www.site.com/username/sitename/members/username).
Thanks!
Hi-
We’re seeing the following httpd log error after upgrading:
[Fri Aug 28 07:49:46 2015] [error] [client redacted] WordPress database error Can’t DROP ‘meta_key’; check that column/key exists for query ALTER TABLE wp_bp_user_blogs_blogmeta DROP INDEX meta_key made by do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_setup_updater, bp_version_updater, bp_core_install, bp_pre_schema_upgrade, referer: https://redacted.org/wp-admin/
We’re running WordPress 4.3, BuddyPress 2.3.3, with BuddyPress Widget Theme 1.2.1 on top of BuddyPress Default theme 1.8.1
The only reference we’ve been able to find is this discussion about recent changes to BuddyPress that deals with switching DB tables to utf8mb4 and talks about using a “meta_key”: https://buddypress.trac.wordpress.org/ticket/6346
Any insights/suggestions for a fix would be much appreciated!
@sharmavishal,
read from here:
https://buddypress.org/support/topic/resolved-restricting-users-to-one-group/
See if you can do something with 2nd plugin mentionned in topic. If not able, you have to ask for on Group Hierarchy support.
We only support BuddyPress here.
@ericks89,
There is a way, if you use BBPress Signature. 😉 Modifying bbp_get_reply_content filter.
Here an example fetching 3 xprofile fields called Signature, Industry and Type. Change it to your need. Code goes into bp-custom.php or child theme functions.php
function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
// Default arguments
$defaults = array(
'separator' => '<hr />',
'before' => '<div class="bbp-reply-signature">',
'after' => '</div>'
);
$r = wp_parse_args( $args, $defaults );
extract( $r );
// Verify topic id, get author id and potential signature
$reply_id = bbp_get_reply_id ( $reply_id );
$user_id = bbp_get_reply_author_id( $reply_id );
// Get fields data. Caution: name is case sensitive.
if(function_exists('bbpress') ) {
$signature = xprofile_get_field_data( 'Signature', $user_id );
$wowi = '<br>'. xprofile_get_field_data( 'Service', $user_id );
$wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id );
}
else {
$signature = bbp_get_user_signature ( $user_id );
}
// If signature exists, adjust the content accordingly
if ( !empty( $signature ) )
$content = $content . $separator . $before . $signature . $wowi . $wowt . $after;
return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator );
}
if ( !is_admin() ) {
// remove the original BBPress filter
remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
// add our custom filter
add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 );
}
May this help. 😉
xProfile data is a BuddyPress thing and user meta is a WordPress thing. Which one you use will depend on whether you plan to always use BuddyPress. If not then taking the user meta approach will ensure your plugin will work on all WordPress installs (even when BuddyPress is deactivated).
@iseestarz
Activity wall – Yes – in core.
all members chat – private user to user email like messages in core. Chat rooms with plugins like “quick chat” – so yes
sleek custom profiles for members, -hard to tell what is “sleek” – custom? for each member? There are a couple of plugins that played with this – not sure how they work, if they’ve been updated lately.. modding how all profiles look to make them “sleeker” than default 2015 – theme – possible..
a paid membership option – that would be a plugin.. there are several that get into that.. s2member, paid memberships pro, ultimate member maybe? Some options from wpmudev as well I think.
A way to let paid members make their own post/articles on the homepage – hmmm.. maybe prevent non paid members from even creating a blog.. or you mean any activity posts on home page – I think these things are possible.. BP recently added “user levels” but I have not see much actually use that.. but extending this should be easy to some degree..
However if your focus is on paid members things, and you will need support to put all this together and keep it running (you are not a php coder with lots of time to read codex and test things) – then developing around BP is likely to get expensive, and you might be better off forgetting bp exists and looking at some of the more premium systems others have put together around wordpress (a few wpmudev plugins combined achieve what you describe without needing BP) – and there are others..
Of course you don’t have to look for such a system revolving around wordpress either – there are more mature social network options that may save you time and sanity – things like phpfox, boonex dolphin, oxwall..
random thoughts from a bp user.. I’m not a dev and have not tested all the things out there that get into paid members things and restrictions.. if you search the forums here there have been a few comments from others pointing to some other similar plugin options – and some people have pointed out troubles with some of those on the market.
The best advice I can give is to look at how some of the already-available plugins do it. XML Sitemaps is a good one to learn from. It might not cover BuddyPress pages but I’ve used it in the past and it worked great for me.
Wordpress version: 4.3
Buddypress version: 2.3.3
Is there any way to designate a user profile field for a forum signature? While searching for support at wordpress.org I found a topic saying as of version 1.4 you can designate profile fields for the signature field, however since 1.4 was quite awhile ago I just assume it’s changed.
Is there any way to create a user profile field to display as a forum signature? I’m using BBPress.
Thanks!
You can use it for free, but have to customize it with your own logotype.
See plugin repo how other plugins use it:
https://wordpress.org/plugins/search.php?page=1&q=buddypress
Official logos and colors for BP are here:
Official Logos and Typeface
BP is under same GPL license as WordPress.
https://wordpress.org/about/license/
Hi,
We have created a BuddyPress to PeepSo Migrator. I’d like to ask whether we are free to use BuddyPress logo in the banner on plugin listing in WordPress Plugin directory.
Please advise.
Kindest regards,
Eric Tracz
I have created a plugin specifically for this.
BP Private Avatars
Let me know what you think.
The easiest way would be to create your own widget, as this widget is in a core file (bp-members/bp-members-widgets.php). Then you can ignore the built in widget and use yours.
Line 307 > 309 is a div containing what you have to modify.
<div class="item-avatar">
<a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></a>
</div>
Change bp_member_name() to bp_member_user_nicename()
Code related to who’s online goes from line 247 to 390.
– Copy/paste it to bp-custom.php
– change class name to something unique. ie. class My_Whos_Online_Widget extends WP_Widget
– in __construct function, in $name replace (BuddyPress by Custom)
– modify the div content by replacing bp_member_name() by bp_member_user_nicename()
Done !
You have to register the new widget. In bp-custom
function register_my_custom_widget() {
register_widget( 'My_Whos_Online_Widget' );
}
add_action( 'widgets_init', 'register_my_custom_widget' );
Go to Appearance > Widget and select (Custom) Who’s Online Widget.
Finito ! 🙂
WP codex reference
Hi @danbp,
i have tried on other default wordpress theme, the mentioned users notification does not work on any of them.
i actually checked the notifications page, there has no notification for the mentioned action. so i dont think it might be a theme related issue. it seems like the notification event is not recorded in DB.
so to recap of what works and what does work:
the notification does not work if I mention someone in forum reply or in a forum topic.
Notification works for when i mention someone in buddypress activity streams.
i am using wordpress 4.3, the latest version of wordpress and i have a social community website wherein the users can have access to both forums and social networking , but the problem is the activity streams do not refresh automatically , i have to hit the refresh button on my browser.
can anybody suggest some plugins for the same. I am a newbie to the buddypress and wordpress community
@bfchris2, sorry, the file is here /bp-legacy/buddypress-functions.php
Hi all,
This may be an easy question to answer (I’m hopeful), but I’ve been unable to find a solution to my problem so far. I’m currently using WordPress 4.3 with BuddyPress 2.3.2.1 installed on my server. I have Extended Profiles enabled, and am using the plugin BuddyPress xProfiles ACL to manage custom extended profile groups assigned by user role.
I have two roles that I am working with primarily – ‘students’ and ‘institutions’. Each of these roles have their own unique group of profile fields, some of which have the same name (e.g., each role has an ‘Address’ extended profile field). Within the bp_members loop, I am usually able to obtain a given user’s extended profile data by using the following function:
$value = xprofile_get_field_data($field, $user_id);
where $field is the name of the field I want to retrieve a value from in all lowercase letters (e.g., ‘Address’ would be ‘address’). I have run into an issue when trying to get field data from a profile field that has the same name for two separate user role groups. Using the same field name for both user roles will only return results for one of the roles (the role where that profile field was first created). I’m assuming the extended profile field for one of the user roles is being stored in the database with a slightly modified name, but I am unsure of how to retrieve this name.
Is there a way to request all xprofile field names for a given group of users (or even an individual user)? If I can obtain a list of the xprofile field names – or more specifically, a list of strings I could pass to the xprofile_get_field_data function – I should be able to get all the data I am looking for.
If you could please help me solve this problem, it would be greatly appreciated.
Thanks a lot,
Cam
@mangelesgcl,
consider this plugin: https://wordpress.org/plugins/auto-terms-of-service-and-privacy-policy/
and read this plugin support topic:
https://wordpress.org/support/topic/buddypress-integration-11?replies=4
Other technique
Create a new page and add your terms of service. Save.
Add a new field to profile Base tab (the one which shows on register page).
Field title: Terms of Service
Field description: by checking this box you agree with our TOS. And a link to the page:
<a href='http://my-site.com/page_name/'>Read our Terms of Services</a> Caution: use single quotes to enclose the url
Field type: checkboxes.
Field option: custom and only one option: TOS ! Leave it unchecked.
On the right of the screen:
Field requirement: required.
Field visibility: only me and check Enforce field visibility
Guess we’re done !
While registering, if the checkbox is not checked, the process will stop and user will be adviced that he omited a field. Once he checked it, he can finish his subscription. This doesn’t mean he read your TOS, but you’re covered if you warned him to read TOS first. And ensure that the link is working and the page exist with content !
Depending your country law, TOS can be more or less regulated. It’s your responsability to get informed about that before using it.
Sorry for the late reply – I was on vacation. Thank you for referring me to that URL, Hugo. I will admit that I should have visited the ‘Getting Started’ page before installing BuddyPress and looked for big picture issues in the WordPress installation as opposed to zoning in on my specific problem.
I don’t know if an error message could be added letting the user know when the GD module is not installed on the server (perhaps this could be difficult…), but having some sort of indication of why the error was encountered would be helpful in debugging.
Thanks again,
Cam
You could also use this plugin. Exclude the URLs you want to be accessible to all. Everything else will be hidden, including from SERPS.
https://wordpress.org/plugins/jonradio-private-site/
Which theme do you use ? Seems you renamed yours to Test, and i was unable to find it somewhere.
Also, do you use a cache plugin ? If it’s the case, disable it or clear it while testing CSS.
I cannot put it in maintenance mode
This is not necessary if you had a local copy. I strongly recommend you do that if you want to manage correctly a high traffic site.
You can use a child-theme for your theme, not for BP which has no theme since 1.9. The one called bp-default is no more maintained and is only in for temporary backward compatibility for (very) old BP site.
BP use templates, which are stored in bp-templates/bp-legacy/buddypress/. Those templates are tailored to fit with almost any recent (and decently coded) themes.
Creating a child theme is explained on hundreds of sites and on WP’s codex. Additionnal infos for BP are given here.
I’m not sure what the “provider user identifier” is? If it’s something in WordPress Social Login, try asking the question over at their support forum. They should be up to speed on it.