Title: BP Groups Suggestions
Author: lenasterg
Published: <strong>2013-10-30</strong>
Last modified: 2024-02-22

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/bp-groups-suggestions.svg)

# BP Groups Suggestions

 Autor: [lenasterg](https://profiles.wordpress.org/lenasterg/)

[Pobierz](https://downloads.wordpress.org/plugin/bp-groups-suggestions.2.1.0.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/bp-groups-suggestions/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/bp-groups-suggestions/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/bp-groups-suggestions/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/bp-groups-suggestions/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/bp-groups-suggestions/)

## Opis

Adds „Suggested groups” functionality into BuddyPress groups.
 By default, the plugin
uses the user’s friends’s groups in order to suggest groups of the login user, but
this can be extended through available filters. It adds a „Suggested group” tab 
into the Groups Directory page, and also a widget „Suggested groups” is available.
The login user can hide groups from suggestion list, by pressing the „Remove group”,
either through the widget, the „Suggested groups” tab or by the group’s homepage.
Also the login user can reset the hidden suggestion list. The plugin uses various'
filters’ so a developer can extend it, for example to include admins specified groups
as suggested, or to exclude groups from suggestion list. Tested up to: BuddyPress
11.0.0

Special thanks goes to Brajesh Singh, whoes 'BP Groups Suggest Widget’ (https://
buddydev.com/plugins/bp-group-suggest/) gave the idea for extending it to a full
plugin.

PLEASE: If you have any issues or it doesn’t work for you, please report in support
forum. It doesn’t help anyone to mark „broken” without asking around. Thanks!

### Notes

ideas.txt – contains ideas (brainstorming) which can improve the plugin. Feel free
to build some of them.
 License.txt – contains the licensing details for this component.

## Zrzuty ekranu

[⌊The "Suggested groups" tab on Groups Directory page.⌉⌊The "Suggested groups" tab
on Groups Directory page.⌉[

The „Suggested groups” tab on Groups Directory page.

[⌊Hide this Suggestion button on Group description (in case the group is on the 
suggested groups list).⌉⌊Hide this Suggestion button on Group description (in case
the group is on the suggested groups list).⌉[

Hide this Suggestion button on Group description (in case the group is on the suggested
groups list).

[⌊Message on Group home page is the group, which is displayed in every visit after
the group is removed from suggestion list.⌉⌊Message on Group home page is the group,
which is displayed in every visit after the group is removed from suggestion list
.⌉[

Message on Group home page is the group, which is displayed in every visit after
the group is removed from suggestion list.

[⌊Message on "Suggested groups" tab on Groups Directory page, in case none group
is suggested⌉⌊Message on "Suggested groups" tab on Groups Directory page, in case
none group is suggested⌉[

Message on „Suggested groups” tab on Groups Directory page, in case none group is
suggested

[⌊Widget settings⌉⌊Widget settings⌉[

Widget settings

## Instalacja

 1. Upload folder `bp-group-suggestions` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the 'Plugins’ menu in WordPress

## Najczęściej zadawane pytania

### Which are the available filters

 1. add_excluded_groups_suggestions: Allows developer to exclude groups from displaying
    as suggested.
     For example, see function my_groups_to_exclude on bp-suggest-functions.
    php
 2. get_possible_groups_suggestions_by_plugin: Allows developer to add groups into 
    suggestion list
     For example, see function my_groups_suggestions on bp-suggest-
    functions.php
 3. add_users_for_group_search: Add users which groups should be used for group search.
    From example, see function friends_for_group_suggestion_ls on bp-suggest-functions.
    php
 4. bp_get_group_remove_suggestion_button: Allow developer to change the look and action
    of remove suggestion button
 5. ls_group_suggestions_description: Change the message on group_loop head. From example,
    see function friends_grsug_ls_description which is used inside friends_for_group_suggestion_ls
    on bp-suggest-functions.php

### I think there should be more suggested groups

Only recenlty active groups are displayed.
 Recently active means 'last_activity’
date of group is < BP_GROUP_SUGGESTIONS_GROUPS_LAST_ACTIVITY_INTERVAL . ” ” . BP_GROUP_SUGGESTIONS_GROUPS_LAST_ACTIVITY_INTERVAL_TYPE..
Default setting is groups active the last 4 weeks, which means BP_GROUP_SUGGESTIONS_GROUPS_LAST_ACTIVITY_INTERVAL
= '4′ and BP_GROUP_SUGGESTIONS_GROUPS_LAST_ACTIVITY_INTERVAL_TYPE=’WEEK’. Both consts
are defined at the beginning of loader.php file.

### Can I extend/improve the plugin

Sure. Actually, I would be happy if someone gives a hand to make the best of the
suggested groups idea. Various things (brainstorming) which need to be fixed are
available on /ideas.txt

## Recenzje

![](https://secure.gravatar.com/avatar/e1097aded35cb30b1a506b2f54965e2e8651f6b922761b768e1aab24b1e58f76?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-9683/)󠁿

 [Georgio](https://profiles.wordpress.org/georgio-1/) 2016-09-03

Thanks @lenasterg for this useful plugin. PS The translation has a small bug but
I found the solution in the support forum.

 [ Przeczytaj 2 recenzje ](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/)

## Kontrybutorzy i deweloperzy

„BP Groups Suggestions” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

 *   [ lenasterg ](https://profiles.wordpress.org/lenasterg/)

Wtyczka „BP Groups Suggestions” została przetłumaczona na 3 języki. Podziękuj [tłumaczom](https://translate.wordpress.org/projects/wp-plugins/bp-groups-suggestions/contributors)
za ich wkład.

[Przetłumacz wtyczkę “BP Groups Suggestions” na swój język.](https://translate.wordpress.org/projects/wp-plugins/bp-groups-suggestions)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/bp-groups-suggestions/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/bp-groups-suggestions/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/bp-groups-suggestions/)
przez [RSS](https://plugins.trac.wordpress.org/log/bp-groups-suggestions/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 2.1.0

 * Migration for jQuery 1.9+

#### 2.0.1

 * Fix a type

#### 2.0

 * WordPress 6.1.1 and BuddyPress 11.0.0 compatible
 * PHP 8.1 compatibility
 * HTTPS compatibility

#### 1.8

 * Debug fixes in widget

#### 1.7

 * Compatibility fixes

#### 1.6

 * Compatibility fixes

#### 1.4

 * Added $args at suggestions_list() functions, in order to simplify the use as 
   the_widget
 * Remove Hidden suggestions groups action if a user get deleted, a friendship is
   created or canceled.
 * Add example for „get_possible_groups_suggestions_by_plugin” filter
 * Fix positioning of bp_gs_ls_is_hidden_message
 * Change function name from ls_bp_unhide_button() to ls_bp_group_unhide_button()
 * Change function name from add_suggestions_search_to_query() to ls_group_suggestions_add_suggestions_search_to_query()

#### 1.3

 * Minor fix for BP_GROUP_SUGGESTIONS_LS_DIR notice

#### 1.2

 * Added two more option in widget: Show join group button and limit group’s title
   charachers in widget (See screenshot 5).
 * Fix Greek translation
 * Other minor fixes

#### 1.1

 * Speed enhancement on the widget

#### 1.0

Initial version

## Meta

 *  Wersja **2.1.0**
 *  Ostatnia aktualizacja **3 lata temu**
 *  Włączone instalacje **30+**
 *  Wersja WordPressa ** 4.6 lub nowszej **
 *  Testowano do **6.2.11**
 *  Języki
 * [English (US)](https://wordpress.org/plugins/bp-groups-suggestions/), [Greek](https://el.wordpress.org/plugins/bp-groups-suggestions/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/bp-groups-suggestions/), i
   [Spanish (Spain)](https://es.wordpress.org/plugins/bp-groups-suggestions/).
 *  [Przetłumacz na swój język](https://translate.wordpress.org/projects/wp-plugins/bp-groups-suggestions)
 * Tagi
 * [buddypress](https://pl.wordpress.org/plugins/tags/buddypress/)[groups](https://pl.wordpress.org/plugins/tags/groups/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/bp-groups-suggestions/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  2 recenzje 5-gwiazdkowe     ](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/bp-groups-suggestions/reviews/)

## Zaangażowani

 *   [ lenasterg ](https://profiles.wordpress.org/lenasterg/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/bp-groups-suggestions/)