Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddyboss'

Viewing 25 results - 101 through 125 (of 679 total)
  • Author
    Search Results
  • #323383

    In reply to: How to use bp hooks?

    savantking99
    Participant

    that is my own function: line 48.

    and this is the doucumentation from buddyboss:

    apply_filters( 'bp_members_signup_error_message', string $value, string $fieldname )

    So I pass two arguments.

    #323381

    In reply to: How to use bp hooks?

    shanebp
    Moderator

    You need to look at themes\buddyboss-theme-child\functions.php : Line 48 to see what arguments are passed in the filter hook and then change your function to include all those arguments.
    And the ‘2’ in
    add_filter( 'bp_members_signup_error_message', 'function_voornaam', 10, 2 );
    needs to equal the number of arguments passed in the filter hook.

    #323379

    In reply to: How to use bp hooks?

    savantking99
    Participant

    thank you. But then I get this error:

    
    Fatal error: Uncaught ArgumentCountError: Too few arguments to function function_voornaam(), 1 passed in E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php on line 303 and exactly 2 expected in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php:48 Stack trace: #0 E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(303): function_voornaam('show_messagge') #1 E:\Xampp\htdocs\wordpress\wp-includes\plugin.php(189): WP_Hook->apply_filters('show_messagge', Array) #2 E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php(66): apply_filters('bp_members_sign...', 'show_messagge') #3 E:\Xampp\htdocs\wordpress\wp-settings.php(546): include('E:\\Xampp\\htdocs...') #4 E:\Xampp\htdocs\wordpress\wp-config.php(97): require_once('E:\\Xampp\\htdocs...') #5 E:\Xampp\htdocs\wordpress\wp-load.php(50): require_once('E:\\Xampp\\htdocs...') #6 E:\Xampp\htdocs\wordpress\wp-blog-header.php(13): require_once('E:\\Xampp\\htdocs...') #7 E:\Xampp\htdocs\wordpress\index.php(17): require('E:\\Xampp\\htdocs...') #8 {main} thrown in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php on line 48
    
    #323375

    In reply to: How to use bp hooks?

    savantking99
    Participant

    Yes, I have done that. So the complete code is then like this:

    add_filter('bp_members_signup_error_message', 'function_voornaam');
    
    function function_voornaam($value,  $fieldname)
    {
    
        if ($fieldname == 'field_1') {
    
            return '<style>{font-family:bold}</style>  you have to enter name.';
        }
    }

    But then I get this error:

    
    atal error: Uncaught ArgumentCountError: Too few arguments to function function_voornaam(), 1 passed in E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php on line 303 and exactly 2 expected in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php:49 Stack trace: #0 E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(303): function_voornaam('show_messagge') #1 E:\Xampp\htdocs\wordpress\wp-includes\plugin.php(189): WP_Hook->apply_filters('show_messagge', Array) #2 E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php(68): apply_filters('bp_members_sign...', 'show_messagge') #3 E:\Xampp\htdocs\wordpress\wp-settings.php(546): include('E:\\Xampp\\htdocs...') #4 E:\Xampp\htdocs\wordpress\wp-config.php(97): require_once('E:\\Xampp\\htdocs...') #5 E:\Xampp\htdocs\wordpress\wp-load.php(50): require_once('E:\\Xampp\\htdocs...') #6 E:\Xampp\htdocs\wordpress\wp-blog-header.php(13): require_once('E:\\Xampp\\htdocs...') #7 E:\Xampp\htdocs\wordpress\index.php(17): require('E:\\Xampp\\htdocs...') #8 {main} thrown in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php on line 49
    
    sx1001
    Participant

    Funny, just as I posted, I saw this on github:
    https://github.com/buddyboss/buddyboss-platform/issues/1199

    But this was created only concerning the REST API.
    This happens also directly in the frontend… We have this situation every week once or so … ๐Ÿ™

    #322808
    shanebp
    Moderator

    BuddyBoss is a fork of BuddyPress. The respective codebases have diverged, as all forks do.
    If you are using BuddyBoss – you should use their support ticket system.

    #322807
    bikerflyeradmin
    Participant

    I have been trying to figure this out for quite some time. I really do not understand who, if anybody, would want to destroy every image uploaded to a website. It seems everyone would want nice images. I am running buddyboss, which is built on buddypress, and even the images uploaded to activity feed are absolutely destroyed. Changing wordpress compression quality does nothing. I makes absolutley no sense whatsoever.

    wackao
    Participant

    It would be a mix of BuddyPress and BBPress. The main challenge is that it has to be fast, without page loads. We already have the PWA framework on BuddyPress and are releasing new themes. Built on ReactJS , HeadLess Social network, super fast community framework. [ See video : https://www.youtube.com/watch?v=lLDs4Ue1vzU ]

    Current BuddyBoss is legacy just like Buddypress. Working with Ajax calls , jQuery.

    prankster101
    Participant

    How easy is it to create a Reddit style site using WordPress / BuddyPress?

    Has anyone done this? What sort of effort is involved?

    Is it better to go with a more commercial solution like BuddyBoss, and look towards customizing that, or would you stick with vanilla BuddyPress?

    Thanks in advance.

    #322534
    wackao
    Participant

    This is BuddyPress, kindly seek support from BuddyBoss on it ๐Ÿ™‚ or simply migrate to BuddyPress

    #322519
    elysian21
    Participant

    Hi guys,

    I was wondering if someone can tell me how to allow an editor profile to deal with pending signups of buddyboss.

    When using adminimize or any other plugin, the signups and/or users are not showing in the dashboard of the editor.

    Best,

    #322493
    ibrar505
    Participant

    Hello,

    I would like to know if this is possible in Buddypress/Buddyboss.

    in the activity feed i can tag someone like @[username]. i also want to tag groups like @[group name]. will this be possible? any direction toward it would be very helpful.

    best regards,
    Ibrar

    #322461
    mounir0014
    Participant

    @wackao thanks for your response, i found where “Public” keyword comming from “..\wp-content\plugins\buddyboss-platform\bp-activity\classes\class-bp-activity-component.php” i want just override it and remove “public” option !

    #322429
    wackao
    Participant

    this is from buddyboss , buddypress does not have it ๐Ÿ™‚ , our theme WPLMS has similar controls like this : https://prnt.sc/22q00dh , however this is very specific to the buddyboss theme, contact their support or migrate to core buddypress ๐Ÿ™‚

    #322419
    wackao
    Participant

    BuddyBoss is not BuddyPress. Kindly contact BuddyBoss support or simply switch to BuddyPress and use a BuddyPress theme like WPLMS or Kleo.

    I think you are confused, forum by default do not have cover images. You have Group forums which have cover images coming form the group. The cover image should be enabled in groups from WP admin – Settings- BuddyPress – options

    #322404
    jpp22
    Participant

    Hello,

    New to the forum, been searching everywhere and I do not see this question asked anywhere.

    I am on:
    – WP 5.8.2
    – BuddyBoss Theme 1.8.1
    https://cnftcentral.io

    When groups/Forums are created By Members, the cover Photo for the Forum is missing…

    If you visit my site you will notice that all forums do have a cover photo but that’s because I went as an admin on the forum post and added the Featured Image manually. I really cannot go & add a Featured image each & every time a user starts a forum…

    Is there a way around this so the user cam apply a cover photo to, not only the group but, the forum as well? I really cannot figure this out, I have tried everything!

    Thanks in advance!

    #321504
    shanebp
    Moderator
    luice
    Participant

    Hi,
    I need help for changing the URL structure of the buddyboss member pages so that instead of the username, the URL contains the userid.

    For all the member pages.

    For eg:
    From: https://domain.com/members/johndoe/messages/
    To: https://plattslive.com/members/2/messages/

    From: https://domain.com/members/johndoe/*/
    To: https://plattslive.com/members/2/*/

    #321053
    shanebp
    Moderator

    Please send your questions to the creators of the buddyboss forms plugin.

    #321050
    mehak2777
    Participant

    But is it not possible from buddyboss forms?

    #321040
    shanebp
    Moderator

    Since you’re using the buddy boss forms plugin try using the BuddyBoss Platform instead of BP.

    #320872
    rfree190
    Participant

    On the activity feed, the three horizontal dots at the top right of the activity, used to be clickable by the post owner, or by admin. Somehow, that functionality is no longer there. Putting your mouse over the three horizontal dots does nothing.

    Tried on three browsers.

    But, if you find a post that has comments, you CAN click those “More Options” dots on the reply.

    Anyone know what’s going on?

    WordPress 5.8
    MemberPress Plus 1.9.21
    BuddyBoss Platform 1.7.6 (No BB Theme)

    #320624

    In reply to: Edit Activity Stream

    lflier
    Participant

    For removing mentions, this documentation may be useful. It’s for BuddyBoss, which is a fork of BuddyPress, but it looks like it would work:

    Try copying this into your functions file: add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );

    bp_activity_do_mentions()

    #320576
    Earl_D
    Participant

    Looking for a proven photo/media upload plug-in for BP. Tired Buddyboss media and media press but neither quite do the job. Open to any suggestions based on positive experiences

    #320356
    Mad-As-A-Writer
    Participant

    Just wanted to say a HUGE thank you to @tatiana_k, using your tutorial I was able to find the bp_nouveau_member_hook( 'before', 'header_meta' ); hook in the Buddyboss member-header.php and in that I added an action to insert a profile field “tagline” below a user’s name on their profile. So before, a profile showed the avatar and Name, then on the next line the @mentionname but now it shows Avatar, Name, TAGLINE FROM PROFILE FIELD, @mentionname etc.

    My code:

    /*Add profile field 'tagline' to member profile, below member name*/
    add_action( 'bp_before_member_header_meta' , 'insert_tagline_in_profile' );
    function insert_tagline_in_profile(){
        $webdata = bp_get_member_profile_data( 'field=Tagline' );
    	if( $webdata != false )
    	echo '<div class="member-tagline">' . $webdata . '</div>';
        }

    Note, if you are using a profile field like Favourite Quote, you would replace Tagline in the field above with your field, ie ‘field=Favourite Quote’.

    Thanks to Tatiana I was able to realise I needed bp_before_member_header_meta as the hook, by adding bp / before (from the bp_nouveaux function) / member (because it’s inside the member section) / header_meta (from the bp_nouveaux function).

    If you want another example, I was able to use it to display the same field in the Activity Feed, but in this case I ended up adding the code directly to a template file copied into my child functions.php instead of using the hook, because I wanted the data nested in with the name etc instead of on the line below, but in case it helps anyone, the code to add a profile field below the user info in the activity feed is:

    /*add Tagline to activity feed user info using nouveau loop - no good for me as it
    inserts after the user header instead of inside it*/
    add_action( 'bp_before_activity_activity_content' , 'insert_tagline_in_feed' );
    function insert_tagline_in_feed(){
        $profile_id = bp_get_activity_user_id();
          $tagline_data = xprofile_get_field_data( 'Tagline', $profile_id);
          if( $tagline_data != false ){
              echo '<div class="activity-tagline">' . $tagline_data . '</div>';
          }
        }

    Once again my heartfelt thanks!

Viewing 25 results - 101 through 125 (of 679 total)
Skip to toolbar