Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,801 through 10,825 (of 73,985 total)
  • Author
    Search Results
  • #266574
    paulio
    Participant

    Hi Brajesh

    Sorry, when I said ‘only the Login or Logout menu items show’ I thought it would be apparent that I meant that the Register link doesn’t appear on the menu whether I’m logged out or in.

    So, to be clear, I have added ‘Login’ and ‘Register’ to the default menu from the ‘Logged out’ Buddypress section, and ‘Logout’ to the default menu from the ‘Logged in’ Buddypress section.

    When I am logged in ‘Logout’ shows in the menu.

    When I am logged out ‘Register’ does not appear in the menu, only ‘Login’ does.
    As they were both added to the same menu from the same section of the ‘Add to menu’ options this can’t be expected behaviour surely.

    Many thanks

    #266571
    macordu
    Participant

    Hi, thanks for your answer. The repository you point was actually my starting point. I know it is far for complete 🙂

    I want to filter the response depending on who is doing the call, and for that I need the authentication. I understood it should the be done the same way as in WP Rest API. I just thought that when WP got the logged in user id via the oauth process, Buddypress would get it also (the same way that when you log in through the web page). But it does not. So I was just wondering if anybody has a clue on where or what to do about this.

    #266566
    livingflame
    Participant

    // Restrict Private Message to friends.

    Does not work with the new BuddyPress. ;-/

    #266563
    Eric
    Participant

    hi there,
    may i ask someone to help me with a mod of this script?

    i would need to autojoin my users who register a site/blog on my buddypress multisite install to a specific group (group for bloggers).

    how can i filter the script to only autojoin them?

    thanks a lot for your help!
    br, eric

    #266562
    hcthomas
    Participant

    Hi,

    First of all, thanks for a great plugin!

    I would like to include members’ own posts in their email digests. Is there a way to hook into some sort of setting to enable this by adding some code in function.php or similar? I wasn’t able to find any documentation on this for the current builds of bbpress or Budddypress.

    Site: ExumaNet.com
    Theme: Twenty Seventeen (child theme)
    Wordpress Version: 4.8
    Buddypress Version: 2.8.2
    BBpress Version: 2.5.12

    Related Plugins Installed:
    BuddyPress Group Email Subscription
    AsynCRONous bbPress Subscriptions

    By the way, this forum of the site is member’s only. Please provide a non-public channel and I’ll send you login and pw information.

    #266559
    khanhhoa1102
    Participant

    Oh my god right now…I just spent about 6 hours and visited just about every single page with codes and css to get ride of some of my profile links/tab things….broke my site at least one time…but FINALLY I have the solution so I am posting it here for the other poor souls like myself…you’re welcome.

    He uses CSS and its perfect and simple and doesn’t give 505 codes :/…

    a#user-settings, a#user-friends, a#user-groups{ display:none !important;}

    He also gives another way to do it permanently but we have decided to leave our functions folder alone for at least 48 hours…BTW…when you are editing for buddypress, which functions.php do you edit? Do you edit the theme functions or the wordpress functions or the buddypress functions…because at least one other site said the theme function, but if you change your theme, you obviously lose the fix.The other sites didn’t specify…so I’d appreciate that tip off if anyone knows..k great thanx :).

    John
    Participant

    I’m filtering the activity stream to only reflect friends/BuddyPress members (along with only new topics and replies) as follows:

    /* Filter Activity Stream to only display new topics and replies */
    function gk_filtering_activity_default( $query ) {
    if ( empty( $query ) && empty( $_POST ) ) {
    $query = ‘action=bbp_topic_create,bbp_reply_create&scope=friends’;
    }
    return $query;
    }
    add_filter( ‘bp_ajax_querystring’, ‘gk_filtering_activity_default’, 999 );

    However, I’m still seeing the members count in the “All Members” tab showing all users in the system, rather than just friends/BP members.

    Is there a recommended approach for filtering that number in the same way? I found the ‘bp_get_total_member_count’ filter, but I’m not finding a clear path for getting the right count.

    Thanks,
    John

    #266556
    TAC28
    Participant

    Thanks for the response, where do I find custom work for BuddyPress? 🙂

    Renato Alves
    Moderator

    BuddyPress has a API that you can use: https://codex.buddypress.org/component/private-messages/

    You can hook at the WooCommerce actions when sending the emails and send your private messages.

    Hope that helps! 🙂

    #266552
    Renato Alves
    Moderator

    The BP REST API does not have support for users yet. My guess is that the version you are using if imcomplete, missing support for several components.

    Check the work here for more updates: https://github.com/buddypress/BP-REST

    Hendra Setiawan
    Participant

    Is there any way to integrate Private Message with WooCommerce emails notification?
    Basically, I want to put every single WooCommerce notification email into user inbox.
    For example, when they’re purchase an item, they will get an email from the website. I want they also get the copy into their inbox (in BuddyPress Private Message).

    Is it possible to do?

    I tried to find the solution on the internet but still stuck.
    Thanks!

    #266544
    macordu
    Participant

    Hi. I am playing with BP rest API. I have bp version 2.6.2. I understand that for authentication, the WP REST API – OAuth 1.0a Server is needed. So I have installed it and have it working. After some debugging, I found WP correctly updates the user info, but buddypress does not get that information. And thus, for bp the user id is always 0. So bp_loggedin_user_id returns always 0. Is there something I am missing? Does buddypress or the rest plugin need to do any checking to work with the oauth server? Thanks!

    #266539

    In reply to: User Database

    Henry Wright
    Moderator

    And here’s the BP database diagram

    BuddyPress Database Diagram

    #266535
    paulio
    Participant

    Hi

    I’m just getting going with setting up a WordPress site. I have current version of WP, current version of BuddyPress, and the Twenty Seventeen theme in use.

    Under Buddypress settings’ pages tab hovering over the Register and Activate ‘View’ buttons shows what looks like the correct url, but when, for example, I click on the ‘View’ Register page button that url appears in the address bar, but then changes to the homepage url.

    I have added Login, Logout, and Register Buddypress items to the default menu under the theme customisation settings, but only the Login or Logout menu items show.

    Does anyone have any idea what’s going on please?

    Many thanks.

    #266534
    abdokouta
    Participant

    i would like to inquring about how to activate the ajax in side menu tabs to changing the content without reload the page.. i know that this topic have been posted like ahundred time but i’m trying to figure a solution but i couldn’t so any help??

    #266532

    In reply to: link broken?

    rnelson333
    Participant

    Never received any “support”. So deleted Buddypress, will try another option.

    #266531
    jimart
    Participant

    Hi we have BuddyPress installed is a site we are helping to develop. We did not set up the site so we are working with not knowing all the answers about how everything was set up.

    We first had an issue where the home page was not showing when BuddyPress was active. We updated WordPress and the other plugins and when we did that we got an error like this

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 524288 bytes) in /home/content/p3pnexwpnas10_data02/50/3590950/html/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php on line 811

    We have tried turning off all the plugins to see if any are interfering with BP but that only caused different errors We have not tried changing themes, not having developed the site we want to see if there are any suggestion here before we start changing themes and altering other plugins.

    Wordpress is up to date
    Thanks
    Jim

    rageshr007
    Participant

    problem solved. After some more research I found out that the problem was with my php memory limit. I initially tried to simply change the memory limit by adding define (‘WP_MEMORY_LIMIT’,’128M’); to wp-config.

    This thread helped me ..thanks
    https://buddypress.org/support/topic/resolved-admin-white-screen-upon-buddypress-activation/

    axew3
    Participant

    In the hope that the topic is inserted into the correct forum (i’m first time here and i’m little confused to be honest, in case so, please change this topic node location) …
    I’m checking the buddypress code into class-bp-xprofile-field.php because i need profile fields data when profile fields are updated by user, and i see three actions about profile fields update (there are more, but i need these) which are:
    xprofile_group_after_save, xprofile_field_after_save and xprofile_updated_profile. This last one is the only one that work. And i’ll go using this so, but asking to myself if there is any reason why, the other two instead fails?

    function action_xprofile_updated_profile( $user_id, $posted_field_ids, $errors, $old_values, $new_values ) { 
        // work fine
    }; 
             
    // add the action 
    add_action( 'xprofile_updated_profile', 'action_xprofile_updated_profile', 10, 5 ); 
    
        // define the xprofile_group_after_save callback 
        function action_xprofile_group_after_save( $array ) { 
        // not work
        }; 
                 
        // add the action 
        add_action( 'xprofile_group_after_save', 'action_xprofile_group_after_save', 10, 1 ); 
    
        // define the xprofile_field_after_save callback 
        function action_xprofile_field_after_save( $array ) { 
         // not work
        }; 
                 
        // add the action 
        add_action( 'xprofile_field_after_save', 'action_xprofile_field_after_save', 10, 1 );
    kodacollider
    Participant

    I had to disable activity update comments from displaying as their own items entirely to fix this, but it looks like doing so did. I used the code from this thread.

    function my_bp_activities_include_activity_types( $retval ) {
    // only allow the following activity types to be shown
        $retval['action'] = array(
         //   'activity_update',
            'activity_comment',
            'new_blog_post',
            'new_blog_comment',
            'friendship_created',
            'created_group',
        );
     
        return $retval;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activities_include_activity_types' );

    Weird issue all around.

    kodacollider
    Participant

    I’m getting a javascript error when trying to hit the ‘reply’ link from user profile activity feeds. The reply link works fine on other pages (such as after following the ‘View Conversation’ link), but on a user profile only this link is returning a javascript error:

    Uncaught TypeError: Cannot read property ‘slice’ of undefined
    at String.<anonymous> (jquery-scroll-to.min.js?ver=2.8.2:1)
    at Function.each (jquery.js?ver=1.12.4:2)
    at HTMLBodyElement.<anonymous> (jquery-scroll-to.min.js?ver=2.8.2:1)
    at Function.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.a.fn.scrollTo (jquery-scroll-to.min.js?ver=2.8.2:1)
    at Function.a.scrollTo (jquery-scroll-to.min.js?ver=2.8.2:1)
    at HTMLDivElement.<anonymous> (buddypress.min.js?ver=2.8.2:1)
    at HTMLDivElement.dispatch (jquery.js?ver=1.12.4:3)
    at HTMLDivElement.r.handle (jquery.js?ver=1.12.4:3)

    So I imagine it’s some sort of conflict with another plugin or my theme. I just need to figure out how to resolve it. It’s a bit odd that it works everywhere else on the site except for from a user profile page.

    Thanks for any help in advance.

    #266477
    n0madpl
    Participant

    Hey,

    The fix for that is coming in the next release of buddy press. Or at least for the part of the problem.

    You most likely get 50% of your problem from these two in my case with 6k users these amounted to the respective query execution times (from new relic), I also run buddypress + rtmedia (which is the source of this problem) as described in this ticket:

    bp_friends_prime_mentions_results() – Used by the Activity component’s @mentions to print a JSON list of the current user’s friends.

    bp_friends_prime_mentions_results – 10,000+ ms
    bp_core_fetch_avatar – 6,000+ ms

    Here’s a fix:
    https://buddypress.trac.wordpress.org/changeset/11561

    You’ll still likely stay with this massive query even for logged out users:
    WP_User_Query::query on average right now it’s at around 7,500ms.

    Good news is that with HHVM site runs much faster due to object caching straight after enabling it.

    I’ve also played around with various hosts, flywheel & wpengine sucked. What works well is Kinsta with HHVM enabled, they can also check your database and help you move to InnoDB if you’re using another one.

    Anyway man hope this helps.

    Best,

    M.

    #266474

    In reply to: PROFILE HELP

    Henry Wright
    Moderator

    How many profiles am I able to make with buddypress on my website, enough for a school community ?

    This should be fine. BuddyPress can handle a huge number of profiles quite easily. Note though, your server hardware will need to be good if there’s lots of site activity.

    Is it possible to create PREMADE accounts for all these people (students) ?

    Yes but you will need to custom code this.

    When people post on the main stream, is it possible for them to post anonymously BUT still logged into their accounts ? Just like ask.fm if anyone remembers that.

    Not by default. Each activity item is associated with a member. That said, what is displayed on the front end is entirely up to you (or more specifically, entirely up to your theme author).

    #266471
    aaronberrebi
    Participant

    Hi,

    First of all, i apologize for my english, i’m a french guy and everyone knows that french people aren’t the best in languages.

    I would like to change the posts in the activity stream and in groups to rates, let’s me explain :

    I would like people to be able to choose a product (nothing commercial) on a list or to add one, and to rate it.
    This function would change the posts type, the way people couldn’t enter any text or commens things, only rate.

    Of course, i am introduced to php developement but, i just met BuddyPress and i couldn’t understand the way it’s done.

    Thank you for any answer or time used to help me 🙂

    #266469
    samq
    Participant

    Hey buddypress community !!

    Background: I DO NOT KNOW AN AWFUL LOT ABOUT BUDDYPRESS, I’M A NEWBIE 🙂

    I have an idea in mind, but it requires me to create profiles for a lot of people, profiles for almost all the students in my school to be exact. Thus my first questions is going to be…

    How many profiles am I able to make with buddypress on my website, enough for a school community ?
    Is it possible to create PREMADE accounts for all these people (students) ?

    Secondly, I heard you can put activity streams on here (just like on facebook i’m pressuming?), which leads me to my second question…

    When people post on the main stream, is it possible for them to post anonymously BUT still logged into their accounts ? Just like ask.fm if anyone remembers that.

    Thank you very much in advance !!! 🙂

Viewing 25 results - 10,801 through 10,825 (of 73,985 total)
Skip to toolbar