Comments (4)
@jbonlinea The plugin (at present) only allows synced groups to be created in BuddyPress. There is code in the plugin that I was working on to allow BuddyPress groups to be created when creating CiviCRM groups, but I didn't ever finish it.
The "Check for OG groups" option is for porting CiviCRM from Drupal to WordPress where CiviCRM has groups that were once synced to Drupal Organic Groups. I realise this is probably a bit misleading for people unfamiliar with the plugin.
FYI, if you want to allow only certain BuddyPress groups to be synced, then the following should get you started:
add_filter( 'bp_groups_civicrm_sync_group_should_be_synced', 'my_groups_sync_filter', 10, 2 );
function my_groups_sync_filter( $should_be_synced, $group_id ) {
$groups_to_sync = [1, 3]; // The IDs of the BuddyPress groups that *should* be synced.
if ( ! in_array( $group_id, $groups_to_sync ) ) $should_be_synced = false;
return $should_be_synced;
}
from bp-groups-civicrm-sync.
Thank you very much for your reply !
and for this sniplet !
I do have a tricky question thow how about smart group ?
Thank's in advance
from bp-groups-civicrm-sync.
@jbonlinea I have looked into this. Unfortunately Smart Groups can't be of type "Access Control" so there can't be a "paired" Administrator group like this plugin uses.
from bp-groups-civicrm-sync.
hi,
I felt it wasn't designed for that !
I'm abit puzzedle as most groups I intended to use were smart groups.
I do not so much intend to use BP as a social network where people create groupes, but rathe as a front end profile module for CiviCrm contacts and groups !
Side questions thus, do you have any guidance or recomendation (readings, modules, etc) to display CiviCRM contact and group in WP front end ? Creating directories, etc...
I also wonder how are you using WP modules members and groups, and if you have any workflow to suggest ? (I've seen in the doc of you civicrm member sync module that you at least considered the two module I mention here)
Thank's foyr your attention and great developement, they are really game changer for anyone using wp with civicrm
from bp-groups-civicrm-sync.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bp-groups-civicrm-sync.