Forum Replies Created
-
In reply to: Why don't group comments show to non-users?
go into the file and check if the code is there. BuddyPress should be installed on one domain. Is this multisite?
In reply to: Why don't group comments show to non-users?Switch theme and test. I know Twenty Fourteen has issues with bp
In reply to: Why don't group comments show to non-users?Did you remove the comment code from
buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php
or wrap the code in a check if user is logged in?
In reply to: Double navigation bars after Buddypress update?Contact theme developer and ask them to make their theme compatible with current BuddyPress. The template files supplied by Frisco are outdated.
In reply to: Double navigation bars after Buddypress update?Switch to Twenty Twelve theme and check. I’m sure this was theme related.
In reply to: regarding bp_core_new_nav_item.missing something from bp_core_new_nav_item
function my_add_doc_nav() { global $bp; bp_core_new_nav_item( array( 'name' => 'Document List', 'slug' => 'group-document-list', 'position' => 80, 'screen_function' => 'group_document_list_function_to_show_screen', 'default_subnav_slug' => 'group-document-list', 'show_for_displayed_user' => true ) ); } add_action('bp_setup_nav', 'my_add_doc_nav'); function group_document_list_function_to_show_screen() { add_action( 'bp_template_title', 'group_document_list_function_to_show_screen_title' ); add_action( 'bp_template_content', 'group_document_list_function_to_show_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function group_document_list_function_to_show_screen_title() { echo 'Documents for this group'; } function group_document_list_function_to_show_screen_content() { echo 'content'; }In reply to: Json api and buddypressThat plugin doesn’t have end points for BuddyPress
In reply to: Oh… Custom Sort of Group Membersif you need to filter the admin lists https://codex.buddypress.org/plugindev/add-custom-filters-to-loops-and-enjoy-them-within-your-plugin/
Plugin example: https://github.com/imath/bp-loop-filters
In reply to: Oh… Custom Sort of Group Memberspass comma list of group ids
$args = array( 'include' => '1,2,3' ); if ( bp_has_groups ( $args ) ) { ...In reply to: redirecting to old link,What links are pointing to wrong url?
In reply to: Json api and buddypressBuddyPress doesn’t have an API, what are you using to get json?
In reply to: Manually create activity postsIf it’s deleted it’s gone. Still confused about why the date or specific activity is important. How would you get group info if there are no groups?
This is how you manually add activity with code: https://codex.buddypress.org/developer/function-examples/bp_activity_add/
In reply to: Manually create activity postsI’m confused to why you need to recreate the group creation activity notice. When a user creates a group it posts an activity “xx created the group xx”
Also you seem to want an activity post to be sticky?
In reply to: Manually create activity postsNot going to be easy. So, you want to turn group activity into user activity?
In reply to: Wants to rename "notification" tabBP 1.9+
function custom_notification_menu_tabs(){ global $bp; if ( bp_is_user() && bp_user_has_access() ) { $count = bp_notifications_get_unread_notification_count( bp_displayed_user_id() ); $class = ( 0 === $count ) ? 'no-count' : 'count'; $bp->bp_nav['notifications']['name'] = sprintf( __( 'Alerts <span class="%s">%s</span>', 'buddypress' ), esc_attr( $class ), number_format_i18n( $count ) ); } } add_action('bp_setup_nav', 'custom_notification_menu_tabs', 201);In reply to: Want to change members profile sub menu tabfunction custom_profile_menu_tabs(){ global $bp; $bp->bp_options_nav['profile']['blog']['name'] = 'posts'; } add_action('bp_setup_nav', 'custom_profile_menu_tabs', 201);In reply to: Badly need some help with a profile field<?php echo xprofile_get_field_data( 'name of field' );?>In reply to: Add Friend, javascript overrideGreat!
In reply to: Mobile Stylingnew templates got pushed to 2.1
In reply to: Should I use BuddyPress for…All of those are good.
Check this site of more examples: http://www.bpinspire.com
In reply to: Add Friend, javascript overrideajax.php is for bp-default theme. Theme compatibility uses buddypress-functions.php
In reply to: Jetpack "share" button on activities?bbPress uses post types for topics and jetpack share works with post types. BP activity are not post types. A simple add action won’t work. When BP utilizes rewrite api jetpack will probably work.
In reply to: Disable admin barDisagree because the adminbar persists regardless of theme
In reply to: Looking for shared hosting for buddypress siteIn reply to: Add Friend, javascript overridetry
('#members-dir-list').on('click', '.friendship-button a', function() {