slaFFik / bp-feeds

BuddyPress Feeds - Allow your members to import (RSS) feeds of their external blogs into Activity Directory
GNU General Public License v3.0
7 stars 2 forks source link

Components as taxonomy #28

Closed slaFFik closed 8 years ago

slaFFik commented 9 years ago

Members, groups, forums, sites etc - they all should a separate custom taxonomy for one bp_feed new CPT.

All taxonomies will be registered through an API bpf_register_feed_component() etc. All taxonomies will be added to DB on registration (with avoiding duplications, of course).

End result:

  1. BP Feeds top level menu
  2. Components submenu which is custom taxonomy with a bpf_component slug
  3. Every new extension (members, groups, events, forums etc) will register itsуда and that will add a new term record into db to this taxonomy.
  4. On import every feed item will pass its component and that will assign term_taxonomy to each imported feed item. That will update counters in admin area, and will give ability to query easily.
slaFFik commented 8 years ago

Members Feeds -> BP Feeвы (CPT=bp_feed) API for registering feeds components => bpf_register_feed_component('slug', $params = []) Register members feed component and add custom taxonomy to DB on plugin activation test - plugin to add groups component

slaFFik commented 8 years ago

Delete terms and taxonomies on plugin data deletion