added global condition which takes value from settings->discussion Closes #58