hide buddypress tab if not active
fix https problem
fix image size issue
merge master