Update settings.php

Added settings to enable/disable sharing options in sidebar.