Is it currently possible to turn off informational/error messages?
I have all this information sent my email and do not require the messages to show in $messages.
Thank you very much.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

YK85’s picture

+1 subscribing

rburgundy’s picture

I tried to make the informational message blank to remove it but got this warning when the informational message is suppose to show.

warning: Invalid argument supplied for foreach() in /home/abckonec/public_html/beta/sites/all/modules/user_relationships/user_relationships_api/user_relationships_api.api.inc on line 36.

I made the Informational Messages Submitted: to BLANK
Clicked to send a request to a user and get the warning above.

Bilmar’s picture

FileSize
6.58 KB

I believe it would be a great new feature to add a on/off switch to the informational messages.
I have attached an example screengrab of how the User Points module does it in their UI.

Regards

Bilmar’s picture

Title: turn off informational/error messages » option to turn off informational/error messages

Is this something the maintainer of UR may consider?
Thank you

YK85’s picture

kindly bumping

robby.smith’s picture

+1 subscribing

Display informational messages
[ ] No
[x] Yes

Display error messages
[x] No
[ ] Yes

would be awesome!

chuckbar77’s picture

subscribe, +1 for this setting

James-TRMS’s picture

Yes #6 would be very useful on a by instance basis

mrf’s picture

Status: Active » Postponed

I am postponing any 6.x feature requests that don't have a current applicable patch to help sort the large list of open features.

Please feel free to set to 'needs review' once a patch is included.

noahlively’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Postponed » Needs review
FileSize
1.02 KB

I've patched this against the 7.x tree. Basically I've added 2 checkboxes on the admin settings form. One to enable/disable messages at user login, the other to do the same on the user's account page.