MySMS Events:

Question: What can I do with this events ?

Now it is possible to write a simple plugin wich reacts on a specific MySMS event. It is easy to enhance the component without modifieing it.

For example you want to get an email if a sms is send over your website. For this use case I wrote a simple plugin.

@see http://mysms.joomlacoder.de/browser/branch/1.5.x/plugins/emailnotify/emailnotify.php

OnSendSms:

This event is triggerd before a sms message is send. If a plugin returns false the complete sending process is stopped. Be carefully !

OnLoadContacts:

This event is triggerd before a the send panel is shown. A plugin which is registertd to this event, can provide phonebook entries and groups from other sources. For example I created a JomSocial? Plugin ( still in development ). This plugin is reading out the JomSocial? database tables and returns contacts and groups if available.

@see http://mysms.joomlacoder.de/browser/branch/1.5.x/plugins/jomsocial/mysms_jomsocial.php