Sorry 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.
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."
Comments
Comment #1
jvieille commentedIM settings appear on all profiles. Should only appear for IM allowed roles
Comment #2
jvieille commentedIs it possible to fix this small bug?
Thanks
Comment #3
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 commentedtagging quick
Comment #5
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 commentedsetting status
Comment #7
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 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