Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where to submit patch

  • Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Hi Tosh,
    I have created a patch for extending the buddypress cube point to automatically allow other plugins to support it. It is simple, I have added two actions to admin section to allow addition of new points(in the form & update section). Would you like taking a look at it?

    Where should I submit it on the wordpress trac? or somewhere else ?
    Thanks
    Brajesh

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of Tosh
    Tosh
    Participant

    @xberserker

    @sbrajesh Sounds great. If you want you can submit the code using my contact form here:

    http://blog.slyspyder.com/contact/

    So you just have to add the do_action? Does it create another field after you add a new one. I love the idea btw. Thanks for you work. I can certainly patch this in if it tests out ok.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    Thanks Thosh.
    Just sent you a message with the details and the modifications.
    Yes, It is all about adding 2 actions. One in the form section where points are allocated and one in the update section where points are updated. Rest is delegated on the plugin developers to support cubepoint in their plugin. Your plugin provides a well written admin panel for that purpose and makes it very easy to extend.
    Please take a look at my mail. Once I am done with the blog post, I will link here :)

    Avatar of Tosh
    Tosh
    Participant

    @xberserker

    @sbrajesh Took a quick look at it, was this the only thing added? Or did I miss something?

    Does it also log the points? I haven’t had a chance to test this completely yet.

    Looking forward to your blog post :)

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    @xberserker
    Hi Tosh,
    yes, that was the only thing required. Everything else is delegated to the plugin developer. In my case, I am able to give points/deduct points. record the log :) was busy yesterday so could not put the post but it is certainly coming today :)

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    there is one more action required though(included in the patch)

    `
    do_action(“bp_cubepoint_settings_updated”);//allow other plugins to hook here and update their settings on save
    `

    Avatar of Selu Vega
    Selu Vega
    Participant

    @bluelf

    very interesting feature… such a great job i guess…

    Avatar of Tosh
    Tosh
    Participant

    @xberserker

    @sbrajesh Oh I see, curious to see how you did your side on the plugin to support CubePoints. I assume your using code for Cubepoints 3.0?

    Avatar of Tosh
    Tosh
    Participant

    @xberserker

    I assume this is the post you where talking about?

    http://buddydev.com/buddypress/supporting-cubepoints-for-global-forums/

    I can certainly add that as the next update. Thanks for adding that patch. I’ll have to work up a documentation on how to add it as a plugin author.

    Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    @xberserker,
    sorry Tosh. I should have followed back. yes, that is the post.
    I tried to document the process a little, but not in details there.

    Looking forward to your update and the documentation :)

    Avatar of Tosh
    Tosh
    Participant

    @xberserker

    @sbrajesh I added this to version 1.9.2 of my plugin. Thanks for the patch on this! :D

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

You must be logged in to reply to this topic.