disable guest search feature when forum is private.

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