Some questions about creating plugins for BP 1.5
Hi, I’ve read about the changes for the BP 1.5 plugins.
I have a WP plugin that I would like to extend for BuddyPress. The only functions I would like for it is add BP notifications for some events.
1) do we need to extend the BP_Component for every plugin, or just for complex components ?
I my case, should I do it ?
2) Guess I’ll have to do it. Then my 2nd question : I did a test and wasn’t able to make it work.
Seems that the child class do not runs the function “includes”. It work if I run it manually; but then
3) my plugin’s global “notification_callback” is empty. The function exists. though. Guess this is related with the previous thing. But even if I try
$bp->query_subscribe = new BP_Query_Subscribe();
//TO FIX SHOULD RUN AUTOMATICALLY
my notifications are not displayed (but they are recorded in the sql tables).
Could someone give me some advices ? Also, it would be wonderful to update the bp-skeleton-plugin !
- The topic ‘Some questions about creating plugins for BP 1.5’ is closed to new replies.