Skip to content

Notificaciones personales y grupales en tiempo real para la plataforma Elgg.

Notifications You must be signed in to change notification settings

Podemos-TICS/live_notifications

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIVE NOTIFICATIONS PLUGIN
Fernando Vega Cervantes
[email protected]
https://twitter.com/floydian
http://community.elgg.org/profile/fvega
https://github.com/fernandovega

Este plugin sustituye las notificaciones internas de elgg(site). Este nuevo modelo notifica las siguientes acciones:

- Nuevos comentarios por parte de otros usuarios en cualquier publicación(Entidad) que soporte comentarios.
- Nuevos comentarios de otros usuarios en hilos de discusión de publicacion donde el usuario participa.
- Nuevos "Me gusta" en publicaciones propias.
- Notificaciones grupales: publicacion de nuevos recursos dentro del grupo.

El icono notificador de la barra superior funciona con el modelo comet(por compabilidad con la mayor parte de los servidores y navegadores de clientes), mostrando en tiempo real cuando hay una nueva notificación.

Idiomas: Ingles/Español 


Todas las correcciones y sugerencias son bienvenidas. Espero que les sea de utilidad a la comunidad. Saludos.

Para integrar un nuevo evento de forma manual a este plugin: 

Tan solo es necesario llamar la funcion add_new_notification() con los parametros correspondientes, esta se llamaria por ejemplo en la accion donde se ejecuta el evento deseado.

	add_new_notification($to_user_guid, $from_user_guid, $action_type, $entity_guid, $description);	

Lista de cambios futuros:
- Cron semanal, para eliminar antiguas notificaciones.
- Agregar nuevos eventos a notificar: Etiquetado de fotos, Eventos, etc...

*************************************************************************************************************

This plugin replaces internal elgg notifications (site). This new model reports the following:

- New comments by other users in any publication (Entity) supporting comments.
- New user comments in threads of publication where the user participates.
- New "Like" in own publications.
- Notifications Group: Publication of new resources in the group.

The notifier icon in the top bar works with the comet model (for compabilidad with most of the servers and client browsers), showing in real time when a new notification.

Languages​​: English / Spanish


All corrections and suggestions are welcome. I hope it will be useful to the community. Greetings.

To integrate a new event this plugin manually:

It is only necessary to call the function add_new_notification() with appropriate parameters, this would be called into elgg action where running the desired event.

	add_new_notification($to_user_guid, $from_user_guid, $action_type, $entity_guid, $description);

List of future changes:
- Weekly Cron to delete old notifications.
- Add new events to notify: Tagging photos, events, etc ...

About

Notificaciones personales y grupales en tiempo real para la plataforma Elgg.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%