Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'how to invite to groups'

Viewing 25 results - 51 through 75 (of 351 total)
  • Author
    Search Results
  • website001
    Participant

    Hello friends

    Got this code from buddydev website

    for theme functions php

    works, but newer versions of buddypress have
    5 group options. This code covers 4.

    ——————————————————————————————————
    add_action( ‘bp_core_activated_user’,

    ‘bpdev_set_email_notifications_preference’);

    function bpdev_set_email_notifications_preference( $user_id ) {

    //I am putting all the notifications to no by default
    //you can set the value to ‘yes’ if you want that notification to be enabled.
    $settings_keys = array(
    ‘notification_activity_new_mention’ => ‘no’,
    ‘notification_activity_new_reply’ => ‘no’,
    ‘notification_friends_friendship_request’ => ‘no’,
    ‘notification_friends_friendship_accepted’ => ‘no’,
    ‘notification_groups_invite’ => ‘no’,
    ‘notification_groups_group_updated’ => ‘no’,
    ‘notification_groups_admin_promotion’ => ‘no’,
    ‘notification_groups_membership_request’ => ‘no’,
    ‘notification_messages_new_message’ => ‘no’,
    );

    foreach( $settings_keys as $setting => $preference ) {

    bp_update_user_meta( $user_id, $setting, $preference );
    }

    //that’s it. have fun!

    }

    ———————————————————————————————————

    This is the option it doesn’t cover—–

    #5
    “Your request to join a group has been approved or denied”

    Can anyone update this ? That would be awsome.

    Thanks alot

    buddypress 2.8.2
    WordPress 4.7.5

    #273378
    Allen Montgomery
    Participant

    Thanks Varum,

    I was a little confused, because I was having trouble even creating groups, due to a problem that has been corrected in the latest version. I see now that my problem is largely solved, by simply hiding the member directory, so you have to know someone’s ID before you can invite them to your group.

    That might seem like an inconvenience to my users, but I am concerned about their privacy above all else.

    Anyway, thanks for your suggestion. I will have a look at it.

    #272517
    Varun Dubey
    Participant

    @demiano You can try following codes inside your child theme functions.php or use code snippet plugin

    
    add_action( 'bp_core_activated_user', 'wb_set_email_notifications_preference');
     
    function wp_set_email_notifications_preference( $user_id ) {
     
        //I am putting all the notifications to no by default
        //you can set the value to 'yes' if you want that notification to be enabled.
        $settings_keys = array(
            'notification_activity_new_mention'         => 'no',
            'notification_activity_new_reply'           => 'no',
            'notification_friends_friendship_request'   => 'no',
            'notification_friends_friendship_accepted'  => 'no',
            'notification_groups_invite'                => 'no',
            'notification_groups_group_updated'         => 'no',
            'notification_groups_admin_promotion'       => 'no',
            'notification_groups_membership_request'    => 'no',
            'notification_messages_new_message'         => 'no',
        );
     
        foreach( $settings_keys as $setting => $preference ) {
     
            bp_update_user_meta( $user_id,  $setting, $preference );
        }
    
    }
    
    #272384
    Varun Dubey
    Participant

    @everaertlawyers Friendship component is not required for groups; you can use https://wordpress.org/plugins/invite-anyone/ it will allow inviting any member of your site.
    Members will display at member directory page after their first login.

    #272194

    In reply to: Exclusive network

    Venutius
    Moderator

    I think you will have the same issue, you are looking to implement hierarchical connections within BuddyPress and that functionality does not exist. I was thinking you could possibly use group memberships to do this – BP supports hierarchical groups, but I’m not sure that would work.

    What I was thinking is that the primary user could send out a join invite, and when the new member joined they would be automatically joined to the root group. But I think you’d still have to make significant modifications to the way BP works – every function would have to check for group memberships before giving access to content.

    #270027
    leog371
    Participant

    Just to be sure of what your asking, Are you trying to hide these from everyone including the person who owns the profile?

    Just in case you dont want to hide them from the profile owner, you should know that any links that are edit, upload rtmedia links only display for the profile owner and no one else and most other things like this are hidden by default from users and friends anyways. Only a profile owner can upload and make changes to his profile or post activity on their profiles.

    Also, each member has privacy options in their profile settings. You can set defaults in the dashboard for this as well.

    If this is not the case, could you clarify what you hope to achieve?

    If you simply wish to remove links for everyone in your site including the profile owner, just use something like this in bp-custom.php file

    /* Example to Remove subnav tabs from Group Settings  https://codex.buddypress.org/developer/navigation-api/#examples*/ 	
    	function remove_group_manager_subnav_tabs() {   
        // site admin will see all tabs
        if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) {
            return;
        }
           // all subnav items are listed here.
           // comment those you want to show
            $hide_tabs = array(             
            //  'group-settings'    => 1,
            //    'delete-group'      => 1,
             //   'group-avatar'      => 1,
            //  'group-invites'     => 1,
             //   'manage-members'    => 1,
            //  'forum'             => 1,
            //  'group-cover-image' => 1
            );
                       
            $parent_nav_slug = bp_get_current_group_slug() . '_manage';
      
        //Remove the nav items
        foreach ( array_keys( $hide_tabs ) as $tab ) {
            bp_core_remove_subnav_item( $parent_nav_slug, $tab, 'groups' );
        }   
    }
    add_action( 'bp_actions', 'remove_group_manager_subnav_tabs' );
    #269956
    leog371
    Participant
    /* Example to Change item names of user’s and group’s nav menus ...
    Profile Menu https://codex.buddypress.org/developer/navigation-api/#examples
    */ 
    function bpcodex_rename_profile_tabs() {
      
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Forums', 'textdomain' ) ), 'forums' );
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'MY Groups', 'textdomain' ) ), 'groups' );
      
    }
    add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );
    /* Example to Rename Group Menus https://codex.buddypress.org/developer/navigation-api/#examples*/ 	
    function bpcodex_rename_group_tabs() {
     
        if ( ! bp_is_group() ) {
            return;
        }
        
        buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Discussion', 'buddypress' ) ), 'forum', bp_current_item() );
    	buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Members', 'buddypress' ) ), 'members', bp_current_item() );
    	buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Activity', 'buddypress' ) ), 'home', bp_current_item() );
    }
    add_action( 'bp_actions', 'bpcodex_rename_group_tabs' );	
    	
    /* Example to Remove subnav tabs from Group Settings  https://codex.buddypress.org/developer/navigation-api/#examples*/ 	
    	function bpcodex_remove_group_manager_subnav_tabs() {   
        // site admin will see all tabs
        if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) {
            return;
        }
           // all subnav items are listed here.
           // comment those you want to show
            $hide_tabs = array(             
            //  'group-settings'    => 1,
            //    'delete-group'      => 1,
             //   'group-avatar'      => 1,
            //  'group-invites'     => 1,
             //   'manage-members'    => 1,
            //  'forum'             => 1,
            //  'group-cover-image' => 1
            );
                       
            $parent_nav_slug = bp_get_current_group_slug() . '_manage';
      
        //Remove the nav items
        foreach ( array_keys( $hide_tabs ) as $tab ) {
            bp_core_remove_subnav_item( $parent_nav_slug, $tab, 'groups' );
        }   
    }
    add_action( 'bp_actions', 'bpcodex_remove_group_manager_subnav_tabs' );
    
    Max
    Participant

    Hi moefahmy,

    Just registered my first WordPress.org account since over hundreds of sites I’ve built in the past, hehe. I’m facing exact the same issue as you have. I seriously thought that BuddyPress would support features like this. In the wp-admin > Groups > Single Group, there’s even an option that says: ‘Who can invite others to this group?’, WHY is this option available but not ‘Which usertype can post to this group? e.g. Administrators, Moderators, Subscribers etc.’.

    Is there a plugin that anyone in this community is aware of which handles above feature? I really need a feature to assign posting permissions to users or userlevels…

    #267596

    As far as I know, there’s no way to do that with BuddyPress’ built-in tools.

    However, it is possible with plugins such as the one you identified.

    I had a similar requirement and ended up doing it by utilising BP’s Member Types functionality (which require a plugin or custom code to set up), a plugin called BuddyPress Xprofile Member Type Field to map that to an xprofile field (so that the user can change it herself… it was the easiest way I found to add that to the user’s profile, although there might be a better way), all tied together with custom code to patch in to the xprofile_updated_profile action to check what the change is and then use the groups_accept_invite() and groups_remove_member() functions to change the membership accordingly.

    I know that’s not very detailed, but due to lots of other functionality, such as adding to email lists, my code ended up being quite complex, so it’s not possible to paste it here.

    Hope that helps

    #265780

    groups_accept_invite( $user_id, $group_slug );

    #265604
    Anil Sharma
    Participant

    You can use something like this function

    
    function automatic_group_membership( $user_id ) {
     if( !$user_id ) return false;
     
     groups_accept_invite( $user_id, <# group ID #> );
    }
    add_action( 'bp_core_activated_user', 'automatic_group_membership' );
    #265103
    danbp
    Participant

    Hi,

    open your buddypress-nk_NO.po file with a text editor (notepad++ or so) and check you have a plural form for the untranslated string.

    The’re several strings containing “members” with a count, but it will be easy to find if you search for “msgid_plural”.
    At least, you should find something constructed like this:

    #: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:34
    msgctxt "Group member count"
    msgid "%d member"
    msgid_plural "%d members"
    msgstr[0] "%d medlem"
    msgstr[1] "%d medlemmer"

    Again, note that it is only an example, you may find other strings containing “medlem” that you have eventually to adjust.

    The important thing to control is the existence of “%d” and naturally, the presence of the plural form string in the translation.

    If you still have trouble after controling/repairing/modifying, it could be possible that it is your theme. To ensure, do the same check in your theme translation.

    Other thing to take in account

    I’m not 100% sure, but so far i remember, the norvegian buddypress version is not completely translated.
    Unfortunately, translate.wordpress.org is actually down and it is impossible to access the plugins translations at this time…

    What i expect is that you have an old po file, fully translated, but perhaps not with the most recent changes and updates, which could explain that even if you have plural forms in your translation, they won’t show up in some places.
    For ex. because the plural code changed from %s (in your version) to %d or something like that.
    To avoid this, you can download the most recent pot file and rename it to buddypress-nk_NO.po.
    Then you rename YOUR current version to .pot(with a T), import it to the new file, and adjust or complete the missing strings.

    #263617
    warezit
    Participant

    Hello!

    I am having an issue with BP, that I caused myself. I intentionally deactivated, then deleted, BP (on a 5 day old site) thinking that I wasn’t going to use it. Then I ran ‘WP Optimize’ which removed all the unused tables from the plugins I had installed, and removed unused transients, etc… This is what caused the problem.

    Some time later, I went to re-install BP – which succeeds with no issues. Here’s where the issues crop up… Next, I went to create a new Group on the BP front-end, and it reports an error:
    There was an error saving group details. Please try again.

    Enabling WP debug mode in “wp-config.php” reports this:

    WordPress database error: [Table 'wordpress.wp_bp_groups' doesn't exist]
    SELECT id FROM wp_bp_groups WHERE slug = 'create'
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1
    WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist]
    SHOW FULL COLUMNS FROM <code>wp_bp_activity</code>
    WordPress database error: [Table 'wordpress.wp_bp_notifications' doesn't exist]
    SELECT * FROM wp_bp_notifications n WHERE user_id IN (1) AND component_name IN ('friends','messages','activity','groups','blogs') AND is_new = 1
    WordPress database error: [Table 'wordpress.wp_bp_messages_recipients' doesn't exist]
    SELECT SUM(unread_count) FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0
    WordPress database error: [Table 'wordpress.wp_bp_friends' doesn't exist]
    SELECT id FROM wp_bp_friends WHERE (initiator_user_id = 1 OR friend_user_id = 1) ORDER BY date_created DESC
    WordPress database error: [Table 'wordpress.wp_bp_groups_members' doesn't exist]
    SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.is_confirmed = 0 AND m.inviter_id != 0 AND m.invite_sent = 1 AND m.user_id = 1
    WordPress database error: [Table 'wordpress.wp_bp_messages_notices' doesn't exist]
    SELECT id FROM wp_bp_messages_notices WHERE is_active = 1

    I have been trying to find a solution for this online, for the last 4+ hours… and I have gotten nowhere… So, I am humbly asking for help here, on how to recreate these tables – WITHOUT DELETING AND RECREATING MY ENTIRE SITE. I have nearly 100 hours into this site so far, and I am NOT starting over. Starting over is NOT an option, so please save everyone’s time and skip suggesting this.

    I have reviewed all of these links, and followed all of their respective directions, when applicable:

    Deleting BuddyPress


    https://buddypress.org/support/topic/reinstall-should-i-delete-old-tables-from-db/

    repair buddypress database


    and, many many many many more links, that I am not going to go back and try to find…

    Any help with this would be great – I’d really like to use BP again… I have seen a number of other people online with this issue, so I know I am not the only one. There has to be some elegant solution to re-create the required SQL tables for the plugin, right?

    I have tried running this, after I reinstalled BP the 4th time (with my TDL inserted, ofc):
    https://xxxxxx.com/wp-content/plugins/buddypress/bp-core/bp-core-update.php?f=bp_update_to_2_7_4
    But, it didn’t seem to do anything…

    Ubuntu 16.04.1
    Apache 2.4.18
    PHP 7.0.13
    WP 4.7.2
    BP 2.7.4
    no other BP extension/plugins have been installed since the 1st time removing BP

    I am more than happy to provide any requested log files!

    Thank you a TON in advance!! I look forward to getting this working again.

    #261860
    danbp
    Participant

    Please be serious,

    why do you use index.php (it is a file), when i give you the correct path in my previous answer ?
    Such URL‘s can’t work: http://eltconjunction.com/index.php/groups/

    You’re on buddypress support forum and your BP pages where correctly displayed, a few hours back when i visited your site.

    The error you have now is related to ppress. If you have issue with it, you have to ask for help on the appropriate support.

    I invite you to read any plugins documentation you want to use BEFORE using them. And encourage you to learn a bit about internet, wordpress and how to build a site…

    #261342
    Venutius
    Moderator

    Yes the default operation in BP groups is that you can only invite friends of your BP Profile. You can change this behaviour with Invite Anyone, which gives you the ability to invite your friends to join the site and for you to invite any BP user to the group, not just your friends.

    Another plugin that you might like to think about is BP Auto Group Join, with this plugin you can ensure all new site members automatically join a group.

    With these two plugins, you can invite your friends to join your site and make sure they all join your group at registration.

    #261164
    jaumearagay
    Participant

    In the group page you get this output:

    int(91) string(21) "bp_groups_memberships" object(stdClass)#5452 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(91) string(21) "bp_groups_memberships" object(stdClass)#5465 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(91) string(21) "bp_groups_memberships" object(stdClass)#5465 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(91) string(21) "bp_groups_memberships" object(stdClass)#5465 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(91) string(21) "bp_groups_memberships" object(stdClass)#5751 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(91) string(21) "bp_groups_memberships" object(stdClass)#5753 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(91) string(21) "bp_groups_memberships" object(stdClass)#5753 (12) { ["id"]=> string(2) "91" ["group_id"]=> string(2) "13" ["user_id"]=> string(1) "6" ["inviter_id"]=> string(1) "0" ["is_admin"]=> string(1) "0" ["is_mod"]=> string(1) "0" ["user_title"]=> string(0) "" ["date_modified"]=> string(19) "2016-09-15 11:37:10" ["comments"]=> string(0) "" ["is_confirmed"]=> string(1) "0" ["is_banned"]=> string(1) "0" ["invite_sent"]=> string(1) "0" } int(6) string(22) "bp_friends_friendships" object(stdClass)#5774 (6) { ["id"]=> string(1) "6" ["initiator_user_id"]=> string(1) "6" ["friend_user_id"]=> string(2) "36" ["is_confirmed"]=> string(1) "1" ["is_limited"]=> string(1) "0" ["date_created"]=> string(19) "2016-09-06 09:22:58" } int(1) string(22) "bp_friends_friendships" object(stdClass)#5775 (6) { ["id"]=> string(1) "1" ["initiator_user_id"]=> string(1) "6" ["friend_user_id"]=> string(1) "5" ["is_confirmed"]=> string(1) "1" ["is_limited"]=> string(1) "0" ["date_created"]=> string(19) "2016-08-22 10:25:37" } int(6) string(16) "bp_last_activity" array(3) { ["user_id"]=> string(1) "6" ["date_recorded"]=> string(19) "2016-11-18 20:15:56" ["activity_id"]=> string(1) "1" }

    #260856
    claudiosinopoli
    Participant

    Dear danbp,
    first of all tank you for killing the discussion with your silence.
    Almost two months ago I asked you for help, without success.

    After a while I realized that I can perform a supposedly so simple task myself.
    I’m writing now to inform other people that want the “create a group” button in the single member’s “groups” page or somewhere else in a buddypress template page.

    After reading some buddypress documentation I replicated in my child theme the buddypress templates and css folders structure.

    Looking into the group-related php files I noticed that the function for the button “create a group” is called bp_groups_directory_group_filter.

    The “groups” page for the single member is generate by the file located in the following folder in my child theme: my_child_theme/buddypress/members/single/groups.php

    It is starting with the following code

    <?php
    /**
     * BuddyPress - Users Groups
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    ?>
    <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    	<ul>
    		<?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    		
    		<?php if ( !bp_is_current_action( 'invites' ) ) : ?>
    
    			<li id="groups-order-select" class="last filter">
    
    				<label for="groups-order-by"><?php _e( 'Order by:', 'buddypress' ); ?></label>
    				<select id="groups-order-by">
    					<option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>

    It’s enough to add the line
    <?php do_action( 'bp_groups_directory_group_filter' ); ?>
    after line 12
    <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
    and you do the trick.

    Now in the single member’s “groups” page there will be the following buttons:
    Memberships | Invitations | Create a group

    In the same way you can add this button to any other template page, taking care that the function it’s placed in the right position in the code.

    Thank you again danbp: your silence was not very professional but perhaps stimulating in order to take initiative, learn something and solve a problem by myself.

    #259539
    Slava Abakumov
    Moderator

    So far there is no such plugin.

    You can try to dive into bp_get_new_group_invite_friend_list filter, and you will need to rewrite /buddypress/groups/single/send-invites.php template.

    So quite a lot of work.

    #258638
    danbp
    Participant

    I’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
    I can upload medias without problem with different 3th party themes or Twenty’s

    Try to upload a fresh copy of WordPress and BP and see if it makes a difference.

    Now about the snippet.
    It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.

    That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?

    Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.

    A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.

    I let you think about this and eventually create an appropriate page and template.
    Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).

    function bpfr_guest_redirect() {
    global $bp;
    // enter the slug or component conditional here
    	if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) {
    	
    // not logged in user are redirected to - comment/uncomment or add/remove to your need
    		if( !is_user_logged_in() ) { 
    			//wp_redirect( get_option('siteurl') ); //back to homepage
    			//wp_redirect( get_option('siteurl') . '/register' ); // back to register page	
    			wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page
    		} 
    	}
    }
    add_filter( 'get_header', 'bpfr_guest_redirect', 1 );

    Add it to child-theme’s functions.php

    #258628
    danbp
    Participant

    Your site works as intended and the button isn’t missing! Because it doesn’t exist where you thinck there should be one…
    As already explained:

    This button comes only up on Group Directory: All Groups | My Groups | Create Group and not when you’re inside an existing group (where you see Send invites).

    #258588
    macroccs
    Participant

    I am fairly new to WordPress, so I can’t answer with certainty. As far as I can tell, it’s just the Buddypress emails that aren’t sending.

    Plugins Include:
    BuddyPress Follow Version 1.2.2
    BuddyPress Global Search Version 1.1.5
    BuddyPress Group TinyChat Pro Version 1.4
    BuddyPress Groups Extras Version 3.6.9
    BuddyPress Message Attachment Version 2.1.1
    BuddyPress Reorder Tabs Version 1.0.9
    BuddyPress Security Check Version 2.1.2
    Buddypress Social Version 2.0
    BuddyPress User Blog Version 1.1.1
    Chat by Flyzoo – Group Chat & Live Support Version 2.2.7
    cometchat Version 1.0.0
    Disable Comments Version 1.5.2
    Embedly Version 4.0.12
    Events Manager Version 5.6.6.1
    Inline Google Spreadsheet Viewer Version 0.10.2
    Insert Adsense Version 2.0
    Invite Anyone Version 1.3.11
    Send From Version 2.2
    VideoWhisper Video Presentation Version 4.1.3
    WangGuard Version 1.7.2
    WordPress Reset Version 1.4
    WP Project Manager – Sub Task Version 0.1
    WP Project Manager PRO Version 1.5
    WP Project Manager pro – BuddyPress Integration Version 1.2
    WP Super Cache Version 1.4.8

    #258521
    danbp
    Participant

    Hi !

    unable to recreate this issue on a standart install and 2016 activated.

    This button comes only up on Group Directory: All Groups | My Groups | Create Group and not when you’re inside an existing group (where you see Send invites).

    There is another button for this on the WP Toolbar > Usermenu > Groups > Create Group
    And both are displayed correctly on Twenty Sixteen.

    Within buddypress.css default file, there is no specific rule for it.
    In case of, button’s ID on BuddyMenu is #group-create-nav

    For now,
    – is group creation allowed for all users (see in BP options) ?
    – do you see the button in the usermenu (top right corner) and does it work ?

    No idea what’s your issue, but i don’t believe it is BuddyPress. Maybe a plugin or a JS issue. Difficult to say more without a live URL. 😉

    acedesign123
    Participant

    Hi @itsasiak

    I am facing the same problem, That i get the error message of Are you sure you want to do this? on the second step after I create the group name and description.

    My bp-custom.php file looks like this.

    
    function remove_group_creation_steps() {
    	global $bp;
    	unset( $bp->groups->group_creation_steps['group-settings']		);
    	unset( $bp->groups->group_creation_steps['group-avatar']		);
    	unset( $bp->groups->group_creation_steps['group-invites']		);
    	unset( $bp->groups->group_creation_steps['group-cover-image']	);
    }
    add_action( 'bp_before_create_group_content_template', 'remove_group_creation_steps', 9999 );
    

    This code hides the menus on top when I create a group, as seen by the image
    Image Group

    But If I click FINISH it takes me to this screen ::

    Error Group

    Do you know where I can put code to solve this?

    #258306
    danbp
    Participant

    Hi,

    usually it is because you haven’t established any friendship. Go on a profile or Members Directory, click on Add as Friend.

    Back to the group and see if this profile appears on the Invite tab.

    Friends → Friendships

    If you are in a BP dicovery phase, i recommand you to use BP Default Data plugin. Once activated you will have fake content in all BP active components (users, groups, friendships and so on). So you can see where and who see what.

    #258082

    In reply to: Isolated Groups

    BILL
    Participant

    Thanks @DanBP

    I can’t figure out how to do it with BuddyPress so I am asking for any opinions that could point me in a useful direction. My thought concerning bbPress was that maybe by adding forums I would be able to limit what the Group Leader and Students can see to just that groups user list.
    So, my question isn’t how to get bbPress to do this but what way can I do this. Does BuddyPress have this functionality and I need to find some instructions that have eluded me so far? Or, is there a plugin that I have to use or possibly do I have to learn about using the multisite feature or some other method to create isolated groups that the group leader can invite and remove users without seeing other companies/clients?

    I accept I may be missing something obvious to knowledgeable WP Devs, actually, I hope it is something I just haven’t found in the BuddyPress docs.

    To be clear, this project is still in development and I can use whatever is best for this important and seemingly simple situation.

Viewing 25 results - 51 through 75 (of 351 total)
Skip to toolbar