Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 776 through 800 (of 32,678 total)
  • Author
    Search Results
  • Pynet
    Participant

    Hello,
    I am trying to create my own notification, but it is not working.
    The notification should not be for the author of the post, but for whoever is assigned as client “_sliced_client”, which is stored in the postmeta table in the database and returns the client id.
    Wordpress version: 6.1.1
    BuddyPress version: 10.6.0

    <?php 
    // this is to add a fake component to BuddyPress. A registered component is needed to add notifications
    function custom_filter_notifications_get_registered_components( $component_names = array() ) {
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
        // Add 'custom' component to registered components array
        array_push( $component_names, 'propre' );
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' );
    // this gets the saved item id, compiles some data and then displays the notification
    function custom_format_buddypress_notifications(  $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
        // New custom notifications
        if ( 'propre_action' === $action ) {
    
            $post = get_post( $item_id );
    		//
            $custom_title = $post->post_author . ' add a quote for you' . get_the_title( $item_id );
            $custom_link  = get_permalink( $post );
            $custom_text = $post->post_author . ' add a quote for you ' . get_the_title( $item_id );
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'propre_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'propre_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $custom_text, $custom_title );
            }
            return $return;
        }
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );
    
    // this hooks to post creation and saves the post id
    function bp_custom_add_notification( $post_id, $post ) {
        if ( $post->post_type == 'sliced_quote' ) {
            $post = get_post( $post_id );
    		$client_id= get_post_meta($post_id, '_sliced_client');
            $author_id = $post->post_author;
            bp_notifications_add_notification( array(
                'user_id'           => $client_id,
                'item_id'           => $post_id,
                'component_name'    => 'propre',
                'component_action'  => 'propre_action',
                'date_notified'     => bp_core_current_time(),
                'is_new'            => 1,
            ) );
        }   
    }
    add_action( 'wp_insert_post', 'bp_custom_add_notification', 99, 2 );

    Any ideas?
    Thank you very much!
    Regards and happy new year!

    #327852
    clicksnlikes
    Participant

    Yes, i’m using bbpress 2.6.9 with wordpress 6.1 and socialize theme Version: 2.40.2. But it’s not the theme because i tried it with different themes and registered users still can’t create topics.

    #327843
    VibeThemes
    Participant

    Try this plugin, it works with current versions as well : https://wordpress.org/plugins/vibe-buddypress-woocommerce/

    meestergijs
    Participant

    Good day to you (all),

    I’m working a new site, so this issue revolves with the staging environment. I use WPLMS, everything from theme, wordpress to plugins are up-to-date. And my problem is that the core function of adding students to groups isn’t working. I can add them in admin, and I see that they are added. But students doesn’t see a class added to it’s profile or is able to access the class.

    The first reply from WPLMS support was: “I think its due to some kind of caching or something ,pelase clear cache and deactivate it for day or two and check this issue again.”

    So I went to Kinsta Hosting and they told me that the staging environment has all caching options disabled. So I went back to WPLMS.

    Their second reply is: “groups_join_group is a buddypress core function which is not working in your site .

    Please contact buddypress plugin author support on this. in the past with your site we had a similar experience with caching where profile menu items were not appearing. This is caching believe it or not. I have debugged this already. If host cannot resolve this you can consider changing the webhost to wpengine.”

    Could you help me? Adding students to classes/groups is essential for my dynamic educational website.

    My website: https://env-meestergijs-premium.kinsta.cloud/
    Buddypress: 10.6.0
    WP: 6.1.1

    Thanks,

    Gijs

    #327835
    nicsevic
    Participant

    Hi,

    I’m reaching out on behalf of a WordPress.com to report an issue seen on one of our users’ sites.

    We recently had to block error logging for the below warnings on a site due to them generating around 90k log lines per second. It looks like these might have been triggered when the user attempted to disable the plugin as they occurred around the same time as these timed out requests /wp-admin/plugins.php?action=deactivate&plugin=buddypress%2Fbp-loader.php&plugin_status=all&paged=1&.... The log explosion is no longer happening but it’s not clear what stopped it.

    The site is using Buddypress 10.6.0, WP 6.1.1, PHP 8.1

    `
    PHP Warning: next() expects parameter 1 to be array, null given in /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php on line 368

    PHP Warning: current() expects parameter 1 to be array, null given in /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php on line 362
    `

    #327798
    fawp
    Participant

    hi @krausi

    I don’t know if BuddyPress on its own would allow you to do that (perhaps somebody else might be able to advise)

    But you might want to try some Group Management plugin such as this one

    Groups

    It strikes me as something you’d probably need some additional coding.

    #327542
    Anonymous User
    Inactive

    Hi,

    Thanks for your feedback. We got it and it will be fixed in next major version. See https://buddypress.trac.wordpress.org/changeset/13311/

    adehner
    Participant

    I am using the BuddyBoss platform in WordPress. I’d like to add content to the Documents tab in user profiles. I’ve been looking for a hook to target this tab, but I just can’t find it.

    How can I do this?

    Thank you.

    #327418
    labibliothecaire
    Participant

    Hi,

    I work for a public library. We have a website built with WordPress since 2016 : biblio.brossard.ca.

    Besides the website made with WordPress, we give access to online resources using a proxy (EZProxy by OCLC) : https://brossard.idm.oclc.org.

    I was wondering if it is possible to connect the two together.

    Could it be possible for subscribers of the library to connect to a website created with BuddyPress through the proxy?

    Furthermore, could library subscribers while connecting to the website (created with BuddyPress) through the proxy would generate their BuddyPress account on that website?

    #327417
    Yavuz Yıldırım
    Participant

    I have this permalink structure.
    /%author%/%postname%/

    and I have enabled ENABLE_ROOT_PROFILES.

    Changing Internal Configuration Settings

    https://domain.com/myusername/mypostname
    But I can no longer access this page.
    It was working before activating it.

    Any way i can do this?

    Buddypress 10.6.0
    Wordpress 6.1.1

    lblblb
    Participant

    We are using memberpress to create a membership site. We want to create a directory of members. When you click on the member’s name, it goes to their profile with all the information they entered at sign up displayed (things like their social media links, company they work for, etc). All of this information is collected and is stored under “membership information” in the profile section of WordPress. However, the buddypress generated profile page only shows the user’s name and photo if they have one.

    How can I customize the buddypress profile page to include all of these membership information fields?

    #327392
    pjhimseelf
    Participant

    Hello there,
    we use wordpress version 6.1.1 and buddypress version 10.6.0.

    We are total beginners in coding and want to create a new custom tab in the groups directory. We created an own page for group categories and want now to create a new tab called “Categories” in the group directory where we link to the page.

    See attached image.

    How can we do that? (Beginner friendly)

    Custom Group directory tab

    Thanks in advance!

    #327366
    Sebastian
    Participant

    Hello,

    we use the email-notification to inform all of our employees (over 200) about new posts in the forum. It takes a while till the post is shown. That was no problem so far but since 2 days we get a time out when we post something and then the post is only shown for admins and the mails were only sent to admins as well.
    Is there a limit for “New Topic Email Addresses” (is it only meant to be for admins and few important persons) or could the problem be caused by our plugin “Post SMTP” which sends the mails? Settings were no changed.
    Wordpress Version 6.1.1
    BuddyPress Version 10.6.0
    (A link to our site would make no sense cause it is just for members visible)

    Best regards
    Sebastian

    #327346
    phy9pas
    Participant

    Hello,

    I notice since upgrading to PHP8.1 that Buddypress is throwing deprecation warnings like

    Return type of BP_Core_BP_Nav_BackCompat::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

    I’m using the latest version of BuddyPress (10.6.0) and WordPress (6.1.1)

    I understand this is due to restrictions added in the new version of PHP. I was wondering if anybody knew whether these would be fixed in the next release of BuddyPress?

    #327333
    tsart
    Participant

    I am running WordPress 6.0.3 and am on BuddyPress 10.6.0.

    I turned off the Private Messaging component in BuddyPress Settings over 2 years ago. Now all of the sudden my users are getting email notifications of Private Messages. I know these are legit because they include text I wrote before I shut Messaging down due to rampant spamming.

    I checked BuddyPress Settings and the Private Messaging Component is still unchecked. Is there something else I need to do to ensure Private Messaging is off?

    #327314
    vintagefan74
    Participant

    My site has its own login, register area but by some defaults (which I cannot yet figure out how to bypass or disable) users are directed to wp-login – this is disruptive to to the process and confusing/frustrating to users. I don’t want them directed to any pages asking to log into wordpress (which they get an error for trying to use their login info for my site) – Is there a way to redirect these to my specific buddypress/theme login, register, reset pages? I hope this is making sense.

    #327313
    Steel Rat
    Participant

    I’m new to BuddyPress.

    I’m running version 10.6.0 under WordPress 6.1.1.

    Using the Nouveau theme, the group description only shows 2 characters. If I use the legacy theme, which I prefer, the description is shown, but then the Groups Navigation widget becomes unavailable.

    I’m using the Colormag WP theme. Switching to a different overall theme does not solve the issue.

    I see old references to this problem from several years ago.

    Attaching a screenshot

    Truncated Group Description

    #327279

    In reply to: Mark all as read

    Anonymous User 18187419
    Inactive

    You can manually delete 25 at a time from your profile->notifications.

    If appropriate, you could use a plugin like BP Bulk Delete to delete all notifications older than a specified date. Note: it deletes for all users, not just you.

    So for example, delete all notifications for all users older than one week.

    BP Bulk Delete

    #327259
    teeboy4real
    Participant

    Hello @imath

    I just want to share this with you just for your awareness

    https://wordpress.org/support/topic/buddypress-photo-crop-problem/

    #327252
    Anonymous User
    Inactive

    Hi @coolhunt

    I don’t think such a resistance exists.

    The first thing you need to introduce a change is the will to contribute to it and we, the BP core team members, will always spend energy to make this change happen in a safe way for all BP end users.

    Some can consider we failed at listening to community needs.. I personally find it very unfair and very demotivating for me and the team. I can tell you I’ve tried at many occasions to let the community tell us what they need:

    – Call for feature ideas, ticket fixes etc… Only the BP core team members contributed to this call.
    – I tweet, post on bpdevel.wordpress.com before each development meeting to invite people to join and raise their voice.
    – I’ve organized codex documentation contribution meetings for 6 months, only the BP core team members joined these meetings : improving documentation needs a lot more contributors.
    – the last time we organized a survey we got 40 replies. One need was raised : Media in BuddyPress and I am working on it.

    With so few inputs, we’re trying to guess according to what we notice using BuddyPress.

    I think we can close this thread: we had interesting inputs, I’ve read/listen to everyone who expressed here. Now it’s time to DO 😉.

    I will soon write a post recap to share how we will schedule the making of ideas / needs you all shared with us.

    Thanks again 👍

    #327210
    lemonadecares
    Participant

    Hi there!

    I am looking to build a site with BuddyPress and Divi Theme. But I am not sure how compatible are the two with each other. Eg. Using the Divi Theme Builder to customize the layout of the profile pages etc.

    I asked the guys at Elegant Themes and they have mentioned to check if BuddyPress uses the default WordPress post type for the pages. If it does, then it should be editable with the Divi builder.

    Would appreciate any help for this! Thank you!

    #327193
    venurebbala
    Participant

    Hello,

    I am new to WordPress and Buddypress.

    I have installed a metafans theme into WordPress v6.1 with BuddyPress v 10.6.0 plugin.

    I have added extended profile fields using the tool. However, I am not able to see any of these fields in View Profile section but can see the same in Edit section.

    javigandia
    Participant

    Hola a todos,
    Tengo un problema con el select que hay dentro de los grupos para filtrar los usuarios del grupo.
    Las opciones “Newest”, “Oldest”, “Alphabetical” no funcionan simplemente no se actualiza la página cuando hago algún cambio.
    La versión de Buddypress, y de WordPress es la última.
    He probado con las plantillas Kadence y BuddyX y obtengo el mismo resultado, no funciona.

    #327162
    Thomas Maier
    Participant

    I just had the same problem and wanted to clarify the solution, in case anyone else stumbles upon this.

    The option that Mathieu was pointing to is not in the BuddyPress option but in the WordPress options: Settings > Discussion > Avatar.
    I normally disable avarats on all sites and was also wondering why I didn’t have that option now on my new BP site.

    #327159
    Rhod
    Participant

    Is there a way to change the image size in the side bar and on the profile pages?? On my page the profile pics are all streteched out. Im using a theme from flytonic and it doesnt do this on Twenty Twelve. My wordpress version is 6.1 and my site address is https://thebetguy.net/
    I also use the Buddy Press platform.

Viewing 25 results - 776 through 800 (of 32,678 total)
Skip to toolbar