Search Results for 'wordpress'
-
Search Results
-
Hi, I see that there is a function
BP_Group_Member_Query::set_orderbyfor setting group member sort criteria, and I see that there are already [plans to implement this for BP](https://buddypress.trac.wordpress.org/ticket/1110), but in the meantime I’d like to allow a couple of options in my theme for sorting group members. Is there an easy way to go about that? I can’t seem to find the appropriate hooks/calls/functions.Topic: add new members to group
Hello
I have installed a buddypress forum plugin to my wordpress site, I want to set up a private/hiden user group for some members using buddypress group. After install buddypress, I am able to create a private group without any problems, but I couldn’t find a way to add members to this group. I have users listed on my main WordPress site. The registration for new users is desabled, because I want have only the admin to add/create new users, however, as the admin, I can’t find anywhere to add the users to the BP group as members.
Please help.
Li
Trying this one more time. I’m looking for a way to filter out or give a custom list of groups to a WordPress admin on a multisite installation. I’ve been looking at the bp-groups-admin.php file and attempting to figure out how to hook into or filter the groups that get displayed.
My attention hovers around the BP_Groups_List_Table class and prepare_items. While bp_has_groups() is being used, i’m not sure how i can change the list. I’ve done this before in our instances but perhaps the code here in the admin (or that i’m in the admin instead of the frontend) is throwing me off.
Help me see if either i’m blanking out or if this is possible. My function/filter starts out:
add_filter (‘bp_has_groups’, ‘l_admin_bp_has_groups’, 10, 3);
function l_admin_bp_has_groups ( $has_template, $groups_template, $r ) {if ( is_admin() ) {
// you’re in the WP backend, now get an array of group ID and these are the ones shown to the admin
}
}
Greetings. I’m looking for a way to filter out or give a custom list of groups to a WordPress admin on a multisite installation. I’ve been looking at the bp-groups-admin.php file and attempting to figure out how to hook into or filter the groups that get displayed.
My attention hovers around the BP_Groups_List_Table class and prepare_items. While bp_has_groups() is being used, i’m not sure how i can change the list. I’ve done this before in our instances but perhaps the code here in the admin (or that i’m in the admin instead of the frontend) is throwing me off.
Help me see if either i’m blanking out or if this is possible. My function/filter starts out:
add_filter (‘bp_has_groups’, ‘l_admin_bp_has_groups’, 10, 3);
function l_admin_bp_has_groups ( $has_template, $groups_template, $r ) {if ( is_admin() ) {
// you’re in the WP backend, now get an array of group ID and these are the ones shown to the admin
}
}
I’m looking for a way to filter out or give a custom list of groups to a WordPress admin on a multisite installation. I’ve been looking at the bp-groups-admin.php file and attempting to figure out how to hook into or filter the groups that get displayed.
My attention hovers around the BP_Groups_List_Table class and prepare_items. While bp_has_groups() is being used, i’m not sure how i can change the list. I’ve done this before in our instances but perhaps the code here in the admin (or that i’m in the admin instead of the frontend) is throwing me off.
Help me see if either i’m blanking out or if this is possible. My function/filter starts out:
add_filter (‘bp_has_groups’, ‘l_admin_bp_has_groups’, 10, 3);
function l_admin_bp_has_groups ( $has_template, $groups_template, $r ) {if ( is_admin() ) {
// you’re in the WP backend, now get an array of group ID and these are the ones shown to the admin
}
}
Hi people,
I’m trying to solve an issue between a plugin of mines and BuddyPress, I would be glad if somebody, I wish @boonebgorges, colud give me some advice.
So here’s the problem. I wrote a function to set an option for an alternative front_page if the user is not logged in. It works pretty good on WordPress, and here is how:
function sgrwp14theme_guests_homepage( $wp ) { // Special case: when a BuddyPress directory (eg example.com/members) // is set to be the front page, BuddyPress will force the page and this // will not work. We have to add a bp_core_get_directory_page_ids filter. $page = get_post( get_option( 'guests_page_on_front' ) ); if ( $page ) { if ( ! is_user_logged_in() && empty( $wp->query_vars ) ) $wp->query_vars['pagename'] = $page->post_name; } } add_action( 'parse_request', 'sgrwp14theme_guests_homepage' );As I wrote in the code comment, BuddyPress intercepts this and force the front_page if the original one was a BP Directory, so my previous code doesn’t work anymore in this case.
So I had a trick to make it work. Intercepting the
bp_core_get_directory_page_ids, unsetting the page id for the front_page component, in this way:function guests_bp_directory_page_ids( $page_ids ) { if ( ! is_user_logged_in() ) { if ( 'page' == get_option( 'show_on_front' ) && $page_on_front = (int) get_option( 'page_on_front' ) ) $front_page_component = array_search( $page_on_front, $page_ids ); if ( false !== $front_page_component ) // Disattivo la pagina in questione. $page_ids[$front_page_component] = 0; } return $page_ids; } add_filter( 'bp_core_get_directory_page_ids', 'guests_bp_directory_page_ids' );Anyway it doesn’t really work, because my original (for logged in users) front page is activity, and the bp_core_get_directory_page_ids filter I wrote made a behavior I don’t really want: the user home page will became the profile one and not the activity if the user is not logged in (www.buddypress.org/users/sgr33n/ -> profile page, http://www.buddypress.org/users/sgr33n/activity/ -> activity page).
Is there an alternative way to make this work?
Thanks 🙂
Hello,
I just installed the Buddypress update. It said 100% compatible according to author. I wish I had just left it alone. All my 200+ Groups show 0 members but when you click on the Members Tab within the Group they show. Also I am unable to set the email notifications for a Group to All Email under the Group Settings. This effectively renders my site useless. Please help! I am running the latest WordPress 3.8.1.
Topic: Profiles in profile
Hi,
We are going to create a platform to manage your pets (cats and dogs).
So we thought that Buddypress is the best solution to achieve this.But there are a few problems:
– people have to create their own profile and have to be able to add pets to their profile.For example my profile contains:
– my name, first name, age, avatar, …
– pet 1 (cat): name, age, gender, picture
– pet 2 (cat): name, age, gender, picture
– pet 3 (dog): name, age, gender, pictureIs there a good way to achieve this with plugins or do we have to write our own custom code?
I have experience with WordPress, but Buddypress is kinda new for me.Thanks in advance,
Dennis
Hello there, so I am pretty new to WordPress still but I am trying to set up a website that allows users to post their links into certain categories. It would have a kinda review system or something attached to the side of the links, but I’m not sure if that would be part of BuddyPress or not. I think BuddyPress can do this though, but if not, let me know! If it can, would someone mind sharing how to do so? I would greatly appreciate it. Thanks! Also, I drew up a basic idea of what I’m aiming for in Microsoft paint lol. http://i.imgur.com/NxqEZWj.png
How to have Privacy Settings enabled ?
I am trying this with a multi-user site using latest WordPress 3.9 Beta 3 +BuddyPress 2.0 Beta 1.Basically what I want is the most basic and most important feature of any social net (FB etc) or any social net script ( Elgg, Drupal Commons etc) whenever any user posts a blog or photo or anything he/she should be able to set the post for any of the following :
Public / Friends only/ Myself only
Added advantage will be if “Friends” can be grouped into various entities like co-workers | batchmates | etcThe user should be also able to make his entire profile private / friends only / public etc and be able to delete or make friends only activity stream items as wanted.