Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 26,451 through 26,475 (of 94,560 total)
  • Author
    Search Results
  • #179460
    Rita84
    Participant

    Hi, my buddypress notifications template is missing. Please tell me how to create a simple notifications template. thanks

    #179459
    Rita84
    Participant

    Hi, please tell me how to create buddypress notifications template as it is also missing in my theme ? thanks

    #179457
    modemlooper
    Moderator
    #179445
    boblebad
    Participant

    Hi shanebp

    I have not installed xProfile. i’m using BuddyPress out-of-the-box sort of, i’ve bought a theme called Sweet Date, through that i have installed BuddyPress.

    I have checked every table in the database, nothing says anything about profile in any way.

    All the best
    Carsten

    #179439
    shanebp
    Moderator

    Have you activated groups via the checkbox on this screen?
    /wp-admin/options-general.php?page=bp-components

    Have you assigned a page to Groups via this screen?
    /wp-admin/admin.php?page=bp-page-settings

    The same and more info:

    Configure BuddyPress

    #179438
    shootingstar85
    Participant

    Hello,
    I am new to this and I am trying to get the BuddyPress plugin to work correctly. I installed the plugin from the wordpress dashboard. Then I created some user profile fields. Next, I was trying to create new groups, but when I am in dashboard, I go to ‘Groups’ then push the ‘add new’ button it takes me to a page with a 404 error. Im not real sure why it is doing this or what I need to do. I am wondering if I missed something when installing. Any help will be greatly appreciated! If you need more info just let me know.

    -Jen

    #179437
    boblebad
    Participant

    Thanks for your reply Henry ๐Ÿ™‚

    I can’t find anything that looks like that in the database, and when going through the table names, there isn’t anything that sounds like having something to do with xProfile ?

    I need to find the ID of the fields, so i can use them with BuddyPress Profile Progression “bppp_progression_block($user_id)”.

    All the best
    Carsten

    Michel
    Participant

    Hello,

    I working with WP 3.8.1, buddypress 1.9.2 and my them is from ElegantThem -> SimplePress.

    Every page has the same warning in the header -> Title tag.

    Warning: Missing argument 2 for bp_modify_page_title() in /home/adecs/www/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 344

    Warning: Missing argument 3 for bp_modify_page_title() in /home/adecs/www/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 344
    Page Title

    After a short chekt by google I see some WP site with the same error.

    Some body now a solution?

    Thank

    Michel B.

    etiennew
    Participant

    hello

    Word press 3.8.1
    buddypress1,9,2
    i can t put site cause it’s on local

    In the wordpress menu I would like to add a link to the buddypress user profile. I would like to create a new tab on my main menu called โ€œMy Profileโ€ that redirects to the unique buddypress user profile page. My problem is that these links are dynamic based on the username.

    What I would like to achieve:
    โ€“>User1 logs in and clicks on http://website.com/my-profile and is redirected to http://website.com/members/user1/profile/

    โ€“>User2 logs in and clicks on http://website.com/my-profile and is redirected to http://website.com/members/user2/profile/

    i have tried the solution of that old post where it was proposed to add the code below at the end of function.php of theme

    }

    // Filter wp_nav_menu() to add profile link

    add_filter( ‘wp_nav_menu_items’, ‘my_nav_menu_profile_link’ );
    function my_nav_menu_profile_link($menu) {
    if (!is_user_logged_in())
    return $menu;
    else
    $profilelink = ‘

    ‘ . __(‘My Profile’, ‘buddypress’ ) . ‘

    ‘;
    $menu = $menu . $profilelink;
    return $menu;
    }
    ?>

    but this one does not work certainly because it’s for old version of buddypress 1.5
    does anyone has a solution that suit the new version of Buddypress

    thanks a lot for answear.

    shanebp
    Moderator

    It is simple, if you use the correct parameter, anyway…

    Create a template overload of this file:
    \bp-templates\bp-legacy\buddypress\activity\activity-loop.php

    Then change this:
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    To this:

    <?php
    $friends = friends_get_friend_user_ids( bp_loggedin_user_id() );
    $friends[] = bp_loggedin_user_id();
    $friends_and_me = implode( ',', (array) $friends );
    $friends_and_me =  '&user_id=' . $friends_and_me;
    ?>
    
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . $friends_and_me) ) :  ?>

    Creating a template overload:

    Theme Compatibility & Template Files

    #179407
    robgranholm
    Participant

    Hi,

    I’m having trouble getting the buddypress members page to be protected with the membership plugin wishlist.

    I’m trying to specifically tell Wishlist to protect the members page, but can’t seem to target the correct filter. This is what I’ve tried, can someone correct this?

    add_filter(‘bp_get_template_part’, array(&$WishListMemberInstance, ‘Process’));

    #179403
    BuddyBoss
    Participant

    Not sure why it’s not working.

    For alternative spam plugins/solutions, there’s another more active thread going on here:
    https://buddypress.org/support/topic/stop-buddypress-spam/

    #179402

    In reply to: Stop BuddyPress SPAM

    BuddyBoss
    Participant

    Two more methods that help. I recently had a crazy spam attack – probably 300 fake signups per day. I implemented these two methods and it dropped to near 0.

    1. Change the /register/ slug to something unique. An example would be /create-your-account/, or something of that nature. It just needs to be unique and also make sense in a URL for your user. Spammers targeting BuddyPress look for /register/ as the signup page. It’s all automated so you want to filter them out at the first step.

    2. Add this to your functions.php file in your theme or child theme.

    It presents a dummy field that humans don’t see. Spambots will fill it out, and if the field captures a value it will reject the signup.

    // BuddyPress Honeypot
    function add_honeypot() {
        echo '';
    }
    add_action('bp_after_signup_profile_fields','add_honeypot');
    function check_honeypot() {
        if (!empty($_POST['system55'])) {
            global $bp;
            wp_redirect(home_url());
            exit;
        }
    }
    add_filter('bp_core_validate_user_signup','check_honeypot');

    Credits for #2 go to:
    http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/

    I edited it slightly to remove the required redirect. Add that back from his tutorial if you want to. It requires that you make an extra page to send the spammer to, and I personally think that’s not necessary. I actually want them to have no indication their signup failed.

    Vcize
    Participant

    For the last few days, I have been attempting to setup my activity feed similar to that of facebook where you can only see your friends and your own activities in the feed. I’ve read through dozens of posts on the topic, and have yet to find a solution. Is there one out there that exists and actually works?

    Here are the potential solutions I’ve seen brought up and the problems with them…

    1) Modify the activity loop.

    Why it doesn’t work: As far as I can tell, the function that filters the activity loop will only take one parameter, meaning you can filter by either friends activities OR your own, but not both.

    2) Buddypress Activity Privacy Plugin.

    Why it doesn’t work: Lots of people point to this as a solution, but as far as I can tell from messing around with it, it isn’t.

    Firstly, permissions can only be set when POSTING, not when VIEWING. That means if some random guy decides to post an update to everyone then I see it in my feed, even if I am not friends with him.

    Secondly, it only appears to work for some activities, like posting updates. If you change your avatar it will automatically be visible to everyone, not just your friends. This is true even if you remove the “everyone” option.

    3) WPMU plugin

    WPMU had a plugin a while back for accomplishing exactly this (only friends in yourself in activity feed). However, it was abandoned several years ago and now refers users to the BP Activity Privacy plugin mentioned above in #2, which as I explained does not actually accomplish the same thing.

    So, has anyone come up with a solution for this? I’m really surprised that I can’t seem to find anything given how often people seem to be looking for it.

    #179393
    Doremdou
    Participant

    Hello ๐Ÿ™‚
    If you uncheck the User Groups in Buddypress settings (first tab) you disable all the Group system that is why all your groups disappeared.

    I guess you are talking about the checking box on the FIRST tab of the buddypress settings, did you see the other one on the THIRD tab (called settings, just after the “Pages” tab) ? (at the top of the page)
    You have a box to check to allow/disallow users to create groups.
    Hope you are talking about that ๐Ÿ˜‰

    #179390
    danbp
    Participant

    Read here exclude_admins_mods

    Amy Morgan
    Participant

    I am very new to BuddyPress, so I apologize if this is a naรฏve question…

    I am having a hard time figuring out how I can show groups that are created by me without allowing the “User Groups” option. If I uncheck that box in Settings->->BuddyPress, then all the groups I have created disappear and are not visible. Without having “User Groups” selected, I can’t figure out how to create a group.

    Is there a way for the administrator to create groups and have them show on the site without letting the public create their own groups?

    Thanks,
    Amy

    WordPress 3.8.1 running BuddyBoss Child Theme
    bbPress 2.5.3-5249
    http://www.blendedscience.com/

    #179381
    CryptoSteam
    Participant

    Wow. Just installed Buddypress and it complements nicely with BBpress.

    #179379
    CryptoSteam
    Participant

    oooops… I got confused. It is BBpress not Buddypress plugin that I have installed.

    #179378
    Doremdou
    Participant

    Hi ๐Ÿ™‚
    Did you enable the messaging system in the first place?
    If not you can activate it in : Settings/Buddypress/ and on the first page, check the messaging box

    If you enabled this option already you should have a tab in your profil to send private message

    [Edit] Wait what do you mean by “forums”? there are no forums on buddypress, are you talking about bbpress?

    CryptoSteam
    Participant

    I have BuddyPress installed on the website. It’s awesome! However, I am unable to find the option to send private messages to other users on the forums.

    Is there any way to enable private messaging? It’s nowhere to be found!

    Please help!

    #179370
    danbp
    Participant
    #179369
    danbp
    Participant

    Hi @transmission,

    this is not the solution, but an example for your inspiration.
    The below shows how the notification counter can be moved/implemented on the toolbar.

    /* moving the notification counter from right to left */
    remove_action( 'admin_bar_menu', 'bp_members_admin_bar_notifications_menu', 90 );
    function bpfr_notification_ontheleft() {
    	global $wp_admin_bar;
    	
    	if ( !is_user_logged_in() )
    	return false;
    	
    	$notifications = bp_core_get_notifications_for_user( bp_loggedin_user_id(), 'object' );
    	$count         = !empty( $notifications ) ? count( $notifications ) : 0;
    	$alert_class   = (int) $count > 0 ? 'pending-count alert' : 'count no-alert';
    	$menu_title    = '<span id="ab-pending-notifications" class="' . $alert_class . '">' . $count . '</span>';
    	
    	// Add the top-level Notifications button
    	$wp_admin_bar->add_menu( array(
     /*'parent'    => 'top-secondary',*/  // this is the original position
    	'id'        => 'bp-notifications',
    	'title'     => $menu_title,
    	'href'      => bp_loggedin_user_domain(),
    	) );
    	
    	if ( !empty( $notifications ) ) {
    		foreach ( (array) $notifications as $notification ) {
    			$wp_admin_bar->add_menu( array(
    			'parent' => 'bp-notifications',
    			'id'     => 'notification-' . $notification->id,
    			'title'  => $notification->content,
    			'href'   => $notification->href
    			) );
    		}
    	} else {
    		$wp_admin_bar->add_menu( array(
    		'parent' => 'bp-notifications',
    		'id'     => 'no-notifications',
    		'title'  => __( 'No new notifications', 'buddypress' ),
    		'href'   => bp_loggedin_user_domain()
    		) );
    	}
    	
    	return;
    }
    add_action( 'admin_bar_menu', 'bpfr_notification_ontheleft',30);
    /* other position # are 10, 20, 40, 50, 60, 70, 80, 90 */

    In your case, you also have to check this Codex page. And possibly do some research here.

    #179361
    @mercime
    Participant

    @blinkybill01 add height to the item-list li around 25px or more, up to you

    #buddypress div.item-list-tabs ul li { 
    height: 25px; 
    }

    Hey guys,
    I just wanted to post an update to this.

    @juanlopez4691 You’re a genius, the code still works! I’m running BuddyPress 1.9.1 now and it’s working smoothly. I think that you had some minor errors in your syntax though. Here’s the updated version:

    bp-custom

    // Add meta fields upon group creation
    function bp_group_meta_save ( $group_id ) {
    	$blog = get_blog_details( get_current_blog_id(), true );
    	
    	$fields = array(
    	'blog_id' => $blog->blog_id,
    	'blog_path' => $blog->path,
    	'blog_name' => $blog->blogname
    	);
    	
    	foreach ( $fields as $field => $value ) {
    	groups_update_groupmeta( $group_id, $field, $value );
    	}
    }
    add_action( 'groups_created_group', 'bp_group_meta_save' );
    
    function get_groups_by_meta ( $field, $meta_key, $meta_value ) {
    	global $wpdb;
    	
    	if ( is_string( $meta_value) ) $meta_value = "'" . $meta_value . "'";
    	
    	$sql = $wpdb->prepare( "SELECT $field from {$wpdb->base_prefix}bp_groups_groupmeta WHERE meta_key='$meta_key' AND meta_value=$meta_value", OBJECT );
    	$res = $wpdb->get_results( $sql );
    	
    	return $res;
    }
    
    // Build a list of groups with the matching blog_id value
    function get_groups_by_blogid ( $blog_id = 1 ) {
    	$list = get_groups_by_meta( 'group_id', 'blog_id', $blog_id );
    	
    	if ( count( $list ) ) {
    	$res = "";
    	foreach ( $list as $item ) {
    	$res .= $item->group_id . ',';
    	}
    	return substr( $res, 0, -1);
    	} else {
    	return FALSE;
    	}
    }

    groups-loop

    <?php 
    $current_blogid = get_current_blog_id();
    
    if ( $current_blogid > 1) {
    $groups_set = get_groups_by_blogid( $current_blogid );
    ( $groups_set !== FALSE ) ? $extra_args = '&include=' . $groups_set : $extra_args = '&include=-1';
    }
    
    if ( bp_has_groups( bp_ajax_querystring( 'groups' ) . $extra_args ) ) : ?>
Viewing 25 results - 26,451 through 26,475 (of 94,560 total)
Skip to toolbar