Skip to:

Porting wp plugins using post ID to use Group ID – broaden buddypress group functionality

  • Avatar of nit3watch


    Iv’e been looking at a lot of nice plug-ins such as @chrisvrichardson‘s MapPress Easy Google Maps and Five Star Rating ( ) amongst many other wp plug-ins that use the post ID that would work nicely for bp groups.

    First off, to save the group id instead of the posts id it should be quite easy using: ID={$bp->groups->current_group->id} as aposed to the origional code: ID={$id}, wordpress $id is the post id from what I have gathered, and then calling it either in the group header, eg: star rating, or creating a new tab on the group page, eg: for the maps..

    I had a go at this but cant come right, still learning sql and stuff having mainly played around with ‘group meta’ and not separate tables.. ( soz for bad terminology :P )

    Could one of the experienced developers maybe write up a tut or change a wordpress plug-in using the post id to work for groups so I, and others could have something to compare/relate back to.. and have a starting point for porting plug-ins for groups.

    These are countless plug-ins working of the wp post ID and this would really improve and expand buddypress group functionality.

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

You must be logged in to reply to this topic.