It is currently Sat Jul 04, 2009 12:00 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
Posted: Wed Aug 31, 2005 4:33 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 20, 2005 9:36 pm
Posts: 17
uddeIM is a personal messaging component+module.

The new version is released at http://www.mamboforge.net/projects/uddeim and will be put on an OSM-forge as well as soon as there is one. It does no longer require Community Builder (but still works with it of course)

What's new in this version.


Top
  E-mail  
 
Posted: Tue Sep 06, 2005 4:28 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Aug 20, 2005 4:12 pm
Posts: 450
neat component.

uddeIM supports system messages. They do not have
a sender and users can't reply to them. They can
be used by other components for notifications to
the users.


http://mamboforge.net/forum/forum.php?forum_id=6718


Top
   
 
Posted: Wed Sep 14, 2005 9:22 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
Great Component Benjamin,

Easy install and easy to use.  I just can't figure out how to integrate it with CB.  There are the options in the configurations, but there is no ties to CB at all.  How do you link it in to the CB profiles?

_________________
From the beginning...


Top
   
 
Posted: Thu Sep 15, 2005 12:13 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 2:37 am
Posts: 269
Location: Milwaukee, WI
there are some instructions here http://www.mambojoe.com/component/option,com_simpleboard/Itemid,25/func,view/id,7026/catid,8/limit,6/limitstart,6/ on how to add uddeim links in CB

_________________
Web Geek Cafe - development and Joomla coaching webgeekcafe.org
YourTribe.com - group social events - yourtribe.com


Top
  E-mail  
 
Posted: Thu Sep 15, 2005 3:50 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
Thanks Scuba, I'll check it out.

_________________
From the beginning...


Top
   
 
Posted: Sat Jan 07, 2006 8:56 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 2:37 am
Posts: 269
Location: Milwaukee, WI
I'm working on a added feature for Uddeim .05 to allow administrators to choose a user acl group from a dropdown to send a system message to.

Here is what I have so far.  It all looks good, but I keep getting a "No Recipients" error message when I try to send.  Please take a look at my code and let me know what I missed.

(new code added below)

_________________
Web Geek Cafe - development and Joomla coaching webgeekcafe.org
YourTribe.com - group social events - yourtribe.com


Last edited by scubaguy on Mon Jan 09, 2006 11:26 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Sun Jan 08, 2006 9:27 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Aug 20, 2005 9:36 pm
Posts: 17
Hi scubaguy,

I have a couple of observations:
(I'm talking uddeim version 0.5b throughout this posting)

  • The code around line #1777 in uddeim.php is an additional check whether the delivered variable for $sysgm_universe is either _toall, _toalladmins or _toalllogged. Since you wrote code to change exactly that, you ran into the "no recipients found" error message that nobody was supposed to see (unless (s)he hacks udde  ;-) ). Cut that code and replace it by a else $universe=$sysgm_universe. You might want to code an additional check here whether the delivered variable really is a valid one.
  • You create a mixup in the HTML form fields as you leave intact the sysgm_universe radio button list and add a select listbox with the same name. This may and will create unexpected and undesired results. So in order to get that working, cut the radio button list with the default entries (_toall, _toalladmins, _toalllogged) - as well as the sysgm_select single radio button - and add these default entries to your select listbox. This way, you have only one unique field with the name sysgm_universe and you don't get an empty select listbox in case your sql query doesn't return any acl groups - a possible source of error.
  • Since it is a feature that admins will see whenever they enter the compose system message page, you might want to consider not to hardcode the strings but to put them in an own language file.

I hope I could help and that this works.
Good luck!

WARNING
The System/General messages feature is a feature for administrators only. The code has not been written in a way that it is o.k. to let normal users access it (this would need additional checks of plausibility). I strongly recommend that you don't use the system/general messages code "tweaked to allow users to send to their connection groups as well." (The next uddeIM version will support multiple recipients.)


Top
  E-mail  
 
Posted: Mon Jan 09, 2006 11:25 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 2:37 am
Posts: 269
Location: Milwaukee, WI
Ok, I got this select group thing working.  Line numbers may be a little off due to the changes, but they should get you in the right area.  The changes I made are below and the completed files are attached in the zip file.  Backup your old includes.php and uddeim.php and replace them with the attached files to try this out.  Any improvements or other suggestions are very welcome.

In uddeim.php on about line 1753 I changed the code to:

Code:
   //changed by Michael Spredemann (scuabguy) for group select dropdown in system message send
if(!$sysgm_really) {
   // send not confirmed. ask for confirmation
   echo "<div id='uddeim-toplines'><p>";
   echo _UDDEIM_SYSGM_PLEASECONFIRM;
   echo "</p>\n</div>\n";
   echo "<div id='uddeim-message'><table cellpadding=7 cellspacing=1 width=100%>";
   if($sysgm_universe=="sysgm_toall") {
      $universe=_UDDEIM_SYSGM_WILLSENDTOALL;
   } elseif($sysgm_universe=="sysgm_toalladmins") {
      $universe=_UDDEIM_SYSGM_WILLSENDTOALLADMINS;
   } elseif($sysgm_universe=="sysgm_toalllogged") {
      $universe=_UDDEIM_SYSGM_WILLSENDTOALLLOGGED;
   } else {
   $universe=$sysgm_universe;
   }

   if(!$universe) {

      $mosmsg=_UDDEIM_UNEXPECTEDERROR_QUIT."No recipients selected";
      $redirecturl='index.php?option=com_uddeim';
      mosRedirect($redirecturl, $mosmsg);
   }
   // echo "\n\n\t<tr class='sectiontableentry1'>\n\t\t<td>".$universe."</td></tr>";
   $udde_infoheader=$universe."<br />";
   
   //end changed code by Michael Spredemann (scuabguy)



Around line 1831 in uddeim.php I added/changed the code to:

Code:
   <?php
   // acl groups select - by Michael Spredemann (scubaguy)
    } else {
   $aclsql = "SELECT group_id, name FROM  #__core_acl_aro_groups WHERE group_id NOT IN (17,28,29)";
   $database->setQuery($aclsql);
   $groups=$database->loadObjectList();
   
   foreach ($groups as $group) {
      $groupid = $group->group_id;
      $groupname = $group->name;

   if($sysgm_universe==$groupid) { ?>
<input type=hidden name="sysgm_universe" value="<?php echo $groupid; ?>">
   <?php
    }
    }
    }
   // end groups code
   ?>



Around line 1904 in uddeim.php I added/changed the code to:

Code:
   // acl groups select - by Michael Spredemann (scubaguy)
   } else {
   $aclsql = "SELECT group_id, name FROM  #__core_acl_aro_groups WHERE group_id NOT IN (17,28,29)";
   $database->setQuery($aclsql);
   $groups=$database->loadObjectList();
   
   foreach ($groups as $group) {
      $groupid = $group->group_id;
      $groupname = $group->name;
      
   if($sysgm_universe==$groupid) {
      $sql="SELECT id FROM #__users WHERE gid = $groupid";      
   }
   }
   }
   // end groups code



Around line 573 in includes.php I added/changed the code to:

Code:
      // acl groups select - by Michael Spredemann (scubaguy)
      echo "<select name='sysgm_universe' size='1'>";
      echo "<option value='sysgm_toall'>"._UDDEIM_SEND_TOALL."</option>";
      echo "<option value='sysgm_toalladmins'>"._UDDEIM_SEND_TOALLADMINS."</option>";
      echo "<option value='sysgm_toalllogged'>"._UDDEIM_SEND_TOALLLOGGED."</option>";

   $aclsql = "SELECT group_id, name FROM  #__core_acl_aro_groups WHERE group_id NOT IN (17,28,29)";
   $database->setQuery($aclsql);
   $groups=$database->loadObjectList();
   
   foreach ($groups as $group) {
      $groupid = $group->group_id;
      $groupname = $group->name;
      
      echo "<option value='".$groupid."'>".$groupid." - ".$groupname."</option>";
      }
      echo "</select>";
      // end groups code


You do not have the required permissions to view the files attached to this post.

_________________
Web Geek Cafe - development and Joomla coaching webgeekcafe.org
YourTribe.com - group social events - yourtribe.com


Top
  E-mail  
 
Posted: Fri Aug 03, 2007 12:50 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu May 25, 2006 11:08 pm
Posts: 195
Hi, is there a way to set it so every person gets E-mail-notification on new messages activated. I have had many members wonder why they are not getting emails that they have a new message.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group