Changes to improve integration with bbPress

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>