I’m writing a plugin to add more navigation tabs and custom forms/actions on buddy press profile.
I have added a new subnav, however I would like it to be able to have actions that would click through to other urls such as slug/someaction/id e.g. slug/view/someid, slug/create/, slug/transfer/someid
And to have a submit form on those pages to do some action or perhaps via ajax.
Similar I suppose to how the messages screen works to be able to view and compose.
Any examples of how I can accomplish this?
I have been looking into the bp-messages files but there is so many files, templates and code.