Coder Social home page Coder Social logo

lmoffereins / bp-xprofile-relationship-field Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 96 KB

WP plugin for BP to add a profile field type to connect members with other objects

CSS 2.61% PHP 97.39%
buddypress buddypress-profiles wordpress-plugin

bp-xprofile-relationship-field's Introduction

BP XProfile Relationship Field

Adds a relationship profile field type to connect members to other objects

Description

This WordPress plugin requires at least WordPress 4.5 and BuddyPress 2.7.

Use the Relationship profile field type to connect your members to other (WordPress) objects like:

  • Post Types
  • Taxonomies
  • Users
  • Roles
  • Comments
  • and custom items that can be added through plugin filters

This plugin is inspired by the Relationship type connector in Pods.

Installation

If you download BP XProfile Relationship Field manually, make sure it is uploaded to "/wp-content/plugins/bp-xprofile-relationship-field/".

Activate BP XProfile Relationship Field in the "Plugins" admin panel using the "Activate" link. If you're using WordPress Multisite, you can choose to activate BP XProfile Relationship Field network wide for full integration with all of your sites.

Updates

This plugin is not hosted in the official WordPress repository. Instead, updating is supported through use of the GitHub Updater plugin by @afragen and friends.

Contributing

You can contribute to the development of this plugin by opening a new issue to report a bug or request a feature in the plugin's GitHub repository.

bp-xprofile-relationship-field's People

Contributors

lmoffereins avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

bp-xprofile-relationship-field's Issues

Member Types Relationship

What about the new Member Type? Although being private, I think it should be interesting to have it.

Relationship with users restriction

Thank you for this plugin.

I see that the plugin already allows users to select other users to show a relationship with them. Is there a possibility to restrict the user having a specific user role to only see users who have another specific user role?

Here is what I am trying to do:
I have assigned users, wordpress roles as institutes and practitioners. I would like practitioners to select the institutes they are working with or the institutes to select practitioners who are working with the institute. So when I use the relationship field to create this relationship between users, currently all site users/members are listed for selection. What I am looking for is:

  1. When a user with role practitioner is editing their profile, in the relationship field they only see users with role institutes
  2. When a user with role institute is editing their profile, in the relationship field they only see users with role practitioners

Is there a way to do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.