Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'how to invite to groups'

Viewing 25 results - 151 through 175 (of 351 total)
  • Author
    Search Results
  • #171162
    bp-help
    Participant

    @mirgcire
    As of BP 1.7+ bbpress is a seperate install. Try following the below instructions.
    1.) Go to dashboard/settings/buddypress/components and check the box “User Groups”
    2.) Install and activate bbpress.
    3.) In the front-end go to the groups page and click the button “Create a Group”
    4.) Give the group a name and description, click “Create Group and Continue
    5.) Select your privacy options then click “Next Step”
    6.) Under Group Forum click the box “Yes. I want this group to have a forum.” Click “Next Step.”
    7.) Choose avatar for the group, click “Upload” then crop the image. Click “Next Step”
    8.) Select friends to invite. If you dont have any yet just click “Finish.”
    This should do it. Now you have groups with their own forum. Click the Groups nav button then click the group you created. Below the avatar you will see the tabs Home | Forum | Etc.
    Hope this helps! Good luck!

    Tobias Eigen
    Participant

    I’m curious about this functionality as well. I have an existing wordpress site with a bunch of content on it that I don’t want to delete but want to limit access to using groups, so that I can invite friends to still be able to access it. BuddyPress groups seems perfect for this.

    #168145
    cameronwilby
    Participant

    I am helping Kathryn with this issue, here are the details for the installation.

    The original programmer for the site vanished, so the configuration is the way it is. Not asking anybody to solve the problem on our behalf, just opening the issue to more eyes. All help and all input is greatly appreciated.

    Wordpress: 3.5.2
    Buddypress: 1.7.3
    PHP: 5.3 (I suspect this might be the culprit.)

    Installed Plugins

    Legend – (A)Active, (-)Deactivated

    BUDDYPRESS PLUGINS

    (A)BP Auto Login on Activation 1.0.1
    (A)BP Export Users 1.1
    (A)BP Group Announcements 1.0.2
    (A)BP Group Hierarchy 1.3.9
    (A)BG Group Management 0.6
    (A)BP Group Organizer 1.0.7
    (-)BP Labs 1.3

    (A)BuddyPress 1.7.3
    (A)BuddyPress Activity Plus 1.5
    (A)BuddyPress Auto Group Join 2.2.1
    (A)BuddyPress Docs 1.4.3
    (A)BuddyPress Docs Wiki add-on 1.0.3
    (-)BuddyPress Edit Group Slug 1.2
    (A)BuddyPress Group Email Subscription 3.3.3
    (A)BuddyPress Groups Extras 3.5.7
    (A)BuddyPress Like 0.0.8
    (-)BuddyPress Live Notification 1.0.3
    (-)BuddyPress Usernames Only 0.6
    (A)bbPress 2.3.2
    (A)bbPress reCaptcha 1.1
    (A)bbPress Search Widget 2.0.0
    (A)bbPress Threaded Replies 0.4.3
    (A)GD bbPress Attachments 1.9.2

    OTHER

    (A)Akismet 2.5.7
    (A)Automessage 2.3.1
    (A)BackWPup 3.0.12
    (-)Blog Categories for Groups 1.0.4
    (-)Confirm User Registration 2.0.4
    (-)Disable Comments 0.9
    (-)downML – Download Media Library 0.3.1
    (A)Email Users 4.4.4
    (-)Fundraising 2.3.6
    (-)Invite Anyone 1.0.21
    (-)Live Stream Widget 1.0.4.2
    (A)New RoyalSlider 3.0.93
    (-)P3 (Plugin Performance Profiler) 1.4.1
    (A)Plugins Garbage Collector 0.9.12
    (A)Revolution Slider 2.3.8
    (-)Scheduled Content 1.1.1
    (-)Select Language At Signup 1.0.4
    (A)SI CAPTCHA Anti-Spam 2.7.6.4
    (A)Sidebar Login 2.5.3
    (A)Simple Badges 0.1-alpha20120703
    (-)Snapshot 2.3.3
    (-)Tweet Blender 3.3.15
    (A)Ultimate Maintenance Mode 1.5.0
    (-)W3 Total Cache 0.9.2.11
    (A)WordPress Importer 0.6.1
    (A)WP-DBManager 2.63
    (-)WP-reCAPTCHA 3.1.6
    (-)WP Htaccess Editor 1.2.0
    (-)WP UI – Tabs accordions and more. 0.8.7
    (A)Yoast Breadcrumbs 0.8.5

    #166595
    Sea Jay
    Participant

    Thank you for the diagnosis and recommendations.

    I am using Responsive child theme with the default template. I’ve remove all plugins remotely related to registration.

    The last thing I just removed is a functions.php script to automatically add new users to a particular group when they register, below.

    So, then the question arises: where does the “Posted in” text come from? In BuddyPress settings, I chose a page called “Register” for registration, and the page itself uses the “Default” template. However, what Responsive file is default? I’m not seeing “Posted in” in /page.php/ or /post.php/. It’s in /sidebar-content-page.php/ but I haven’t selected it.

    Also, I am using Types and Views, but no views or templates are applied to any of those page types.

    /**
    * Automatically adds members to group when they are registered
    */
    function automatic_group_membership( $user_id ) {
    if( !$user_id )
    return false;

    groups_accept_invite( $user_id, 6 );
    }
    add_action( ‘user_register’, ‘automatic_group_membership’ );

    #165493

    In reply to: Group Invites Count

    mjbenzon
    Participant

    Try this:
    $groups = groups_get_invites_for_user(bp_loggedin_user_id());
    $groupsInviteCount = $groups[‘total’];

    #165453
    ravibarnwal
    Participant

    groups_remove_member how to used in my plugin I am not able to used it.
    Please explain .
    I want to remove member from a group when new user registered.
    I have received group_id and user_id from database. then I want to remove all member from that group without group admin.
    I used function ‘groups_remove_member’ in my own plugin .
    I am new in wordpress and buddypress coding.
    My code is
    if (!function_exists(‘auto_join’)) {
    function update_auto_join_status($user_id) {
    global $wpdb, $bp;

    // get list of groups to auto-join.
    $group_list = $wpdb->get_results(“SELECT * FROM {$bp->groups->table_name} WHERE auto_join = 1″);

    foreach ($group_list as $group_auto_join) {
    $members_count = groups_get_groupmeta( $group_auto_join->id, ‘total_member_count’ );
    if($members_count < 5)
    {
    groups_accept_invite( $user_id, $group_auto_join->id );
    }
    else
    {
    group_auto_join_hidden_group($user_id, $group_auto_join->id);
    }
    }
    $wpdb->query(“UPDATE {$wpdb->users} SET auto_join_complete = 1 WHERE ID = {$user_id}”);
    }

    add_action( ‘user_register’, ‘auto_join’);
    }

    function group_auto_join_hidden_group($user_id, $group_id)
    {

    global $wpdb, $bp;
    $utn = $wpdb->users; // Create a shortcut variable for wordpress users table.
    $gmtn = $bp->groups->table_name . “_members”; // Create a shortcut variable for buddypress groups_members table.

    $mysql = “SELECT user_id FROM $gmtn WHERE group_id=$group_id”;
    $results = $wpdb->get_results( $mysql);
    foreach ( $results as $user) {
    groups_remove_member($user->user_id, $group_id);

    }

    }
    my auto join working well but I am not able to remove member
    Please help me what is wrong?

    #165148

    In reply to: can't create groups

    carolinecalvert
    Participant

    I also have S2 member plugin installed… when I go into the group options these are the two choices I see
    >Members
    >no pending invites

    there is no option to create a group???

    i have it set so that anyone who is member can create a group??

    doxaliber
    Participant

    I have similar problem. When a user invite someone to his group the other user don’t receive any notification. I think this is a bug. I’ve also tried default theme, but still it doesn’t work. 🙁

    Hugo Ashmore
    Participant

    Users do not add users to groups! users add themselves or if you install a plugin they can send invites to a group (‘invite-anyone’).

    And you did open by saying ‘Admin’ adding users to groups if the user is admin then they ought to be ok with visiting the dashboard? or is that a major hassle 🙂

    #156732
    wyrmwyrx
    Participant

    In the mean time I found this post indicating that this problem may be linked to the Invite Anyone plugin: http://redmine.gc.cuny.edu/issues/2159

    #150541
    Lynn Hill
    Participant

    Hi again, I just want to add that I have just updated to the latest BP and the missing toolbar problem is still there, along with a few other things as well for new users. such as friends not being listed when they want to invite them to join newly created groups, not sure how long this has been going on, but definitely before the later BP update.

     

    #149379
    Ben Hansen
    Participant

    You can visit and navigate public groups; you can’t access private groups without becoming a member.

    oh yeah i forgot 😛 good suggestion with that invite anyone plugin.

    #149094
    seppy
    Participant

    @mercime

    Sorry, have one more question! Stuck on a similar issue again, the groups_remove_member worked a treat :), but I also need to hook a function for when a person clicks “leave group” on their own accord.

    `add_action( ‘groups_leave_group‘, ‘function_here’ );`

    I tried ‘groups_leave_group’ but this doesn’t seem to work (unless I’m doing something stupid).

    Also I was wondering if you could clear up what the “screen” means in the actions like groups_screen_group_forum
    groups_screen_group_members
    groups_screen_group_invite
    groups_screen_group_leave

    Really appreciate your help so far!

    #143990

    It sounds like you should be utilizing hidden groups rather than private groups.

    #142623
    Aeryn-Lynne
    Participant

    I’ve tried recreating the error to get an error-log, but nothing so far.

    I was able to recreate the error though where turning off xprofile would mean that pending friendships and the invite friends to groups areas would show “no pending friendships” or a blank list respectively.

    Sorry I couldn’t be more help on this @djpaul.

    #142616
    Aeryn-Lynne
    Participant

    I’m currently not using a cache plugin until our site is truly out of beta, just so that I can ensure everything sets up well.

    The database name is correct/exists, I did shut off the xprofile extension in buddypress though. I have users creating their info in the wp-admin/profile.php section so I didn’t need xprofile to run.

    It did work initially, as I had been able to confirm friendships on the front end before. It was probably before I turned off xprofile as well….

    So I’ve just turned xprofile back on and can now find people to invite in groups and pending friendships. Problem solved, woot!! :)

    But now the xprofile area is back which for me is an issue. Is there any way of disabling the xprofile form so that users must edit their info in wp-admin/profile.php? For this site its less work if all member info remains and is edited there only.

    Thanks for helping me fix my initial issue @djpaul!! I’ve been tearing my hair out on this, lol.

    #142613
    Paul Wong-Gibbs
    Keymaster

    Is the server running on object or page caching? If you aren’t sure, are you running W3 Total Cache or any other caching plugins and what the settings are?

    I am assuming that error in your post is recent. It’s saying that a database table mydb_ivdb4wp.pd doesn’t exist. “mydb_ivdb4wp” is your database name. Where you have the part “LEFT JOIN pd”, it should look like this:

    “LEFT JOIN {$bp->profile->table_name_data} pd” (the middle part is replace by the name of an xprofile database table).

    Now to figure out why. If you look in your database, do you have these tables? wp_bp_xprofile_data, wp_bp_xprofile_fields, wp_bp_xprofile_groups, wp_bp_xprofile_meta ?

    @modemlooper (bp forum not letting me post nicely, so I am splitting my reply in 2 parts)

    @modemlooper,

    Out-of-the-box, BP has a Send Invites link on the Groups forum. We don’t want that link unless you are a Group Admin or Group Moderator. Currently, we only have 1 private group set at this time with a group moderator. It is Group 17. But I know we will be getting more and more of these instances and I want to avoid hard coding the Groups each time to control the Send Invites link.

    See my code below from a plug-in I wrote. It is in next thread post.

    David
    Member

    I have discovered the problem. I use the Invite Anyone plugin – https://wordpress.org/extend/plugins/invite-anyone/ but have a custom function that removes the “Send Invites” tab from the user community. It is a closed community and I only wanted the functionality within groups.

    I use a function that contains $bp->bp_nav= false; to remove it. As soon as I removed that, it worked. I have tried using bp_core_remove_subnav_item( $bp->member->slug, ‘invite-anyone’ ); but that does not work.

    Thanks for the assistance. I should have done some 101 testing first but appreciate the quick look.

    #135598
    billzy
    Participant

    Hey Paul,

    Thank you very much for your prompt reply, that snippet worked a treat … =)

    #135589
    Paul Wong-Gibbs
    Keymaster

    bp_group_has_invites() starts the entire template loop. You don’t want that if you’re after a simple ‘are invites enabled for this group’ check.

    Use bp_groups_user_can_send_invites(). It defaults to the current logged in user, so also check is_user_logged_in().

    #135181
    Hugo Ashmore
    Participant

    not really understanding the question – group creator is admin of group users can be made moderators both ought to be able to invite to groups, but install the plugin as it has backend options that may help.

    #134946
    mrjarbenne
    Participant

    Depending on the size of your userbase, you could make all the groups Hidden, then use the Invite Anyone plugin to manually invite (or have established group admins manually invite) the users who belong in each separate group. Don’t get thrown by the first bullet in the description of the plugin, in this instance the power of this plugin will be in your ability to invite people to a group even if you aren’t friends with them (bullet 2 in the description on the link below). Perfect if you are using the Followers plugin as well and have Friend Connections turned off:

    https://wordpress.org/extend/plugins/invite-anyone/
    https://wordpress.org/extend/plugins/buddypress-followers/

    #133867

    In reply to: Forum management

    @mercime
    Participant

    == Do I have to separately install bbPress? ==

    No, you don’t have to install the bbPress plugin if you want to use Group Forums at all. Go to the specific Group’s page > Admin tab to manage your Group.

    == I want to be able to limit access to a group / forum based on the user role ==

    You need create a plugin to do that. Or, make the Group either Private or Hidden. Members can only request to join in or members can be invited to join Private groups. Membership in Hidden Groups is by invitation only.

    Boone Gorges
    Keymaster

    If you don’t want anyone in any group to be able to send invites, put the following in your bp-custom.php file:

    function bbg_no_send_invites( $can_send_invites ) {
    $can_send_invites = false;
    
    return $can_send_invites;
    }
    add_filter( 'bp_groups_user_can_send_invites', 'bbg_no_send_invites' );

    If you want to be more selective than that – for instance, allowing only group admins to invite, or blocking invites only in private groups – you’ll need to put some more logic in there before setting $can_send_invites to false.

Viewing 25 results - 151 through 175 (of 351 total)
Skip to toolbar