Help
Discuss or request ArrowChat site notifications
User avatar
jerome
Customer
 
Posts: 93
Joined: 05 Jan 2010, 02:01

 

by jerome 13 Mar 2010, 23:30

has anyone been successful in making the notifications work? my database values seems to be correct however im still not getting any notification.

platform: jomsocial
User avatar
BToth
Customer
 
Posts: 29
Joined: 18 Jan 2010, 18:27

 

by BToth 14 Mar 2010, 06:50

No, they don't appear to be working for me either. I think I read somewhere they're not yet opertaional (although I don't know where I read that...I could just be making it up) :lol:

Hopefully soon!
User avatar
jerome
Customer
 
Posts: 93
Joined: 05 Jan 2010, 02:01

 

by jerome 14 Mar 2010, 07:14

BToth wrote:No, they don't appear to be working for me either. I think I read somewhere they're not yet opertaional (although I don't know where I read that...I could just be making it up) :lol:

Hopefully soon!


you're on jomsocial too?
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 14 Mar 2010, 07:32

You need to follow the instructions on www.arrowchat.com/install under step five, but it is not ready yet. We hope to have the instructions written today.
User avatar
jerome
Customer
 
Posts: 93
Joined: 05 Jan 2010, 02:01

 

by jerome 14 Mar 2010, 07:33

Jason wrote:You need to follow the instructions on http://www.arrowchat.com/install under step five, but it is not ready yet. We hope to have the instructions written today.


ah no wonder, that gives light to my thought about the notifications. hope it will be ready jason. thanks for the great work.
User avatar
ISOURANAKIS
Customer
 
Posts: 24
Joined: 05 Jan 2010, 15:37

 

by ISOURANAKIS 25 Mar 2010, 13:33

sth new with the jomsocial notifications?????
User avatar
GEdmonstone
Customer
 
Posts: 5
Joined: 20 Feb 2010, 23:47

 

by GEdmonstone 25 Mar 2010, 17:00

I have tried many different variations in JomSocial to try and get the notifications working, however, without any luck so far. There must be someone with a bit of code knowledge out there that can help us out with this one. Anyone up for the challenge?

I will keep working on it, and if I get any luck, I will post it here.

Gary - Founder of www.kumbooka.com
User avatar
Chris
Customer
 
Posts: 48
Joined: 13 Dec 2009, 22:45

 

by Chris 25 Mar 2010, 18:05

Sorry it's taken so long, this is definitely a top priority for us.
User avatar
vauntie
Customer
 
Posts: 14
Joined: 25 Mar 2010, 22:42

 

by vauntie 26 Mar 2010, 18:32

+1 from us to have this working.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Mar 2010, 15:03

We've added the friend request and private message notifications.

http://www.arrowchat.com/install step 5
User avatar
vauntie
Customer
 
Posts: 14
Joined: 25 Mar 2010, 22:42

 

by vauntie 27 Mar 2010, 17:58

This is great, and on a Sunday Too!

I've tried it and it works, the only thing is that it doesn't post a notification on a reply on the original message. That would be right underneath in:

components/com_community/models/inbox.php


Code: Select all
   

function sendReply($obj, $replyMsgId){
      $db =& $this->getDBO();
      $my   =& JFactory::getUser();
      
      // get original sender from obj
      $originalMsg  = new CMessage($db);
      $originalMsg->load($replyMsgId);
      
      $recepientMsg = $this->getRecepientMessage($replyMsgId);
      $parentId = $originalMsg->parent;
      
      $db->insertObject('#__community_msg', $obj, 'id');
      
      // Update the parent
      $obj->parent = $parentId;
      $db->updateObject('#__community_msg', $obj, 'id');
      
      if(is_array($recepientMsg)){               
          $recepientId = $this->getParticipantsID($replyMsgId, $my->id);
         
         foreach($recepientId as $sToId){
             $this->addReceipient($obj, $sToId);
            
            /* ARROWCHAT NEW MESSAGE NOTIFICATION */
            $query = "INSERT INTO arrowchat_notifications (to_id, author_id, author_name, type, alert_time)
               VALUES ('".$sToId."', '".$obj->from."', '".$obj->from_name."', '1', '".time()."')";
            $db->setQuery( $query );
            $db->query();
            /* END ARROWCHAT MESSAGE NOTIFICATION */
            
         }      
      
      } else {
      
         // add receipient, get the 'to' address from the original
         // sender. BUT, in some case where user try to post two message in
         // a row, the 'from' will failed. instead, we need to use 'to' from
         // the original message.
         $recepientId = $originalMsg->from;
         if($my->id == $originalMsg->from){
             $recepientId = $recepientMsg->to;
         }
         $this->addReceipient($obj, $recepientId);
         
         /* ARROWCHAT NEW MESSAGE NOTIFICATION */
            $query = "INSERT INTO arrowchat_notifications (to_id, author_id, author_name, type, alert_time)
               VALUES ('".$recepientId."', '".$obj->from."', '".$obj->from_name."', '1', '".time()."')";
            $db->setQuery( $query );
            $db->query();
         /* END ARROWCHAT MESSAGE NOTIFICATION */
         
      }            
      
      return true;
   }




correct?
User avatar
ISOURANAKIS
Customer
 
Posts: 24
Joined: 05 Jan 2010, 15:37

 

by ISOURANAKIS 28 Mar 2010, 01:16

guys sorry but its is not working properly for me ...

i have notice sth things

in goole chrome the message notification doesnt appear only if you click on the button of notifications and only for 1 sec then it is dissapear

in mozilla is see the red alert for new message but if you click on it is dissapear immediately...

as you see it is not working properly


any ideas ???
User avatar
vauntie
Customer
 
Posts: 14
Joined: 25 Mar 2010, 22:42

 

by vauntie 28 Mar 2010, 08:11

I am not sure about chrome. I had some problems because mootools needed to load before jquery in the header.

If I open the notifications and then close them, they are gone, and I think this is by design.
User avatar
ISOURANAKIS
Customer
 
Posts: 24
Joined: 05 Jan 2010, 15:37

 

by ISOURANAKIS 29 Mar 2010, 06:45

any update for this guys???
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.