Re: sample plugins?
bbPress has a plugin API that functions exactly the same as WordPress’. All the familiar functions such as do_action(), add_filter() and so forth are found in bbPress. One of our goals is to make bbPress as pluggable as possible. If you have suggestions for new hooks or other improvements, please let us know.