Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,701 through 9,725 (of 68,948 total)
  • Author
    Search Results
  • danbp
    Participant

    Hi,

    have you read this ?

    bp_notifications_add_notification

    #255770
    Paul Wong-Gibbs
    Keymaster

    The content property is run through KSES and the permitted HTML tags are set here: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-activity/bp-activity-filters.php#L206

    You COULD unhook this function from the filter (see: lines 16-25, same file) but I would not recommend it, because other people will use this to inject malicious markup. Instead, consider using the bp_activity_filter_kses filter and whitelist a few extra HTML funtions that you need (i.e. just the paragraph tag).

    #255764
    maxgx
    Participant

    ok, moved on a clone, disabled all plugins and tested it throughout and i found it out:

    new activity notifications do work ok, what is missing are notifications of comments to activity – actually, it’s not a problem with my setup, it’s really a (very much needed, badly missed, imho) missing feature

    luckily, BP Live Notification does seem to do the job, but it’s yet another addition to the ever growing list of plugins needed for covering up the lack of (quite obvious, always imho) features…

    you could mark this as resolved, i guess (tho it’s not quite, really)

    #255761
    danbp
    Participant

    Hi @pulidomate,

    By default, it’s not possible. But you can try to code it.

    That said, registering users is reserved to site admin or editors. So far i understand your question, you’re talking about group admins (admins = teachers)and member types (teachers and students).

    Registration and user management is a core thing for users with WP roles/capabilities. It is not the same thing as Teachers and Students within BuddyPress.

    Group admins are, by default, users with a WP role of subscribers. Same thing for students. BP distinguish those users inside a group only, but for WP they still emain as “subscribers”.

    May be you can use a plugin, but i haven’t tested it. Try:
    https://wordpress.org/plugins/new-user-approve/

    #255677
    danbp
    Participant

    @maxgx, please don’t double post.
    I answered you here: https://buddypress.org/support/topic/auto-refresh-load-newest-not-working/

    Topic closed.

    #255664
    dsantoschabrier
    Participant

    To make this happen. Do I Have to modify the bp-activity-functions.php or buddypress.js?

    #255660
    rezza72
    Participant

    HI
    i use SocialChef theme .

    all active plugins :
    bbPress
    BuddyPress
    ITRO Popup Plugin
    TablePress
    TablePress Extension: Responsive Tables
    Telegram for WordPress
    TinyMCE Advanced
    Wise Chat
    WooCommerce
    WP Statistics
    WR PageBuilder

    ekruep
    Participant

    Okay, just in case anyone else is wanting to do this, my developer helped me implement a solution!!

    Here is the function he wrote and placed in the bp-custom.php file.

    function add_front_menu_item( ) {
    
        global $bp;
    
        $args = array(
            'name' => __('Home', 'buddypress'),
            'slug' => 'front',
            'default_subnav_slug' => 'public',
            'position' => 10,
            'show_for_displayed_user' => false,
            'screen_function' => 'bp_custom_user_nav_item_screen',
            'item_css_id' => 'custom-class'
        );
    
        bp_core_new_nav_item($args);
    

    I hope this helps someone else save time and frustration!

    #255657
    andrewlavila
    Participant

    @nickdanks I’m having this same issue. I was thinking maybe it’s due to the latest Buddypress update, since its affected some of my other plugins already. Did you happen to find out anything about what causes this issue or come up with a solution?

    #255648
    binary10
    Participant

    it is not working really but what I see is that if you add ?embed=true after the Permalink and open it in a new tab then it returns the embed content so that means buddypress is working correctly but somehow it doesn’t work in the activity stream. Can I add buddypress as an oembed provider to make it work?
    Thanks

    #255647

    In reply to: Confirmation Email

    Dono12
    Participant

    Thanks for your prompt response and your help but that function did not achieve the goal I was looking for. I wanted the activation Key to come from Cymi User Extra Field. I found a solution from someone with a similar problem but it is a little too extreme for me. The result you get is a Cymi User Extra Field Key/URL, Looks like This(cimy_key=88fddcb568dcf2d6). It involved editing a core Buddypress file wp-content/plugins/buddypress/bp-core/bp-core-filters.php. Can you help with a function for my functions.php or bp-custom to achieve the same goal. If it’s not too much maybe generate the Cymi-Key in the Buddypress Email Template though not a priority. I’m fully aware that editing core files is not practical, especially being that you lose it during updates.

    https://buddypress.org/support/topic/activation-email-key-doesnt-work-i-may-have-the-fix/

    function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {
    
    $activate_url = bp_get_activation_page() . "key=$key";
    $activate_url = esc_url($activate_url);
    $admin_email = get_site_option( 'admin_email' );
    
    if ( empty( $admin_email ) )
    $admin_email = 'support@' . $_SERVER;
    
    // Then it ends with, on line 255
    
    add_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1, 4 );
    #255646
    danbp
    Participant

    Hi @allisonnance,

    Use a child theme to do this.
    Copy member.php from bp-templates/bp-legacy/buddypress/groups/single/members.php
    to
    your-child/buddypress/groups/single/members.php

    Remove line 11

    <?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) ) ) : ?>

    and replace by this one:

    <?php if ( bp_group_has_members( 'exclude_admins_mods=1'. bp_ajax_querystring( 'group_members' ) ) ) : ?>

    Save. You’re done.

    If you want to remove also Group Admin and Mods from the group header, remove the whole div content of <div id=”item-actions”> in group-header.php, in same directory as above members.php
    Also to do from within child theme.

    Reference:

    Group Members Loop

    #255638

    In reply to: Confirmation Email

    David Cavins
    Keymaster

    I’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.

    <?php 
    add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) );
    add_filter( 'bp_registration_needs_activation', '__return_false' );
    add_filter( 'bp_core_signup_send_activation_key', '__return_false' );
    
    function disable_validation_of_new_users( $user_id ) {
    
    	// Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table.
    	$user_key = get_user_meta( $user_id, 'activation_key', TRUE );
    
    	// Activate the signup
    	$awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) );
    
    	// Automatically log the user in.
    	// Thanks to Justin Klein's  wp-fb-autoconnect plugin for the basic code to login automatically
    	$user_info = get_userdata($user_id);
    	wp_set_auth_cookie($user_id);
    
    	do_action( 'wp_signon', $user_info->user_login );
    
    	bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) );
    
    	buddypress()->activation_complete = true;
    }
    #255631
    danbp
    Participant

    If you have FTP access to your site, rename the buddypress folder like this: wp-content/plugins/xxxx_buddypress

    This will deactivate the plugin and let you come back to your site admin. Once you have access to your admin, upload latest BuddyPress 2.6.1.1. Before to activate it, go back to FTP and delete xxxx_buddypress.

    Now you can activate BP and normally, anything should work.

    #255629
    jangolin
    Participant

    I had the same problem and my solution was what I wrote before

    Make a new po file in poedit and mo file, upload the to your buddypress and theme language maps

    Check your General settings that you still have Danish as your language

    Clear all cache and refresh site

    You can also try to translate with Loco translate plugin and see if it makes any difference

    #255628
    danbp
    Participant

    The Danish translation is not complete… so the automatic translation doesn’t work.

    Read from here to go further:

    Languages and Translations

    #255627
    danbp
    Participant

    positionning: check CSS pseudo class :before or :after

    buddypress.pot: this file does nothing! It contains only the strings you can translate. If you need a translation, you have to create a po and a compiled mo file. To do this you need a tool like poEdit.

    Any code placed in bp-custom.php stays untouched after an update. It works like a child-theme.

    #255626
    hisselfandco
    Participant

    Hi jangolin
    Thanks for your reply – KLEO Theme language files are there…
    Problem I have is finding how to make buddypress find the Danish translations .po and .mo I have in wp-content/languages/plugins/
    I have no problems with other plugins only buddypress….

    #255625
    jfking
    Participant

    Hi please am having this problem….

    Fatal error: Class ‘BP_Members_Component’ not found in /home/agxiscom/public_html/wp-content/plugins/buddypress/bp-members/bp-members-loader.php on line 23

    couldnt access http://agxis.com.ng/wb-admin or anything and cant fix the problem from my cpanel….

    please what can i do to solve this problem…… my people are complaining……

    #255622

    In reply to: Buddypress

    sharmavishal
    Participant

    check this 2 plugins

    https://wordpress.org/plugins/buddypress-docs/

    https://wordpress.org/plugins/buddydrive/

    …you can create hidden groups then….you can disable the activity component via settings-buddypress

    #255621
    sharmavishal
    Participant

    “bbpress group forums associated with the user” this is not possible. you can associate bbpress forums to a specific group only

    Installing Group and Sitewide Forums

    #255620
    sharmavishal
    Participant

    @pfeufer start from here…see if you got the basic requirements on for BP install

    Getting Started

    #255618
    hisselfandco
    Participant

    Using v 2.6.1.1
    I do NOT have a folder: wp-content/buddypress/languages/
    And I DID add the .po and .mo to wp-content/languages/plugins/
    I am not using loco translate

    Have checked po language files and translation is still there….

    #255615
    danbp
    Participant

    @hisselfandco,

    you used the wrong directory for translation.

    The directory to use IS NOT wp-content/buddypress/languages/

    if you manually upload a po/mo for BP, add it to

    wp-content/languages/plugins/buddypress-xx_XX.mo / po

    #255614
    hisselfandco
    Participant

    Thanks for the tip
    Using KLEO theme – can see that the language file is still there.
    Still having problems with getting buddypress to find the translations….

Viewing 25 results - 9,701 through 9,725 (of 68,948 total)
Skip to toolbar