Page 1 of 1

InterComm Module Question

Posted: Mon May 26, 2008 1:37 pm
by sjmann
Does anyone know as to why I can't access any of the functionality of the InterComm (http://dev.cmsmadesimple.org/projects/internalmsg/) module. From the php I've read it should have intergrated itself into my admin section, but I have nothing.

Are there other steps I should be taking to use the module?

Cheers in advance.

Re: InterComm Module Question

Posted: Mon Jul 21, 2008 7:27 pm
by NashBridges
i have the same problem... can anybody help??

Re: InterComm Module Question

Posted: Mon Jul 21, 2008 11:28 pm
by JeremyBASS
You know I installed it on my beta site and ... shot if I know what to do with it... lol... same problem...

Re: InterComm Module Question

Posted: Tue Jul 22, 2008 12:36 am
by Dr.CSS
Do you have more than one admin with full rights?...

Re: InterComm Module Question

Posted: Mon Jul 28, 2008 2:57 pm
by NashBridges
no... i have one admin (me) and then the other user organized in three groups...

Re: InterComm Module Question

Posted: Mon Sep 29, 2008 11:43 am
by toto
I can not access the module too. any help?

Re: InterComm Module Question

Posted: Tue Oct 14, 2008 7:32 am
by Dr.CSS
This module is for communicating between Admin of the site if you have just yourself or other ppl. who aren't set as Admins then it will do you no good...

Re: InterComm Module Question

Posted: Fri Mar 19, 2010 10:58 pm
by NaN
Yes, it is an old topic but i wanted to share this to anyone who doesn't view the bugreports...

I have several users that are admins (3 Users that belongs to the group admin; so they should have all permissions).
But when selecting the InterComm module in tab "Compose" there are no users in the "Send To" dropdown. It seems to be that i'm the only admin. But this is definitly not the case.
Even the "Superadmin" (the account that installed CMSms) is not visible in the dropdown.
So i actually cannot send anything.

(CMSms 1.6.7; InterComm 0.1.1)

In brief: The Module is completely useless since admins cannot communicate with admins and non admins can only communicate with non admins. So no one can actually send a mail to an admin.
But it sounds pretty ... if it would work   :-\

This has something to do with how the module loads the permissions.
So the problem ist the function LoadPermissions() of InterComm.module.php.
There it searches for the permission "accessintercomm" in a linked table (users, user_groups, group_perms and permissions).
Since something has changed some while ago with the permissions of backend users that are admins this does not work for admins but only for users that are NOT assigned to an admingroup but has the permission "accessintercomm".

E.g. since the admin group has always all permissions there is no need to list the group permissions of the admin group in the database table.
The admin group is the first group that is created when CMSms is installed. So it has the ID 1. CMSms defines if a user has full backend access by just checking for this group ID or (if not 1) if there are any permissions found in the group_perms table that belongs to the users group. So even if you never touched the permissions - or if there actually are no group permissions found - you will have full backend acces as long as you belong to the admin group that has been created during installation.

That means if you just want to communicate with admins only, this module is useless due to its LoadParmissions function since it loads the permissions wihtout checking the group ID but only refers to what can be found in the group_perms table. And there are no admin permissions.
And that also means that non admins with permission "accessintercomm" cannot send messages to admins since the admins will never be listed in the "Send To" dropdown.

I hope you understand what i mean.
Apologies for any language issues but english is not my native language.

Since i'm a very impatient person i already fixed this and the errormessages that appears when viewing a recieved message.
So it works fine now :)

You can download the svn diff file from here:
http://dl.dropbox.com/u/2876578/CMS%20M ... sions.diff

and the modified file InterComm.module.php from here:
http://dl.dropbox.com/u/2876578/CMS%20M ... ssions.zip

Yes, i already filed a bugreport ;)

Re: InterComm Module Question

Posted: Mon Mar 07, 2011 6:33 am
by pedes
So it works fine now

You can download the svn diff file from here:
http://dl.dropbox.com/u/2876578/CMS%20M ... sions.diff

and the modified file InterComm.module.php from here:
http://dl.dropbox.com/u/2876578/CMS%20M ... ssions.zip
anyone has these files saved somewhere ?
this dropbox has run out of time ...

Thks
Peter

Re: InterComm Module Question

Posted: Mon Mar 07, 2011 10:06 am
by hoshy
Just replace "CMS Made Simple" with "CMSms" in the url ;)
But i don't know if this module still works with CMSms 1.9.4