-
Henry Wright replied to the topic BuddyPress 2.4.0 – Pietro in the forum Miscellaneous 9 years ago
@shanebp, funny you say that, since 2.4.0 dropped, I’ve been using 2013 on everything! My new favourite 20-something
-
Henry Wright replied to the topic Wish support was mobile friendly in the forum Requests & Feedback 9 years ago
Thanks for the feedback. I’m assuming this is feedback regarding the BuddyPress forum, rather than the BuddyPress software. In your own forum, you can change the location of the new topic form by modifying your theme. See the Theme Compatibility article for more info. Any questions you may have feel free to ask on their support…[Read more]
-
Henry Wright replied to the topic SuperUsers that are allowed to create users in the forum How-to & Troubleshooting 9 years ago
The person creating the user will need the
create_users
capability. By default, only super-admins and admins have it. But, you can add the capability to any role using theadd_cap()
function.Refs:
https://codex.wordpress.org/Roles_and_Capabilities#create_users
-
Henry Wright replied to the topic 2.4 Cover Photo's does not work with Graphene Theme in the forum How-to & Troubleshooting 9 years ago
I’ve reported it to the theme developer
Good idea. Hopefully they’ll be able to provide a fix!
-
Henry Wright replied to the topic BuddyPress 2.4.0 – Pietro in the forum Miscellaneous 9 years ago
Great stuff @imath and everyone else involved, 2.4.0 looks a truly fantastic release! Thank you 🙂
-
Henry Wright replied to the topic BuddyPress Site wide activity in the forum How-to & Troubleshooting 9 years ago
Check out
bp_parse_args()
. It’s super powerful when it comes to filtering the activity stream. -
Henry Wright replied to the topic Removing Xprofile fields in the forum Installing BuddyPress 9 years ago
It doesn’t help if I directly delete the field in the database.
That’s really weird. If you delete something from a database, usually it’s gone permanently
-
Henry Wright replied to the topic Adding profile fields to members directory in the forum Creating & Extending 9 years ago
Great to hear 🙂
Very cool yacht by the way! I’m going to visit my uncle’s this Thursday. It’s moored at Canvey Island while he does some restorations.
-
Henry Wright replied to the topic Adding profile fields to members directory in the forum Creating & Extending 9 years ago
There’s 2 ways of doing this.
1. You could modify the members-loop template (see the BuddyPress Template Hierarchy for details on how that’s done). See here. You would just add
bp_member_profile_data( 'field=the field name here' );
to the template.2. Add this to your theme’s functions.php file:
function add_info_to_members_loop() {
[Read more]
echo… -
Henry Wright replied to the topic Can we use tags to show posts in group activity stream? in the forum How-to & Troubleshooting 9 years ago
You can’t do that currently. The only way to add an item to the activity stream is with
bp_activity_add()
. See the bp_activity_add() article for more details. -
Henry Wright replied to the topic Custom Hook Help in the forum How-to & Troubleshooting 9 years ago
Take a look at the source where the hook appears. See here. You should see
do_action( 'bp_after_registration_confirmed' );
.This invokes all functions hooked to
bp_after_registration_confirmed
. So for example:function test() {
// The code here will be run.
}
add_action( 'bp_after_registration_confirmed', 'test' );In this particular case,…[Read more]
-
Henry Wright replied to the topic Custom Hook Help in the forum How-to & Troubleshooting 9 years ago
Can someone confirm if this code will ever be overwritten by an update to WordPress or BuddyPress?
Updating WordPress or BuddyPress won’t overwrite anything you have added to your theme, but updating your theme will do. The way around this is to create a Child Theme.
-
Henry Wright replied to the topic Can I @everyone when I message? in the forum How-to & Troubleshooting 9 years ago
You said group admins were a special case and not covered in the @mods command, would it be possible to have a shout to both admins and mods?
I’ve just released version 1.0.1 which lets you use both @moderators and @administrators within a group to mention group moderators and administrators respectively.
-
Henry Wright replied to the topic Custom Hook Help in the forum How-to & Troubleshooting 9 years ago
Could be a function name conflict? Try
happymunkee_hook_test()
just to be sure that’s not the issue. -
Henry Wright replied to the topic Feature Request – Group invites – invite all in the forum Requests & Feedback 9 years ago
Keep an eye on this ticket:
-
Henry Wright replied to the topic NEW! Buddy Member Stats & BuddyPress Community Stats in the forum Third Party Plugins 9 years ago
Thanks for these useful plugins @danbp!
-
Henry Wright replied to the topic Prohibit create groups with existing name in the forum How-to & Troubleshooting 9 years ago
If Group1 already exists, you can’t create a new group with the name Group1 or group1.
Hope that helps!
-
Henry Wright replied to the topic Prohibit create groups with existing name in the forum How-to & Troubleshooting 9 years ago
@danbp Thanks for testing! I don’t think everyone would want this in core because some websites need groups to have the same name. I could package it up as a plugin if there’s much interest in it?
-
Henry Wright replied to the topic Prohibit create groups with existing name in the forum How-to & Troubleshooting 9 years ago
I had some time this morning so wrote this: http://pastebin.com/7wBvs7MM
Note, I’m using a custom database query because I couldn’t find anything already available in the API.
-
Henry Wright replied to the topic Prohibit create groups with existing name in the forum How-to & Troubleshooting 9 years ago
Also should i be using the search_groups method for searching for an existing group with the same name or is there a different way?
BP_Groups_Group::search_groups()
will get you a list of groups that match the first argument you pass to it. But the snag is, name and description matches are returned. We only want name matches.An alternative…[Read more]
- Load More
@henrywright
Active 8 months, 1 week ago