Skip to:
Content
Pages
Categories
Search
Top
Bottom

Extending buddyPress notification features


  • globsticks
    Participant

    @globsticks

    Hello,

    is is possible to customize parent theme’s buddypress folder into child theme and edit the templates in child theme to send customized notifications to users when these events happen:

    a. a new account has been created
    b. a post from user moves up to a higher voting threshold
    c. a user gets a new voting score

    ¿is there any limitation to get the plugin not to work this way?

    thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

  • clickallco
    Participant

    @clickallco

    You’re asking about two separate things.

    The Buddypress notifications doesn’t need modified templates to send new notifications – it needs custom coding for it to be expanded.

    Here’s an example in how to create a new type of buddypress notification:

    https://gist.github.com/modemlooper/9693b591d8c36288496d

    Here’s where its described in the buddypress codex:

    bp_notifications_add_notification

    There is no limitation to the amount of notifications your website or plugin has if thats how you want it, it just needs to be coded in.


    globsticks
    Participant

    @globsticks

    Hi,
    Thank you for your response, then custom coding should expand notifications features without the need to modify templates. what about when plugin gets updated, would modifications stay?


    Varun Dubey
    Participant

    @vapvarun

    @globsticks if the plugin is going to change their hooks then you will also need to update your custom code as well, in general developers do not change hooks very frequently.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar