Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 3,926 through 3,950 (of 68,970 total)
  • Author
    Search Results
  • #310162
    jnrjose
    Participant

    I am creating an online platform for a client where i use BuddyPress and gamipress. I want users to be moved from one group to another when the user earns a certain number of points .

    #310161
    Anonymous User 17603124
    Inactive

    Hi,
    I found the code to hide comments in the activity stream. Adds an additional button (show / hide comments)
    How can I add the number of comments for the current post?

    I have something like that made by @shay1383

    add_action( 'wp_footer', 'add_comment_hide_show' );
    function add_comment_hide_show() {
        ?>
        <style>
            .activity-comments ul li[id^="acomment-"]{display: none;}
        </style>
        <script type="text/javascript">
            jQuery(function($) {
                setInterval(function() {
                    $('.activity-meta').each(function() {
                        if( !$(this).find('.show-comments').length ){
                            var html = '<a href="#" class="button bp-primary-action show-comments">Show/Hide Comments</a>';
                            $(this).find('.button.acomment-reply').after(html);
                        }
                    });
    
                }, 500);
    
                $('body').on('click', '.show-comments', function(e) {
                    e.preventDefault();
                    var obj = $(this).closest('.activity-content').next('.activity-comments').find('ul li[id^="acomment-"]');
                    obj.slideToggle();
                    return false;
                });
    
            });
        </script>
        <?php
    }

    For comments button, the number of commentators is displayed by:
    <a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment %s', 'buddypress' ), '<span>' . bp_activity_get_comment_count() . '</span>' ); ?></a>

    But if I use it, the same number of comments appear under each post. How to make it work?

    #310160
    saifmnasri
    Participant

    hi , i have buddypress and gravity forms installed.
    when viewing another member’s profile, there will be contact form, friends can fill the form and submit a message to that member.

    #310157
    Manuel Camargo
    Participant

    OMG, after hours of tracking the bbpress code I’ve finally found the culprit

    The MOST stupid thing I’ve seen ever and is not even fault of Buddypress but BBpress!!!!

    For some reason, some illuminated coder decided that the site should be “indexable” in order to admit both BuddyPress notifications or mentions.

    So essentially I had the

    “Discourage search engines from indexing”, ticked off…

    I cry everytime

    #310156
    Manuel Camargo
    Participant

    Disabled just buddypress leaving bbpress enabled and tried bbpress notifications (on reply) and worked flawlessly…

    I’m missing something, maybe buddypress activity db has been corrupted? Any way to turn on max debug on buddypress?

    By the way, I’ve run all 4 tasks in the Tools section

    (Also I’m running on a custom VPS, so no issues possible with email limitations)

    #310155
    saifmnasri
    Participant

    hi , how can i add meeting request to buddypress
    i wan’t the user to send simple request, the admin approve it , then the other member can accept or refuse. is there any plugin to do that or can you give me code or is there any core function?
    and thank you

    #310154
    Manuel Camargo
    Participant

    Removed both buddypress and bbpress folders and redownload them, and nothing

    Also I’ve noticed that email notifications are not working for any users, although other plugins notificacions like Gamipress work right.

    But the weirdest thing is that reply notices are working right (in-site not email ones)

    #310153
    Manuel Camargo
    Participant

    Checking buddypress code, I see that there is a filter that controls this:

    function bp_activity_do_mentions() {
    
            /**
             * Filters whether or not mentions are enabled.
             *
             * @since 1.8.0
             *
             * @param bool $enabled True to enable mentions, false to disable.
             */
            return (bool) apply_filters( 'bp_activity_do_mentions', true );
    }

    But bp_activity_do_mentions has not been modified anywhere in the code (I’m using core default twenty twenty + just buddypress and bbpress)

    I’ve also tested the function bp_activity_do_mentions() in the functions.php and it is returning true.

    #310152
    Manuel Camargo
    Participant

    This is incredibly weird.

    I’ve installed a test site with just Buddypress + BBpress and did a mention and it worked fine.

    Then in the site where mentions are not working, I have disabled ALL plugins and put Twenty Twenty theme and tried again, and it doesnt work 🙁

    I have checked the apache2 error log and nothing there
    Also activated the WP_DEBUG but nothing…

    Mindblowing.
    It is like the at_mention hook is not being fired…
    The email notification for mentions is not firing either

    What could I be missing here?

    #310135

    Hello,

    I think my question would go here, although there have been some core updates since this posting. I will try to describe what I have and what I am trying to accomplish in detail in order that you can help me.

    –I have multisite installed with a buddypress supported theme.
    –I’d also like to use the YOUZER plugin (although not absolutely necessary).
    –Subsites have woocommerce stores.
    –Woocommerce accounts can be integrated with buddypress accounts (with varying plugins i.e. MyCred/Paid Membership Pro
    –Community is a paid membership

    I’d like a user to be able to purchase a membership at any subsite (shop), PLUS, have their (shop) account activity to be inclusive in their buddypress activity. Ergo…ONCE a membership is purchased – no matter WHAT site across the multi-site they sign into when they click (group/activity/members etc) it ALWAYS goes to the main (only) buddypress community.

    MyCred integration provides for their badges etc to follow them into the community. So, the question:

    Would the instructions given above in this thread hold true for the scenerio as I’ve described it?
    If not, are there other suggestions?

    Much appreciated….

    #310132
    keesjan
    Participant

    So anyone using private sections or tabs in buddypress? Any tips?

    #310112
    tinabali
    Participant

    Hi there, 

    If I use Buddypress, Memberpress, LearnDash, and Gamipress – which one of those plugins will be the dominating one? Like regarding log in etc.? 

    How will I be able to create a dashboard which features all of those features?

    Also, we have different tiers of membership, level 1 doesn’t get access to the community, level 2 and 3 do. So how do we exclude level 1 members to access our community? If they need to create their profile through Buddy Press then they will have automatic access, right? 

    How can we stop level 1 members from getting access to the community? How do all these plugins work together? 

    Warm wishes 

    #310098
    burhi
    Participant

    new installation default theme

    plugins: bbpress and buddypress

    rsuarez09
    Participant

    Hello guys,
    I have a relationship website and I would like to customize the Members Directory showing JUST man for woman, and just woman for man.

    There are two “member-type” man and woman (using buddypress member types pro plugin)

    I would like to create a member directory showing just the oposite member-type and removing the others users.

    Could someone help me with it? Thanks

    #310089
    iamthewebb
    Participant

    Hi,
    Those buttons don’t look like they are related to BuddyPress specifically, is this on the forums? If so buddypress uses bbpress so you may have more luck on their support forums https://bbpress.org/forums/

    thomei
    Participant

    @samtime
    Thank you very much!
    The following guide solves one part of the issue:
    https://buddydev.com/buddypress-better-registration-part-1-remove-full-name-confirm-password-from-buddypress-registration/
    Works very well!

    @ all!
    Now there are still 2 issues left:
    1) How to deactivate/grey the “display name” in the users profile settings?
    2) How to sync all “wp-usernames”, of all existing users, to the “display name”.

    shanebp
    Moderator

    Please use English on these forums.

    You can overload templates in your theme or child-theme.
    The location of the templates to be used for overloads depends on which template pack you are using.

    In wp-admin, go to Settings > BuddyPress > Options and note the selection re Template Pack.

    If is BuddyPress Legacy, then the templates are here:
    \wp-content\plugins\buddypress\bp-templates\bp-legacy\

    Otherwise they are here:
    \wp-content\plugins\buddypress\bp-templates\bp-nouveau\

    More info:

    Theme Compatibility & Template Files

    #310059
    iamthewebb
    Participant

    Hi,

    I’ve just quickly installed a fresh install of wordpress and buddypress, when I use the customize options the live preview is updating. What theme are you currently using as I was testing with twenty twenty?
    Also do you have any other plugins installed or customizations made?

    Mark Max Henckel
    Participant

    I don’t think I can find help here

    I’ve rarely seen anything complicated as a buddypress and I’m just annoyed that I used it. Because you can neither find help nor look through the template structure.

    Which template do I have to touch if I want to restructure the members overview page? It must be possible to insert a simple template in my theme directory. But it is not.

    I like to have a simple I want a simple statement about which concrete template I have to use. Is that too much?

    The site always wants to call PAGE.PHP. Good. But what exactly do I put in there to deal with the code structure of the member pages? What Loop?

    ***

    Ich habe nur selten etwas kompliziertes gesehen, als Buddypress und ärgere mich gerade, dass ich es eingesetzt habe. Denn man findet weder Hilfe, noch blickt man durch die Template Sturktur durch.

    Welches Template muss ich anfassen, wenn ich die Members-Übersichtsseite umstrukurieren will? Es muss doch möglich sein, ein einfaches Template in mein Theme-Verzeichnis einzufügen. Ist es aber nicht.

    Ich möchte eine einfache Aussage, welches konkretes Template ich nehmen muss. Ist das zu viel verlangt?

    Die Seite will immer die PAGE.PHP aufrufen. Gut. Aber was genau füge ich dort ein, um mich mit der Code-Struktur der Mitgliederseiten auseinander zu setzen? Welchen Loop?

    #310047
    Daniel
    Participant

    @danbp hello, sorry if I shouldn’t post here, reviving this post, it happened the same to me, I can’t seem to use the customizer if BuddyPress is active. But I was able to do that before.
    I get it, I can customize the theme while BuddyPress is inactive. But how can I edit the BuddyPress “feed”, as I did before(1 week ago)?

    It let me add widgets to the footer… change the background colour of the feed, etc..etc..

    #310044
    Daniel
    Participant

    After re-reading my post which was very confusing, I realised my english wasn’t very clear and therefore decided to correct it in order to get better help.

    Problem: When I use the wordpress Customizer to customize my theme it doesn’t change the settings I want with the WYSIWYG editor. Only if I press publish and go the “Live” version of the website does it do anything. Or else it always stays the same…

    Solution: Disabling buddypress fixes the problem.
    How can I solve this?

    Hope you guys can help me out,
    Thanks in advance,
    Daniel

    #310041
    carolziat
    Participant

    I’m trying to set a default cover photo programmatically. It works the first time I delete the current profile cover photo. But when I refresh the page or go to another page, it disappears and is blank.

    I am editing the file:

    /wp-content/themes/aardvark-child/lib/inc/buddypress-functions.php

    if ( ! function_exists( 'ghostpool_xprofile_cover_image' ) ) { 
     function ghostpool_xprofile_cover_image( $settings = array() ) {
     $settings['default_cover'] = 'cover2-test3.png'; 
     $settings['width'] = 1500;
     $settings['height'] = 300;
     return $settings;
     }
    }

    Of course I add the entire URL of the photo… not just cover2-test3.png.

    If I inspect the page with the cover image there, I can see the URL in the html. But when I refresh it, it is gone.

    Any help is appreciated, thank you.

    #310037
    Renato Alves
    Moderator

    The activation key is necessary to avoid spam users in your community. It is an intergral part of BuddyPress and I wouldn’t recommend removing it.

    #310031
    Daniel
    Participant

    Hello,

    I have been having problems with the Appearance > Customise since the release on the 3rd of January.
    Finally matched it to BuddyPress after long testing to see what was causing it.
    Any help regarding this? The issue I am having is that when I am using the customizer it doesn’t “refresh” or show the “easy edit” fields for the header for example when I edit something or even publish.

    Thanks in advance, hope you can help me.
    Daniel

    WPbase.eu
    Participant

    Hi there, I would like to have custom members-loop in buddypress.

    I want show users what have media (mediapress), have avatar and have not xprofile field “name” empty.

    I have this in my members-loop.php

    <?php while ( bp_members() ) : bp_the_member(); 
    
    $mp = new MPP_Media_Query(['user_id' => bp_get_member_user_id()]); // mediapress media
    $user_id = esc_attr( bp_get_member_user_id() ); // user id
    $has_avatar = bp_get_user_meta( $user_id, '_has_avatar', true ); // have user avatar
    $_name = xprofile_get_field_data( 'Jméno' , bp_get_member_user_id() ); // have user xprofile field "name"
    
    if (!$mp->have_media() || empty($has_avatar) || empty($_name)) {continue;}?>

    this code working BUT – pagination is broken. On first page i see only 1 user, on second page i see 3 users etc…

    Is there correct way?

Viewing 25 results - 3,926 through 3,950 (of 68,970 total)
Skip to toolbar