subramanya1 / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Hooks, Filters, and data transfer with other plugins #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[Describe this work unit]

Add hooks and filters to BuddyPress Media (as required) to allow other 
developers to integrate with our plugin.

===

We're asking other developers for feedback on what hooks and filters we can add 
to BP Media to make it easy for them to integrate with us.

It is not practical at this point to "just add hooks and filters to 
everything". There are over 35,000 lines of code in the plugin, and hundreds of 
functions. 

The hook/filter/callback architecture has to be carefully planned so it can be 
extended in the future without changing existing hooks/filters. Otherwise, 
future changes will break other developer's plugins.

To avoid these problems, we are asking other developers to provide feedback on 
the types of hooks/filters they would like added to Buddypress Media, so we can 
design an architecture with their needs in mind.

If you are another plugin developer reading this post ...it is not necessary to 
go through our code. Just list the actions you would like a hook/filter on, and 
the data you would like sent out with the hook/filter call.

Thanks!

-The BP Media Dev Team

===

[What components of the plugin will be affected by this change]
Every component in the plugin

[Does this work unit block any other work units?]
No

[Estimated hours of developer time this work unit will require]
8 to 16 hours

[Estimated completion date]
2010-08-01

Original issue reported on code.google.com by CarlRoett@gmail.com on 16 Jul 2010 at 6:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is for Integration with my plugin "CubePoints Buddypress Integration"

A do_action for the following:

* Uploading a new photo
* Deleting a photo
* Commenting on a photo (if it doesn’t use the default BuddyPress method)
* Creating a Album
* Voting (if there is a feature for that)

Anything that promotes member activity I guess. Is there a new feature list for 
the upcoming 0.1.9? That way I can reference to see why kind of do_actions 
would be useful.

Original comment by insuranc...@gmail.com on 20 Jul 2010 at 3:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
* Different do_action for audio, video, and image upload/delete
* do_action for "liking" a photo

All I can think of right now. Sounds awesome!

Original comment by insuranc...@gmail.com on 26 Jul 2010 at 2:02

GoogleCodeExporter commented 9 years ago

Original comment by CarlRoett@gmail.com on 17 Sep 2010 at 9:37

GoogleCodeExporter commented 9 years ago

Original comment by CarlRoett@gmail.com on 17 Sep 2010 at 10:00