Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'how to invite to groups'

Viewing 25 results - 26 through 50 (of 348 total)
  • Author
    Search Results
  • #316925
    lynnapp
    Participant

    in my child theme I have added this to the members/single/parts/item-nav
    <label class=”toggle” for=”toggle”>☰ <span>Menu</span></label>
    <input class=”toggle” id=”toggle” type=”checkbox”>

    <nav class=”<?php bp_nouveau_single_item_nav_classes(); ?>” id=”object-nav” role=”navigation” aria-label=”<?php esc_attr_e( ‘Member menu’, ‘buddypress’ ); ?>”>
    <?php if ( bp_nouveau_has_nav( array( ‘type’ => ‘primary’ ) ) ) : ?>

      <?php bp_nav_menu(); ?>

    <?php endif; ?>
    </nav>

    I have removed the submenu form all the other page fronts
    So this is the problem

    1. The loop for the sub-menus is
    a. Putting the profile menu items under a new submenu under settings
    (this submenu )

    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>

    Here is the source codes for the menus while looking at looking at my own profile not as admin.

    So I was wondering if the walker argument could help with this, but I could not find any documentation on that part.
    Could you point me to where or how to get the profile submenu items under the profile li and not as a sub sub of settings?

    <nav class="main-navs no-ajax bp-navs single-screen-navs user-nav-tabs tabbed-links horizontal users-nav" id="object-nav" role="navigation" aria-label="Member menu">
    		<ul>
       <div class="menu-bp-container"><ul id="menu-bp" class="menu"><li id="front-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">Home</a>
    <ul class="sub-menu">
    	<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">View</a></li>
    </ul>
    </li>
    <li id="xprofile-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">Profile</a></li>
    <li id="activity-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Activity</a>
    <ul class="sub-menu">
    	<li id="just-me-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Personal</a></li>
    	<li id="activity-mentions-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/mentions/#item-header-content">Mentions</a></li>
    	<li id="activity-favs-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/favorites/#item-header-content">Favorites</a></li>
    	<li id="activity-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/friends/#item-header-content">Friends</a></li>
    	<li id="activity-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/groups/#item-header-content">Groups</a></li>
    </ul>
    </li>
    <li id="friends-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friends <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="friends-my-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friendships</a></li>
    	<li id="requests-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/requests/#item-header-content">Requests</a></li>
    </ul>
    </li>
    <li id="notifications-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Notifications <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="notifications-my-notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Unread</a></li>
    	<li id="read-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/read/#item-header-content">Read</a></li>
    </ul>
    </li>
    <li id="invite-anyone-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Send Invites</a>
    <ul class="sub-menu">
    	<li id="invite-new-members-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Invite New Members</a></li>
    	<li id="sent-invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/sent-invites/#item-header-content">Sent Invites</a></li>
    </ul>
    </li>
    <li id="settings-personal-li" class="menu-parent current-menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">Settings</a>
    <ul class="sub-menu">
    	<li id="general-personal-li" class="menu-child current-menu-item"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">General</a></li>
    	<li id="notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/notifications/#item-header-content">Email</a></li>
    	<li id="profile-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/profile/#item-header-content">Profile Visibility</a>
    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>
    </li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/invites/#item-header-content">Group Invites</a></li>
    	<li id="data-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/data/#item-header-content">Export Data</a></li>
    	<li id="delete-account-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/delete-account/#item-header-content">Delete Account</a></li>
    </ul>
    </li>
    <li id="groups-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Groups <span class="no-count">0</span></a>
    <ul class="sub-menu">
    	<li id="groups-my-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Memberships</a></li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/invites/#item-header-content">Invitations</a></li>
    </ul>
    </li>
    </ul></div> 
    		</ul>
    </nav>
    songdove
    Participant

    Found this: add_filter( ‘bp_nouveau_groups_disallow_all_members_invites’, ‘__return_true’ ); will put it into my bp_custom.php file and see if it works.

    #317843

    In reply to: BuddyPress 7.2.0

    mythoughts
    Participant

    Ditto all added buddypress linksreturn 404 error
    David Reese
    mythoughts
    Edit Profile
    Log Out
    Activity
    Profile
    Notifications
    Messages
    Friends
    Groups
    Courses
    Settings
    General
    Email
    Export Data
    Profile
    Group Invites

    #317292
    Simon Frntic
    Participant

    When I invite people to private group they get error when clicking on accept invitation on group list or profile page. Only way to join group is by request membership button.

    How do I get working accept invitation buttons for private groups.

    I use BP v7.2

    Unknown
    Participant

    Some of my users encounter this statement “”There has been a critical error on your site.”, when they create groups. Although when they refresh it and click on their profile the group is created. This is the error found.
    [11-Sep-2020 07:12:01 UTC] PHP Fatal error: Uncaught Error: Class ‘PHPMailer’ not found in /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-phpmailer.php:91
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(3233): BP_PHPMailer->bp_email(Object(BP_Email))
    #1 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php(365): bp_send_email(‘groups-invitati…’, 102044344, Array)
    #2 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invitation-manager.php(55): groups_notification_group_invites(Object(BP_Groups_Group), 102044344, 102044348)
    #3 /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-invitation-manager.php(197): BP_Groups_Invitation_Manager->run_send_action(Object(BP_Invitation))
    #4 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php(1718): BP_Invitation_Manager->send_invitation_by_id(1178)
    #5 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/actions/create.php(139): groups_send_invites(Array)
    #6 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): groups_action_create_group(”)
    #7 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #8 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #9 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(353): do_action(‘bp_actions’)
    #10 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): bp_actions(”)
    #11 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #12 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #13 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(430): do_action(‘bp_template_red…’)
    #14 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): bp_template_redirect(”)
    #15 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #16 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #17 /wordpress/core/5.5.1/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #18 /wordpress/core/5.5.1/wp-blog-header.php(19): require_once(‘/wordpress/core…’)
    #19 /wordpress/core/5.5.1/index.php(17): require(‘/wordpress/core…’)
    #20 {main}
    thrown in /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-phpmailer.php on line 91

    I hope someone can help me with this. This is a link to my site https://getaprofessor.com/

    rsandilands
    Participant

    We are only allowing hidden groups and only want to allow users to be able to invite another member to a group by searching for their email address, not by browsing the list of other members.

    Any thoughts on how to achieve this?

    rsandilands
    Participant

    We only only want to allow our members to create hidden groups, and to allow all group members to invite others, to post to activity feed and to also send group messages.

    I can see that group-settings.php sets up the form with these options but ideally we’d like to bypass the settings page in group creation as we aren’t allowing any choices here for the group creator.

    For now I’ve simply removed the redundant radio button fields and set the resining radio button to be checked so the values are carried through the multipart form but ideally I’d skip the group-settings.php options.

    #313348
    mungbean
    Participant

    I would to create a hybrid group, one that combines the settings of a public, private, and hidden group. This a semi-public or semi-private group.

    I would the group to be invite only via (optionally by request too), I would like group activity to display group member activity, but I would like all group content to be visible to all users.

    I found an existing thread but it has no response after 7 years. https://buddypress.org/support/topic/hybrid-groups/

    Is this possible?

    #312983
    in_jail_out_soon
    Participant

    Query Monitor has detected a Database error – Deactivating Buddypress removes the error, deleting and reinstalling Buddypress does not solve / or create the table.

    How do I fix this?

    running latest php version / latest version of wordpress.

    SELECT DISTINCT i.item_id
    FROM wpni_bp_invitations i
    WHERE user_id IN (1)
    AND class IN ('bp_groups_invitation_manager')
    AND type = 'invite'
    AND invite_sent = 1
    AND accepted = 0	
    Unknown
    
    Unknown	Table 'training_cpd.wpni_bp_invitations' doesn't exist	qmdb
    #312639
    scox1
    Participant

    I have a plugin for LDAP/AD integration on my site that maps to the user’s buddypress profile fields including profile picture. The profile picture shows up on the profile page, directory, forum. It even shows up on the membership list in groups. However, it doesn’t show up for the administrators of the group listed above the group name or on the invite page. We are using the Woffice theme, which buddypress is integrated with. Any suggestions are greatly appreciated.

    calliesens
    Participant

    Hello, I would like to do the following:

    1. Disable friends function: I do not wish my members to contact/interact with each other privately
    2. Groups:
    a. Only admins who are given permissions can setup groups and they can invite any member in the member directory to the group (does the admin have to add every new member as friend in order to do this?)
    b. Members in the group can communicate with each other within the group with @mentions but they cannot add each other as friends, message each other privately or send invites to invite others into the group

    Is the above possible? Any help is greatly appreciated! Thank you very much!

    #309830
    bmcconach
    Participant

    Howdy, BuddyPress friends!

    I have been working on a project for fun and have been enjoying the laying out of items and adding plugin functionality a bit much here lately. So much so, in fact, that I put the testing phase on the back shelf for a bit.

    When I was attempting to request membership from a test account to a private group that my admin account was the creator of, I ran into an issue: I can get to the request page (/groups/test-group/request-membership/?_wpnonce=47febc75fe) by clicking the link to do so and then am presented with a textarea for request comments, however when I submit the form (with or without comments) I am taken back to the group’s main page (/groups/test-group/) and am presented with “There was an error sending your group membership request. Please try again.” The request does not come through (not in BP’s notifications, e-mail, pending requests, etc.) at all.

    At first this was a minor irritation because I could go to the group as the admin and invite the test account to join the group. There I am presented with a checkbox for my test account’s name, as well as a submit button; however when clicking on the checkbox, the form instantly submits without ever sending an invite. I even attempted to modify the live source to set the field to checked, attempted to submit, and received a success message stating my invite was sent, but of course it never was.

    I have checked the list of plugins I have on my site, disabled a few I didn’t necessarily need, and have checked each of the remaining to see if there’s any sort of conflict between plugins affecting groups, but to no avail. This functionality is key to the use of groups for my project, so I would sincerely appreciate any advice from more knowledgeable members of the BP community.

    Some support information, including a list of active plugins, can be found below. Please note that any plugin with ** beside it came bundled with the theme.

    == Server Environment ==
    	Operating System: Linux
    	Software: Apache/2.4.6
    	MySQL version: MariaDB Server v5.5.61-MariaDB-38.13
    	PHP Version: 7.2.24
    	PHP Max Input Vars: 2500
    	PHP Max Post Size: 64M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 5.3.2
    	WP Multisite: No
    	Max Upload Size: 64 MB
    	Memory limit: 512M
    	Permalink Structure: /%postname%/
    	Language: en-US
    	Timezone: America/New_York
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: Gwangi
    	Version: 2.1.1
    	Author: Themosaurus
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: en_US
    	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
    
    == Active Plugins ==
    	(BuddyDev) BP Auto Login on Activation
    		Version: 1.0.3
    		Author: Brajesh Singh
    
    	Author Avatars List**
    		Version: 1.18
    		Author: Paul Bearne
    
    	Awesome Weather Widget
    		Version: 3.0.2
    		Author: Hal Gatewood
    
    	bbPress
    		Version: 2.6.3
    		Author: The bbPress Contributors
    
    	BP Messages Tool
    		Version: 2.1
    		Author: PhiloPress
    
    	BP Profile Search
    		Version: 5.2.4
    		Author: Andrea Tarantini
    
    	BuddyPress
    		Version: 5.1.2
    		Author: The BuddyPress Community
    
    	BuddyPress Default Cover Photo
    		Version: 1.6.0
    		Author: SeventhQueen
    
    	BuddyPress Extended Friendship Request
    		Version: 1.2.0
    		Author: BuddyDev Team
    
    	BuddyPress Reorder Tabs
    		Version: 2.0.1
    		Author: BuddyBoss
    
    	BuddyPress Xprofile Custom Field Types
    		Version: 1.1.3
    		Author: BuddyDev
    
    	Classic Editor
    		Version: 1.5
    		Author: WordPress Contributors
    
    	Classic Editor Addon
    		Version: 2.6.0
    		Author: Pieter Bos, Greg Schoppe
    
    	Dashboard Notepad
    		Version: 1.42
    		Author: Stephanie Leary
    
    	Easy Custom Sidebars**
    		Version: 1.0.10
    		Author: Titanium Themes
    
    	Elementor**
    		Version: 2.8.3
    		Author: Elementor.com
    
    	Envato Market
    		Version: 2.0.3
    		Author: Envato
    
    	Essential Addons for Elementor
    		Version: 3.7.1
    		Author: WPDeveloper
    
    	Grimlock**
    		Version: 1.2.5
    		Author: Themosaurus
    
    	Grimlock Animate**
    		Version: 1.1.0
    		Author: Themosaurus
    
    	Grimlock for Author Avatars List**
    		Version: 1.0.4
    		Author: Themosaurus
    
    	Grimlock for bbPress**
    		Version: 1.0.3
    		Author: Themosaurus
    
    	Grimlock for BuddyPress**
    		Version: 1.1.4
    		Author: Themosaurus
    
    	Grimlock for Elementor**
    		Version: 1.0.1
    		Author: Themosaurus
    
    	Grimlock for Jetpack**
    		Version: 1.0.4
    		Author: Themosaurus
    
    	Grimlock for Testimonials by WooThemes**
    		Version: 1.1.0
    		Author: Themosaurus
    
    	Grimlock for The Events Calendar**
    		Version: 1.1.2
    		Author: Themosaurus
    
    	Grimlock Hero**
    		Version: 1.0.7
    		Author: Themosaurus
    
    	Grimlock Isotope**
    		Version: 1.0.7
    		Author: Themosaurus
    
    	Grimlock Login**
    		Version: 1.0.10
    		Author: Themosaurus
    
    	Hide Admin Bar
    		Version: 0.3.9.9
    		Author: Shelby DeNike
    
    	If Menu - Visibility control for menu items
    		Version: 0.15
    		Author: Layered
    
    	Kirki Customizer Framework**
    		Version: 3.0.45
    		Author: Ari Stathopoulos
    
    	MediaPress
    		Version: 1.4.6
    		Author: BuddyDev
    
    	Menu Image**
    		Version: 2.9.5
    		Author: Rui Guerreiro
    
    	Simple Buddypress Profile Privacy
    		Version: 0.7.9
    		Author: Justin Hansen
    
    	Social Articles
    		Version: 2.9.5
    		Author: Broobe
    
    	The Events Calendar
    		Version: 4.9.14
    		Author: Modern Tribe, Inc.
    
    	UpdraftPlus - Backup/Restore
    		Version: 1.16.21
    		Author: UpdraftPlus.Com, DavidAnderson
    
    	Verified Member for BuddyPress**
    		Version: 1.1.1
    		Author: Themosaurus
    
    == Must-Use Plugins ==
    	Gateway Relay
    		Version: 1.0
    		Author: Arnold Bailey (Incsub)
    
    	rms_unique_wp_mu_pl_fl_nm.php
    		Version: 
    		Author: 
    
    	WPMU Assist
    		Version: 1.0.2
    		Author: Arnold Bailey (Incsub)
    
    == Elements Usage ==
    	
    	wp-page : 12
    		eael-adv-tabs : 1
    		google_maps : 1
    		image-carousel : 1
    		shortcode : 1
    		text-editor : 1
    		wp-widget-grimlock_author_avatars_section_widget : 1
    		wp-widget-grimlock_posts_section_widget : 1
    		wp-widget-grimlock_query_section_widget : 1
    		wp-widget-grimlock_section_widget : 3
    		wp-widget-grimlock_the_events_calendar_tribe_events_section_widget : 1
    
    == Log ==
    	
    PHP: showing 1 of 1PHP: 2020-01-02 10:43:38 [error X 1][/home/*****/public_html/wp-content/plugins/elementor/elementor.php::97] Cannot redeclare elementor_fail_wp_version() (previously declared in /home/*****/public_html/wp-content/plugins/elementor/elementor.php:97) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    
    JS: showing 1 of 1JS: 2020-01-11 16:50:05 [error X 1][https://*****/wp-content/plugins/grimlock/assets/js/navigation-stick-to-top.js?ver=1.2.5:27:45] Cannot read property \'top\' of undefined
    #307618
    markbildner
    Participant

    Thank you for taking the time to respond. Unfortunately I cannot assign everyone of a certain role to the same class. They are all students and therefore Subscribers. And I cannot just do it for new groups when they are created.

    I have an easy way to delete members in bulk, via the Bulk Actions on the Groups->Edit page.
    I have an easy way to invite members, via the front end Invite page.
    But I do not have an easy way to directly add members, without going through the very slow search dialog box for each name on the Groups->Edit page. Why can’t that be a set of checkboxes?

    #305681

    In reply to: Group is not working

    shanebp
    Moderator

    BP groups are only related to bbPress in that you can give a group a bbpress forum.
    Group invites are not related to bbPress.

    Did you activate BP network-wide or just on a sub-site ?

    #305570
    Venutius
    Moderator

    Yes I’d say it can, BP has Hidden and PRivate groups, which means only invited site members can join. For added security you can install BP Registration Options which would allow you to vet all new site members and a privacy plugin such as BP Members Only would make doubly sure of the overall privacy of the site. Search engines won’t see anything since they are not members of the site and those pages will only be available to view by site members who have been invited to join the group. Also, if an existing member wee to turn troll, it’s a lot easier to ban then from the platform entirely.

    #305433
    shanebp
    Moderator

    If you have access to phpmyadmin, it is quite easy.

    First – make a backup of your database

    Then go to the ...bp_groups_meta database table.

    Each group will have a row with a meta_key called invite_status.
    And you are saying that the meta_value for those rows is admins.

    db

    But you want that meta_value to be members.
    Perhaps your version of phpmyadmin has a search & replace tool.
    If so, these are the settings you need:

    replace

    Frank
    Participant

    I uploaded a few thousand groups into our website, but messed up on a setting and need to see if anyone can help find a quick solution, aside from deleting several thousand groups and re-uploading.
    I have the wrong settings for these groups in the “Which members of this group are allowed to invite others?” Currently it defaults to “Group Admins Only” and I need it to be “All Group Members”, otherwise when users joint he group they will not be able to invite others.
    Maybe there is some way to change this in the database files, or some other type of setting ot change.
    I’m not the brightest when it comes to some of this back-end stuff. If anyone could help I would greatly appreciate it. Thanks

    #304184
    halloy
    Participant

    Thank you very much for your reply. The plugin allows members to invite by email friends wich are not yet subscriber (friends in the real life not BP friends). So, I need to associated a custom user role at these new members for other functionnalities in the website. I’ll try your code.

    I have not yet tested the plugin to the end to see if the guest is only associated with the group that invites him or if he then has access to all groups.

    #304153
    Venutius
    Moderator

    I’m a bit uncertain as to the use case here: joining a group does not change the members role on the site, they started off as subscriber and they remained subscriber after joining. however you could acheive what you want by using the groups_send_invites action.

    So something like:

    add_action( 'groups_send_invites', 'venutius_invited_users_role', 10, 3);
    
    function venutius_invited_users_role( $group_id, $invited_users, $user_id ) {
        foreach ( $invited_users as $invited_user ) {
            $user = get_userdata( $invited_user );
            $user->add_role( 'invited_members' );
        }
    }
    #302019

    In reply to: How to branch pages

    Venutius
    Moderator

    bp_is_blog_page()
    bp_is_my_profile()
    bp_is_home()
    bp_is_front_page()
    bp_is_activity_front_page()
    bp_is_directory()
    bp_is_page($page)
    bp_is_active( $component )
    bp_is_profile_component()
    bp_is_activity_component()
    bp_is_blogs_component()
    bp_is_messages_component()
    bp_is_friends_component()
    bp_is_groups_component()
    bp_is_settings_component()
    bp_is_member()
    bp_is_user_activity()
    bp_is_user_friends_activity()
    bp_is_activity_permalink()
    bp_is_user_profile()
    bp_is_profile_edit()
    bp_is_change_avatar()
    bp_is_user_groups()
    bp_is_group()
    bp_is_group_home()
    bp_is_group_create()
    bp_is_group_admin_page()
    bp_is_group_forum()
    bp_is_group_activity()
    bp_is_group_forum_topic()
    bp_is_group_forum_topic_edit()
    bp_is_group_members()
    bp_is_group_invites()
    bp_is_group_membership_request()
    bp_is_group_leave()
    bp_is_group_single()
    bp_is_user_blogs()
    bp_is_user_recent_posts()
    bp_is_user_recent_commments()
    bp_is_create_blog()
    bp_is_user_friends()
    bp_is_friend_requests()
    bp_is_user_messages()
    bp_is_messages_inbox()
    bp_is_messages_sentbox()
    bp_is_notices()
    bp_is_messages_compose_screen()
    bp_is_single_item()
    bp_is_activation_page()
    bp_is_register_page()

    #279363
    leandrorm
    Participant

    I would like to force the action to the user ,
    I am trying to get the list of all groups but is not working groups_get_groups ($args) and BP_Groups_Group:: get ($args); they come back with 0 groups how do I get all the groups on my db so that I can add them to the group if exist with groups_accept_invite ($user_id, $group_id);

    #276909
    jameswee
    Participant

    Unpacking the package…

    Upgrading the plugin…

    Backing up the old version of the plugin…

    The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. bp-notifications/screens, bp-notifications/screens/read.php, bp-notifications/screens/unread.php, bp-notifications/actions, bp-notifications/actions/delete.php, bp-notifications/actions/bulk-manage.php, bp-members/screens, bp-members/screens/activate.php, bp-members/screens/profile.php, bp-members/screens/directory.php, bp-members/screens/register.php, bp-members/actions, bp-members/actions/random.php, bp-activity/screens, bp-activity/screens/permalink.php, bp-activity/screens/friends.php, bp-activity/screens/directory.php, bp-activity/screens/mentions.php, bp-activity/screens/groups.php, bp-activity/screens/favorites.php, bp-activity/screens/just-me.php, bp-activity/actions, bp-activity/actions/unfavorite.php, bp-activity/actions/delete.php, bp-activity/actions/favorite.php, bp-activity/actions/spam.php, bp-activity/actions/post.php, bp-activity/actions/reply.php, bp-activity/actions/feeds.php, bp-core/admin/sass, bp-core/admin/sass/hello.scss, bp-templates/bp-nouveau, bp-templates/bp-nouveau/sass, bp-templates/bp-nouveau/sass/_nouveau_messages.scss, bp-templates/bp-nouveau/sass/_nouveau_invites.scss, bp-templates/bp-nouveau/sass/buddypress.scss, bp-templates/bp-nouveau/buddypress, bp-templates/bp-nouveau/buddypress/members, bp-templates/bp-nouveau/buddypress/members/activate.php, bp-templates/bp-nouveau/buddypress/members/register.php, bp-templates/bp-nouveau/buddypress/members/index.php, bp-templates/bp-nouveau/buddypress/members/single, bp-templates/bp-nouveau/buddypress/members/single/blogs.php, bp-templates/bp-nouveau/buddypress/members/single/profile.php, bp-templates/bp-nouveau/buddypress/members/single/friends.php, bp-templates/bp-nouveau/buddypress/members/single/notifications.php, bp-templates/bp-nouveau/buddypress/members/single/home.php, bp-templates/bp-nouveau/buddypress/members/single/groups.php, bp-templates/bp-nouveau/buddypress/members/single/settings.php, bp-templates/bp-nouveau/buddypress/members/single/messages.php, bp-templates/bp-nouveau/buddypress/members/single/profile, bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php, bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php, bp-templates/bp-nouveau/buddypress/members/single/profile/profile-loop.php, bp-templates/bp-nouveau/buddypress/members/single/profile/change-cover-image.php, bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php, bp-templates/bp-nouveau/buddypress/members/single/cover-image-header.php, bp-templates/bp-nouveau/buddypress/members/single/plugins.php, bp-templates/bp-nouveau/buddypress/members/single/default-front.php, bp-templates/bp-nouveau/buddypress/members/single/friends, bp-templates/bp-nouveau/buddypress/members/single/friends/requests.php, bp-templates/bp-

    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 );
        }
    
    }
    
Viewing 25 results - 26 through 50 (of 348 total)
Skip to toolbar