Skip to Content Skip to Menu

[SOLVED] IDDEIM and CB

  • BuyRat
  • BuyRat
  • OFFLINE
  • Posts: 42
  • Thanks: 1
  • Karma: 0
11 years 9 months ago - 11 years 8 months ago #210067 by BuyRat
[SOLVED] IDDEIM and CB was created by BuyRat
Hi,

I'm using latest UDDEIM and CB and CB Subs.

I have 2 groups of users on my site:

Group A
Group B

I only want Group A to be able to message Group B and vice versa.

Is there a way to restrict Group A from messaging other Group A members? And Group B from messaging Group B members?

Cheers,
Last edit: 11 years 8 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • BuyRat
  • BuyRat
  • OFFLINE
  • Posts: 42
  • Thanks: 1
  • Karma: 0
11 years 8 months ago #210388 by BuyRat
Replied by BuyRat on topic Re: IDDEIM and CB
Ok, managed to find another post on this and it seems this is not possible.

To get around this, is there anywhere to disable the compose option? I've searched though all the plugin and UDDE IM admin config and can't find it anywhere.

Cheers,

Please Log in or Create an account to join the conversation.

  • BuyRat
  • BuyRat
  • OFFLINE
  • Posts: 42
  • Thanks: 1
  • Karma: 0
11 years 8 months ago #210404 by BuyRat
Replied by BuyRat on topic Re: IDDEIM and CB
I see there are ways to disable compose from a 3rd party source but not from the actual admin. You can disabel the To field in the plugin admin

Just in case anyone else is trying to do the same thing.

I had to comment out these lines of code and that sorted it:

com_uddeim\includes.php starting line: 678


if ($uddeaction=="new") {
/*echo "<li class='uddeim-activemenu'><span>";
if ($config->showmenuicons==1 || $config->showmenuicons==2)
echo "<img src='".$pathtosite."/components/com_uddeim/templates/".$config->templatedir."/images/menu_new.gif' alt='"._UDDEIM_COMPOSE."' />";
if ($config->showmenuicons==0 || $config->showmenuicons==1)
echo _UDDEIM_COMPOSE;
echo "</span></li>\n";
} else {
echo "<li>";
echo "<a href='".uddeIMsefRelToAbs("index.php?option=com_uddeim&task=new&Itemid=".$item_id)."'>";
if ($config->showmenuicons==1 || $config->showmenuicons==2)
echo "<img src='".$pathtosite."/components/com_uddeim/templates/".$config->templatedir."/images/menu_new.gif' border='0' alt='"._UDDEIM_COMPOSE."' />";
if ($config->showmenuicons==0 || $config->showmenuicons==1)
echo _UDDEIM_COMPOSE;
echo "</a>";
echo "</li>\n";*/
}

So that's sorted, now people can only send a message to each other via their profile pages or by reply. The profile PM links are easier to control with any defined user grouping and the display of the message.

This can now be closed.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum