finished some compatibility work and confirm support for Kunena 3.0.1

Signed-off-by: TomWu <phperwuhan@gmail.com>