Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,001 through 12,025 (of 94,559 total)
  • Author
    Search Results
  • #263711
    r-a-y
    Keymaster

    This has nothing to do with BuddyPress, but it has to do with adding HTTPS support to your WordPress website.

    You have to either pay to get a SSL certificate or use the Let’s Encrypt service to get a free SSL certificate:
    https://letsencrypt.org/

    Then, configure WordPress to use SSL and this issue should be fixed.

    #263710

    In reply to: BP profile issue

    wonderdog4
    Participant

    WORDPRESS 4.7.2
    BUDDYPRESS 2.7.4

    #263709
    wonderdog4
    Participant

    WORDPRESS 4.7.2
    BUDDYPRESS 2.7.4

    I hope I am posting this in the right place. If not, I apologize.

    I am using the BP Login widget on seven different sites.

    Every page that this widget is on now says NOT SECURE when I’m viewing it in Chrome.

    I understand this is a new Chrome thing.

    Will this be addressed in a coming update?

    Thanks for letting me know.

    #263707
    livingflame
    Participant

    @anthonylawton

    Create a plugin with this. But, if you use BuddyPress Honeypot, this plugin not work.

    <?php
    /*
    Plugin Name: Restricted Email Domains
    Description: Restricts registration user email addresses to valid domains.
    From: http://old.webit.ca/2011/03/limit-user-email-domains-in-buddypress/
    Version: 1.0
    */
    add_option('limited_email_domains', array('yahoo.com', 'outlook.com', 'hotmail.com', 'gmail.com', 'aol.com', 'mail.com')); 
    #263703
    wonderdog4
    Participant

    Hi everyone.

    I have never posted here before, so please forgive me if I am posting in the wrong place or if this question has been asked before.

    I have been wondering about this issue for more than a year.

    Here is a screenshot

    At the very end of the profile update, there is a VIEW link. When we click on this link, it returns at 404 error. It does this on every profile and on every website on which we have installed BP.

    The file path from the root for this particular link is /members/activity/p/1322/

    It’s a small thing, but it really bugs me. So I would like to fix it if its in my control.

    Thanks in advance.

    Iuda
    Participant

    Hy
    it’s possible to add new tab ,like a link, in the buddypress profile page only for admin role ? i have a community site.

    #263695
    Psynema
    Participant

    Hello I have VideoZoom and the lastest versions of WP/BP and whenever a user logs into their profile page and uploads an avatar (not the banner image) the page displayed is UNSTYLED – ie menus as plain text and when uploading the avatar, it doesn’t display the picture/crop and the picture upload always is a few pixels when it should display the crop area.

    Any ideas? Cache’ing issue? Defering issue? Doesn’t happen on other pages, just on a picture upload. I have Cloudflare, Autooptimize, CompressJPG plug ins.

    Psynema.com if anyone wants to test out the problem and upload an avatar after logging in.

    #263690
    livingflame
    Participant

    Im searching for a function php code to adapt or compress avatars (profile, group) and covers.

    I found this, but only works with WP Media and rtMedia uploads.

    // Increase Image compression in WordPress
    function wt_handle_upload_callback( $data ) {
        $image_quality = 75; // Change this according to your needs
        $file_path = $data['file'];
        $image = false;
    
        switch ( $data['type'] ) {
            case 'image/jpeg': {
                $image = imagecreatefromjpeg( $file_path );
                imagejpeg( $image, $file_path, $image_quality );
                break;          
            }
    
            case 'image/png': {
                $image = imagecreatefrompng( $file_path );
                imagepng( $image, $file_path, $image_quality );
                break;          
            }
    
            case 'image/gif': {         
                // Nothing to do here since imagegif doesn't have an 'image quality' option
                break;
            }
        }
    
        return $data;
    }
    add_filter( 'wp_handle_upload', 'wt_handle_upload_callback' );
    add_filter( 'wp_editor_set_quality', function( $quality ) { return 75; } );
    kalico
    Participant

    I posted this issue on the BP Group Hierarchy forum, but it hasn’t gotten any attention. It occurred to me that maybe I should post it here. I hope this is the right place.

    The problem involves the BP Group Hierarchy plugin’s interaction with BP 2.7.x. In a nutshell, when BPGH is active, the “group members” count drops to zero. This does not happen with BP 2.6.3. I’m not the only person to report this since 2.7 came out. There are other reports on the BPGH page at WordPress.org.

    Background….

    I got some advice a while back (here on the BP forum) to update BPGH using a patched version created by @r-a-y. This fixed some issues I was having at the time, but ever since then I’ve been unable to update BuddyPress beyond 2.6.3. Every time I do, the group members count drops to zero across all groups — both on the main page of groups, and on the group’s own nav menu (e.g., Group Members: 152).

    The problem extends to the display of group admins and mods — e.g., my theme shows the admin and mod pictures at the top of the group page normally, but with BPGH activated, it says “No Admins” and “No Mods”.

    All the group members, including their status as admins and mods, is actually intact if I look at the group in Admin, but BP no longer displays them.

    This happens only with BP versions after 2.6.3. For this reason, I have not been able to update BP since then (sorry, didn’t have time to troubleshoot it in earnest until now!). When I update, the counts go away. When I rollback, it’s all fine.

    I should also mention that I’m experiencing this on a multisite, where BP is network-activated, and the root blog is defined (i.e., define(‘BP_ROOT_BLOG’, 20); in wp-config.php). However, I have tested it with BPGH activated only on the sub-site (root site) and also network-activated, and the problem is the same either way.

    I have tested against other plugin conflicts by disabling all plugins across the entire multisite, and enabling only BuddyPress 2.7. Then as I toggle BPGH off and on, I get member counts, or they go do zero. If I rollback to 2.6.3, then the counts are fine.

    Any help would be greatly appreciated. TIA 🙂

    #263663
    Slava Abakumov
    Moderator

    Sure, you will need to filter out the $arguments variable in my code for the required by you activity_type.

    You can put the resulting code into a separate custom plugin or in https://codex.buddypress.org/themes/bp-custom-php/

    #263653
    r-a-y
    Keymaster

    Not sure what your issue is, but after going through the removal steps, did you deactivate BuddyPress and reactivate it?

    If you have an object cache plugin active, you should purge your entire cache after removing the DB options so BP can reinstall its tables properly when you reactivate BuddyPress.

    #263652
    Slava Abakumov
    Moderator

    Super easy solution is to do like this:

    1) find or create a buddypress/activity/post-form.php file in your theme
    2) find in that file a textarea with id="whats-new" and add maxlength="143" to its attributes so it will become something like this:
    <textarea class="bp-suggestions" maxlength="143" name="whats-new" id="whats-new" cols="50" rows="10"....
    3) save and done.

    It will limit globally, though. If only in groups (not modifiying activity directory and profiles) – wrap it in a p_is_group() like this
    <textarea class="bp-suggestions" <?php echo bp_is_group() ? 'maxlength="143"' : '';?> name="whats-new" id="whats-new" cols="50" rows="10"....

    #263651

    In reply to: Group join the Group

    Slava Abakumov
    Moderator

    Team is a BuddyPress group.
    League – is the group type, read about it here: https://codex.buddypress.org/developer/group-types/

    This might be helpful for you too: https://codex.buddypress.org/add-custom-tab-to-groups-directory/ (leagues as tabs in groups/teams directory).

    #263649
    snorklebum
    Participant

    I migrated from Ning to Buddypress last year roughly following a very old guide. I had to manually tidy up the json exports and it only imported basic user information, posts and groups. We primarily used ning for events and I moved those in to events-manager myself.

    It took a lot of trial and error and if you’re not that technical I’d recommend paying someone to carry out the process, I just wouldn’t expect miracles.

    #263648
    Slava Abakumov
    Moderator

    I think, you can’t do that easily.

    Reason: BuddyPress activated and is working on subsite 1, where all of its tables created. Subsite 2 is completely independent site with even own list of users.

    To fix this: you will need to write quite heavy bridge, that will query the subsite 1 and asks each time whether user has there what you need on subsite 2.

    #263645
    Slava Abakumov
    Moderator

    Your task is a compilation of several steps.

    1) You need to add a custom field to BuddyPress registration form
    See this https://buddypress.org/support/topic/how-to-display-a-custom-field/ or similar (just google).

    2) You need to get the list of users by a member type to display in a <select> field created in 1).
    See https://codex.buddypress.org/developer/member-types/ and its “Querying by member type” section.

    3) In 1) you created and it’s also written how to store that data, I suggest using usermeta (update_user_meta()). You should store not the teachers names, but their ids in metas.

    4) Now you need to display this info in user profile.
    Investigate wp-content/plugins/buddypress/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php file, you will see there several hooks that may be useful for you. There you will just echo what you need.
    Example: get_user_by('id', get_user_meta(bp_displayed_user_id(), 'teacher_id'))->display_name; or similar using BuddyPress functions.

    #263643
    Slava Abakumov
    Moderator

    Currently there is no such plugin. Introducing this feature is quite heavy for the server, so it’s more like a custom solution, ideally with websockets.

    We use heartbeat functionality, that gives ability to show a notification about new activity records, but there are no plans to actually update old records due to lots of technical issues and time availability (all BuddyPress core devs are volunteers).

    #263642
    Slava Abakumov
    Moderator

    You can check this plugin: https://premium.wpmudev.org/project/ning-to-buddypress-user-importer/

    But before buying it’s better to contact their support and ask about compatibility.

    rageshr007
    Participant

    Hi…I m going through a tough time..Here is my setup…I had buddy press and BB press installed on my intra-net site…I have bb private groups created by department vice and create each department bbpres private forums which linked to respective departmental group from admin panel.(Froum -> create new->select Forum->Private. and on group -> create new group-> select status as private and enable ” Yes. I want this group to have a forum.” and select desired department forum from drop down)..Hope this is the correct steps i had followed…Intention is only members belongs to respective departmental group should be able to start and discuss a topics with in their departmental private forum.

    But when i go to a department group with a member log in of that group via front end…on forum tab add new topics option is there…But when i add new topic the ,pages refreshes and back to same add topic page..I cannot find any where the topic i had added..but few lines of the topic shows in the home tab of the buddy press front end.but not full content of the topic ..Then I had tried to add topic from admin panel..There i could add ..but that topic is not visible to receptive group forum tab from front end….Another wared thing ,i had already enabled “allow the group have its own forum ” option..But when i create a new group ,the wizard asking me to give forum name then on next step create forum for this group ,but this option is disabled ..I cannot make it “on” ..!!

    So i m confused how this BDP and BBP combination works…I had referred several videos on-line and all shows as simple steps…but i m not sure why i cannot have private group forum with topic the members can start and discuss on it…can any one shed light on this wared issue.!!!

    #263632
    alvarobm
    Participant

    Hello,

    I’m writing you from Spain…
    In our project we have a Ning Network but it already became
    old and not functional.
    We are looking to move to a Buddypress network. We found some
    information of 2010 about the migration of a Ning net to a Buddypress one.

    Still being possibilies to make that migration?
    And what about pricing?

    Thanks!

    #263631
    asimzaka
    Participant

    i have created a custom page in buddy press.
    First i created bp-custom.php file and added nav item and sub nav item in it. After it created a screen content function like this:

    function bp_custom_user_nav_item() {
        global $bp;
    
        $args = array(
            'name'                    => __( 'Gallery', 'buddypress' ),
            'slug'                    => 'gallery',
            'default_subnav_slug'     => 'gallery',
            'position'                => 100,
            'show_for_displayed_user' => false,
            'screen_function'         => 'bp_custom_user_nav_item_screen',
            'item_css_id'             => 'gallery-id'
        );
    
        bp_core_new_nav_item( $args );
    }
    
    add_action( 'bp_setup_nav', 'bp_custom_user_nav_item', 99 );
    
    function bp_custom_gallery_sub_nav() {
        global $bp;
        $parent_slug = 'gallery';
    
        //Add subnav item    
        bp_core_new_subnav_item( array(
                                     'name'            => __( 'Gallery' ),
                                     'slug'            => $parent_slug,
                                     'parent_url'      => $bp->loggedin_user->domain . $parent_slug . '/',
                                     'parent_slug'     => $parent_slug,
                                     'screen_function' => 'bp_custom_user_nav_item_screen',
                                     'position'        => 10,
                                     'link'            => $bp->loggedin_user->domain . $parent_slug . '/',
                                     item_css_id       => 'galley-main'
                                 ) );
    }
    
    add_action( 'bp_setup_nav', 'bp_custom_gallery_sub_nav' );
    
    function bp_custom_user_nav_item_screen() {
        add_action( 'bp_template_content', 'bp_custom_screen_content' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function bp_custom_screen_content() {
        echo "My content";
    }

    When user loged in user can view this page.
    I want to check page of other user. Like you can visit profile page of other user. It shows page not found.
    How can i all members can see each others page.

    #263629
    manishn
    Participant

    It’s too late for answering this question but will help someone else 🙂

    just put this code on your /plugins/buddypress/bp-activity/bp-activity-template.php file within this function bp_get_activity_action()

    if($activity_arr->type == 'rtmedia_comment_activity'){
    			global $wpdb;
    			$query = "SELECT activity_id FROM ".$wpdb->prefix."rt_rtm_media WHERE id='".$activity_arr->item_id."'";
    			$activity_id = $wpdb->get_var( $wpdb->prepare($query));
    			$activity = bp_activity_get_specific( array( 'activity_ids' => $activity_id ) );
    			$activity = $activity['activities'][0];
    			$action .= $activity->content;
    			
    		}

    Hope this help

    webshik
    Participant

    Hi there,

    Is there a plugin that anyone knows or a coding way that I would be able to display the buddypress activity feed which be able to update itself? I mean, now when someone at my website do action like update a post, the activity feed record this action, but if this user change the topic / date of this post or even if the user change his profile name / image – the activity feed still display the old record.
    I understand how it works like record the activity to a place to the DB and just print it, but does someone knows another different way to display a real time feed that updates the old feed?

    Also I need the activity feed to be flexible:
    display blog posts, buddypress activity, bbpress activity,
    admin customize like edit activity, delete, hide activity metas and filter.

    Please help.

    Thanks in advanced.

    #263624
    TheDream18
    Participant

    Hi team buddypress and everyone.
    I created bp-custom.php
    Added in /plugin/bp-custom.php

    and i added code to bp-custom.php as this link:
    https://gist.github.com/imath/5a3c4ac645ec765863f2

    But when i went to forum, it did not work.
    P/S: I intergated tinyMCE in to forum.

    Hope can get help. Thanks

Viewing 25 results - 12,001 through 12,025 (of 94,559 total)
Skip to toolbar