Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to hide the settings of IM alerts for users who are not IM enabled?
Thanks
Comments
Comment #1
jvieille CreditAttribution: jvieille commentedIM settings appear on all profiles. Should only appear for IM allowed roles
Comment #2
jvieille CreditAttribution: jvieille commentedIs it possible to fix this small bug?
Thanks
Comment #3
pahariwalla CreditAttribution: pahariwalla commentedSorry for the delay. Trying to catch up now after 3 months of neglect.
Yes, I agree that this is a "bug". Currently IM uses a permission "IM Talk", and it makes sense to use this in determining whether the user can access the alert settings. Will do.
Comment #4
pahariwalla CreditAttribution: pahariwalla commentedtagging quick
Comment #5
pahariwalla CreditAttribution: pahariwalla commentedcommited to rev 1.9.2.21 for im.module
I've moved the user customizable IM alert settings from being on their own "tab" in the profile to being on the main edit page of the user profile.
I did this because this tab is controlled by the menu system and i couldn't figure out how to make it sensitive to user access rights ...
Comment #6
pahariwalla CreditAttribution: pahariwalla commentedsetting status
Comment #7
jvieille CreditAttribution: jvieille commentedInstalled the last dev: doesn't work
I've got a lot of warnings running update.php, and then after disabling IM, an error keeps showing on the Modules page
"warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/controlc/www/sites/all/modules/im/im.module on line 482."
Comment #8
pahariwalla CreditAttribution: pahariwalla commentedsorry folks ... maybe i should start posting patches and let the community test them before i commit ... ;-) fix is in rev 1.9.2.22 of im.module