Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 2,726 through 2,750 (of 32,690 total)
  • Author
    Search Results
  • #303042
    Venutius
    Moderator

    In WordPress each user role has a number of assigned capabilities, I’m looking for you to tell me a capability that the Member has that the visitor does not.

    #303022
    Venutius
    Moderator

    Possibly a good template plugin would be https://wordpress.org/plugins/bp-xprofile-rich-text-field/ it’s got the filters and actions you’d need. It’s not straightforward, you’d need to extend the BP xProfile Field Type class in order to have it as part of the xProfile field type collection by the looks of things. I agree it would be nice to have it documented but we have what we have. Maybe one of you can strip down one of these plugins and write it up for the rest of us?

    The other option is to ask either of the collection plugins to add your type to their collection?

    #303017
    Venutius
    Moderator

    Member is not part of WordPress’s default roles, so you must have created this using the user role editor you posted the link to. When you did that, you must have added some extra capabilities above the default subscriber, it’s one of those extra capabilities that we need.

    #303010
    Venutius
    Moderator
    #303009
    anthorfacte2019
    Participant

    Hi everybody 😀

    I am new, i am french, i live in ukraine, my website is not online for the moment, and.. i don’t know programmation… =/
    Just i know to put snippet, incorpore code, plugin, and my spciality it’s the CSS 😀 (hum .. but not complex 3D animation)

    I search since one hour without find, because all the converse have more than 4/9 years, one snippet for the file .function for just the admin and one role can create a group,
    +
    For if one member go on the link create group, is redirect on one page i did

    Somebody can help me and do this snipet please ?.. =/

    Sorry for my bad english !
    Have a good day
    Antorfacte

    Last version wordpress and budypress, php5, php7 in one week

    #303003
    Varun Dubey
    Participant
    Venutius
    Moderator
    #302961
    elrico13
    Participant

    A general question, not related to a live site at this point, just something I’m playing with.

    With a fresh WordPress + BuddyPress install, under Users > Profile Fields, I’ve created a new field called Last Name.

    New registrations are capturing the data correctly and it is stored in wp_bp_xprofile_data.

    Is there any easy way of also getting that value into wp_usermeta.last_name as well?

    Thanks in advance.

    lenasterg
    Participant

    Hi, community I need your help.
    I’m using BuddyPress + WordPress multisite.
    The current situation is this:
    When a user is invited to join a blog he gets an email via wp_mail. He/she don’t get any notification via BuddyPress about that.

    I want to also add the mail which WP send to user to the BuddyPress as BP_message so the user can accept the blog invite from his/her BP inbox.

    Do you have any ideas?
    Thanks in advance
    Lena

    #302937
    shanebp
    Moderator

    Untested, but try:

    function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
        // New custom notifications
        if ( 'custom_action' === $action ) {
            
            $custom_title = "You have new custom notification";
            $custom_link  = get_permalink( $item_id );
            $custom_text  = "You have a new custom notification";
    
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'custom_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( 'custom_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $item_id, $secondary_item_id );
            }
    
            return $return;
    
        }
    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 20, 5 );
    pavelmititel
    Participant

    I need some custom notifications in my website. I have my code bellow, all work correctly, notification is added into database and displayed at the recipient, but without notification text
    Bug view on frontpage

    How i can fix this?
    Thank you

    
    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, 'custom' );
    
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' );
    
    function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
        // New custom notifications
        if ( 'custom_action' === $action ) {
            
            $custom_title = "You have new notification";
            $custom_link = "domain.com";
            $custom_text = "You have new notification";
    
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'custom_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( 'custom_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 );
    
    function bp_custom_add_notification( $receiver_user_id, $initiator ) {
    
        //$post = get_post( $comment_object->comment_post_ID );
        //$author_id = $post->post_author;
    
        bp_notifications_add_notification( array(
            'user_id'           => $receiver_user_id,
            'item_id'           => $initiator,
            'secondary_item_id' => $initiator,
            'component_name'    => 'custom',
            'component_action'  => 'custom_action',
            'date_notified'     => bp_core_current_time(),
            'is_new'            => 1,
        ) );
    
    }
    add_action( 'wp_insert_custom_notification', 'bp_custom_add_notification', 99, 2 );
    
    #302935
    Venutius
    Moderator
    #302922
    Venutius
    Moderator

    We’ve had a few requests for Fan Page functionality recently so I took a look at the announce group code to see what changes could be made to turn it into a fan page plugin. Other than changing the name to fan page I also noted that it did not prevent group members from creating new topics in the forum so I’ve forked the plugin and added those changes. Hopefully that will deliver something like what you are looking for. I’ll submit it to WordPress.org and let you know once it’s live.

    #302918
    Venutius
    Moderator

    There’s a plugin the converts a group to announce only, maybe that could be the basis of a fan page?

    BuddyPress Announce Group

    #302914

    In reply to: Posts not syncing

    hrithik951
    Participant

    WordPress did it part by successfully assigning the posts to the author. It is indeed visible from the backend that posts were assigned.

    From the frontend, the main profile of the author which is visible to the public, that isn’t showing any posts. It’s like they are not syncing.

    #302913

    In reply to: Posts not syncing

    Venutius
    Moderator

    BuddyPress does not manage what happens to posts when a user is deleted, I think that’s a WordPress function.

    Alex
    Participant

    Try something like this in the Additional CSS tab of the WordPress Customize area:

    #forums-personal-li {
    display:none;
    }

    #302881
    Varun Dubey
    Participant
    Venutius
    Moderator
    gsindall
    Participant

    Hi,

    I have a multisite install with one main domain and 3 sub domains. I have buddypress activated locally on each site rather than network-wide. I’m using the recently active members widget on one of my pages of one sub domain, but I want it to show only users from that same sub domain and not users from across the whole network. Is this possible?

    Both wordpress and buddypress are running on the latest version.

    Thanks!

    #302864
    razer1
    Participant

    Hi everyone,

    My friend and I are having issues with our Activation Email. While we are also sending emails by another plugin which is instant. We are using our own Host to send the emails.

    Sometimes it gets sent straight away while some email providers it can take up to a day for them to get it.

    Looked around and they also mostly are about Not Sending ours send just some are really late.

    Does anyone else have this issue?

    BuddyPress 4.1.0 – WordPress 5.0.3

    Thanks.

    #302856
    alikadievmr
    Participant

    my website vikings.life WordPress 5.0.3 BuddyPress 4.1.0

    #302850
    madhall
    Participant

    Hi there!

    I would like to display only member updates on the Activities page (Would like to avoid any other updates like profile changed, etc) – How can I achieve this? I have tried looking through the forums but unable to find a working solution – Nouveau has changed things?

    Using the latest version of buddypress and wordpress.

    any guidance please?

    thanks

    #302845
    Freddy Wong
    Participant

    You can use specially designed WordPress theme, I think the solution already exist.

    #302843
    Jackson Bird
    Participant

    BuddyPress
    BuddyPress is a powerful WordPress plugin that takes the self-hosted WordPress sites to integrate with social network and community features. It allows you to handle user profiles, user groups, activities, and others within WordPress blogs. So you can use it as a social network for schools, colleges or universities or a communication tool for friends, organizations or companies; and more. As a result, you can easily develop WordPress community with BuddyPress.

Viewing 25 results - 2,726 through 2,750 (of 32,690 total)
Skip to toolbar