MessageBusiness_ContactsSync - Version 1.0.0

Version Notes

Version 1.0.0 Release Candidate

Download this release

Release Info

Developer Sinabs
Extension MessageBusiness_ContactsSync
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/design/adminhtml/default/default/template/contactssync/system/config/sync/run.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category MessageBusiness
22
+ * @package MessageBusiness_ContactsSync
23
+ * @author Sinabs - http://www.sinabs.fr
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">
28
+ var interfaceLevel = '<?php echo MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_ACCEPT_INTERFACE_LEVEL; ?>';
29
+ var interfaceOption = '<?php echo MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_ACCEPT_INTERFACE_OPTION; ?>';
30
+ var typeExtract = '<?php echo MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_FULL_EXTRACT; ?>';
31
+
32
+ function runSync() {
33
+ var acceptInterfaceLevel = document.getElementById(interfaceLevel).value;
34
+ var acceptInterfaceOption = document.getElementById(interfaceOption).value;
35
+ var fullExtract = document.getElementById(typeExtract).value;
36
+
37
+ new Ajax.Request('<?php echo $this->getAjaxSyncUrl(); ?>', {
38
+ loaderArea: true,
39
+ method: 'POST',
40
+ parameters: {
41
+ acceptInterfaceLevel: acceptInterfaceLevel,
42
+ acceptInterfaceOption: acceptInterfaceOption,
43
+ fullExtract: fullExtract
44
+ },
45
+ onSuccess: function(transport) {
46
+ response = transport.responseText.evalJSON();
47
+ self.location=self.location;
48
+ }
49
+ });
50
+ }
51
+
52
+ function stopSync() {
53
+ var acceptInterfaceLevel = document.getElementById(interfaceLevel).value;
54
+ var acceptInterfaceOption = document.getElementById(interfaceOption).value;
55
+ var fullExtract = document.getElementById(typeExtract).value;
56
+
57
+ new Ajax.Request('<?php echo $this->getAjaxStopSyncUrl(); ?>', {
58
+ loaderArea: true,
59
+ method: 'POST',
60
+ parameters: {
61
+ acceptInterfaceLevel: acceptInterfaceLevel,
62
+ acceptInterfaceOption: acceptInterfaceOption,
63
+ fullExtract: fullExtract
64
+ },
65
+ onSuccess: function(transport) {
66
+ response = transport.responseText.evalJSON();
67
+ console.log(response);
68
+ self.location=self.location;
69
+ }
70
+ });
71
+ }
72
+ </script>
73
+ <?php echo $this->getButtonHtml(); ?>
app/etc/modules/MessageBusiness_ContactsSync.xml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category MessageBusiness
23
+ * @package MessageBusiness_ContactsSync
24
+ * @author Sinabs - http://www.sinabs.fr
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <config>
29
+ <modules>
30
+ <MessageBusiness_ContactsSync>
31
+ <active>true</active>
32
+ <codePool>community</codePool>
33
+ </MessageBusiness_ContactsSync>
34
+ </modules>
35
+ </config>
app/locale/es_ES/MessageBusiness_ContactsSync.csv ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "Message Business Module","Módulo Message Business"
2
+ "Are you sure you want to delete the Message Business Module?","¿Está seguro de querer suprimir el módulo Message Business?"
3
+ "An error has occurred during subscription","Ocurrió un error durante la suscripción"
4
+ "An error has occurred.","Ocurrió un error"
5
+ "Please specify an account number.","Por favor indique su número de cuenta"
6
+ "Please specify an API key.","Por favor indique la llave de API"
7
+ "Settings saved","Configuraciones guardadas"
8
+ "Your configuration settings have been saved","Los ajustes de configuración han sido guardados changé"
9
+ "The specified Message Business account is not yet activated. Please login, and activate the specified account before continuing the configuration of the module.","La cuenta Message Business creada no esta todavía activada. Por favor conéctese a la cuya cuenta para activarla antes de seguir la configuración del modulo."
10
+ "There's no API key currently set for this Message Business account. Please login, then go the the section "More > Your Settings > Language and Interface" and generate a new API key Note: The new API key will be available one hour after its generation.","No hay llave de API especificada para esta cuenta. Conéctese a la cuenta Message Business, y crea una llave de acceso API en la parte disponible en el inglete Plus> Sus Parámetros> Idioma e interfaz."
11
+ "[MG] Newsletter subscriber","[MG] Abonado Newsletter"
12
+ "No","No"
13
+ "Yes","Si"
14
+ "[MG] Date of Birth","[MG] Fecha de nacimiento"
15
+ "[MG] Customer ID in Magento","[MG] Identificación Cliente en MG"
16
+ "Newsletter Subcribers - All [MG]","[MG] Abonados Newsletter –Todos"
17
+ "[MG] Date of Last Customer Login","[MG] Fecha de la última conexión Cliente"
18
+ "[MG] Last Date of Abandoned Shopping cart","[MG] Fecha de la última cesta abandonada (desde 2 días)"
19
+ "[MG] Date of Last Delivery","[MG] Fech última entrega Cliente"
20
+ "[MG] Date of Last Order","[MG] Fecha del último pedido"
21
+ "[MG] Amount of Last Order","[MG] Importe del último pedido"
22
+ "[MG] Date of First Order","[MG] Fecha del primer pedido"
23
+ "[MG] Average frequency between Orders (days)","[MG] Frecuencia mediana entre los pedidos (en días)"
24
+ "[MG] Total Orders Amount","[MG] Facturación total de los pedidos"
25
+ "[MG] Total Orders","[MG] Cantidad Total de pedido"
26
+ "Registered Newsletter - Customers [MG]","Inscrito Newsletter - Clientes [MG]"
27
+ "Registered Newsletter - Not Customers [MG]","Inscrito Newsletter - No Clientes [MG]"
28
+ "Customers - All [MG]","Clientes - Todos [MG]"
29
+ "Customers - Without Revenue [MG]","Clientes - Sin facturación [MG]"
30
+ "Customers - With Revenue [MG]","Clientes - Con facturación [MG]"
31
+ "Customers [MG] First purchase","Clientes [MG] Primera compra"
32
+ "Customers [MG] 2 Purchases and More","Clientes [MG] 2 compras y más"
33
+ "Customers [MG] with cancelled carts (over 2 days)","Clientes [MG] Abandonistas (desde más de dos días)"
34
+ "Contacts [MG] and Customers [MG] with cancelled carts (over 2 days)","Contactos [MG] y Clientes [MG] Abandonistas (desde más de dos días)"
35
+ "Customers [MG] Motivated (30 days)","Clientes [MG] motivados (30 días)"
36
+ "Customers [MG] Delivered (last 7 days)","Clientes [MG] entregados (desde 7 días)"
37
+ "Customers [MG] 90 days without order","Clientes [MG] sin pedido desde 90 días"
38
+ "Starting import","Inicio del importe "
39
+ "The import will start soon. Thanks you to reload this page to know the latest status.","El importe va empezar pronto. Refresque esta página para conocer el avance."
40
+ "Start import","Iniciar el importe"
41
+ "Stop the current import","Parar el importe haciéndose"
42
+ "Import in progress","Importe haciéndose"
43
+ "Last Import Date (UTC)","Fecha (UTC) de la última importación"
44
+ "Credentials of your account on Message Business","Autentificación de su cuenta Message Business"
45
+ "Account number","Numero de cuenta"
46
+ "Account API key","Llave de API de la cuenta"
47
+ "Import contacts between databases","Importación entre las bases de contactos"
48
+ "Each day, the module imports the data used to manage your marketing operations.","Cada día, el módulo importa los datos útiles para realizar sus operaciones marketing"
49
+ "Imported Datas","Importar datos"
50
+ "Import includes contact (email, name, ...), as well as customer data (Revenue, frequency).","Importar las señas de contactos (email, apellido,…) así que los datos clientes (Facturación, frecuencia)."
51
+ "Import only contact details (email, name, ...).","Importar únicamente las señas de contactos (email, apellido, ...)."
52
+ "Full Importation","Importación completa"
53
+ "Reimport all data. Be careful, this import may take some extra time (By default, after the initial import, we import only the modified data).","Importar de nuevo la totalidad des los datos. ¡Cuidado! Este importe puede tomar tiempo (Predeterminadamente, después del primer importe, importamos solo los datos modificados)."
54
+ "Updating Magento Newsletter Opt-in","Actualizado Optin Magento"
55
+ "Update newsletter subscription et Partners Optin between Message Business Account and Magento site (recommended).","Update newsletter subscription et Partners Optin between Message Business Account and Magento site (recommended)."
56
+ "Newsletter Subscription Form","Forma boletín"
57
+ "Subscribe contacts in Message Business when subscribed in Magento newsletter","Introduzca los contactos en Message Business, al mismo tiempo en Magento."
58
+ "Do not subscribe contacts in Message Business","No entre en Message Business"
59
+ "At your service","A su servicio"
60
+ "Import includes contact (email, name, ...), as well as customer data (Revenue, frequency)","El importe incluye las señas del contacto (Email, nombre...) como informaciones clientes (Facturación, frecuencia)"
61
+ "Import only contact details (email, name, ...)","Importar solo los datos del contacto (email, nombre...)"
62
+ "Update newsletter subscription et Partners Optin between Message Business Account and Magento site (recommended).","Actualización de la registración al boletín y Asociados Optin entre la cuenta Message Business y el sitio de Magento (recomendado)."
63
+ "Find all information regarding credentials on %s. as well as possible usages of the Message Business module for Magento. If you do not have an account on Message Business, %s.", "Encuentra toda la información sobre el software en %s, así como los usos posibles del módulo Message Business para Magento. Si usted no tiene una cuenta en Message Business, %s."
64
+ "Campus Business User", "Message Business Campus"
65
+ "now signup to have a free evaluation of Message Business", "regístrese ahora y evalúelo gratuitamente"
app/locale/fr_FR/MessageBusiness_ContactsSync.csv ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "Credentials of your account on Message Business", "Authentificaton de votre compte sur Message Business"
2
+ "Account number","Numéro du compte"
3
+ "Account API key","Clé d'API du compte"
4
+ "Import contacts between databases", "Import entre les bases contacts"
5
+ "Each day, the module imports the data used to manage your marketing operations.","Chaque jour, le module importe les données utiles pour mener vos opérations marketing."
6
+ "Optin Partners", "Optin partenaires"
7
+ "Imported Datas", "Données à importer"
8
+ "Updating Magento Newsletter Opt-in", "Mise à jour Optin Magento"
9
+ "Reimport all data. Be careful, this import may take some extra time (By default, after the initial import, we import only the modified data).", "Attention, si vous demandez à importer à nouveau la totalité des données, cet import peut prendre du temps (Par défaut, après l'import initial, nous n'importons que les données modifiées)."
10
+ "Import includes contact (email, name, ...), as well as customer data (Revenue, frequency)", "Importer les coordonnées de contacts (email, nom, ...), ainsi que les données clients (CA, fréquence)"
11
+ "Import only contact details (email, name, ...)", "Importer uniquement les coordonnées de contacts (email, nom, ...)"
12
+ "Full Importation", "Importation Complète"
13
+ "Start import", "Lancer l'importation"
14
+ "Update newsletter subscription et Partners Optin between Message Business Account and Magento site (recommended).", "Nous vous recommandons de mettre à jour les inscriptions newsletter du site Magento avec les inscriptions Message Business."
15
+ "At your service", "A votre service"
16
+ "Find all information regarding credentials on %s. as well as possible usages of the Message Business module for Magento. If you do not have an account on Message Business, %s.", "Retrouvez sur le %s de Message Business toutes les informations concernant les paramètrages et autres usages possibles du module Message Business pour Magento. Si vous n'avez pas encore un compte sur Message Business, %s."
17
+ "Campus Business User", "Campus utilisateur"
18
+ "now signup to have a free evaluation of Message Business", "profitez dès maintenant de l'offre découverte pour évaluer gratuitement et sans engagement Message Business"
19
+ "[MG] Newsletter subscriber","[MG] Inscrit Newsletter"
20
+ "[MG] Partners Optin","[MG] Optin Partenaire"
21
+ "[MG] Date of Birth","[MG] Date de Naissance"
22
+ "[MG] Customer ID in Magento","[MG] Identifiant Client dans Magento"
23
+ "[MG] Date of Registration","[MG] Date Inscription Client"
24
+ "[MG] Date of Last Customer Login","[MG] Date Dernière Connexion Client"
25
+ "[MG] Last Date of Abandoned Shopping cart","[MG] Date Dernier Panier Abandonné (depuis 2 jours)"
26
+ "[MG] Date of Last Delivery","[MG] Date Dernière Livraison Client"
27
+ "[MG] Date of Last Order","[MG] Date Dernière Commande"
28
+ "[MG] Amount of Last Order","[MG] Montant Dernière Commande"
29
+ "[MG] Date of First Order","[MG] Date Première Commande"
30
+ "[MG] Average frequency between Orders (days)","[MG] Fréquence Moyenne entre les Commandes (en jours)"
31
+ "[MG] Total Orders Amount","[MG] Chiffre d'Affaire Total Commandes"
32
+ "[MG] Total Orders","[MG] Nombre Total des Commandes"
33
+ "Newsletter Subcribers - All [MG]","Inscrits Newsletter - Tous [MG]"
34
+ "Registered Newsletter - Customers [MG]","Inscrits Newsletter - Clients [MG]"
35
+ "Registered Newsletter - Not Customers [MG]","Inscrits Newsletter - Non-clients [MG]"
36
+ "Customers - All [MG]","Clients - Tous [MG]"
37
+ "Customers - Without Revenue [MG]","Clients - Sans CA [MG]"
38
+ "Customers - With Revenue [MG]","Clients - Avec CA [MG]"
39
+ "Customers [MG] First purchase","Clients [MG] Premier achat"
40
+ "Customers [MG] 2 Purchases and More","Clients [MG] 2 Achats et Plus"
41
+ "Customers [MG] with cancelled carts (over 2 days)","Clients [MG] Abandonistes (depuis plus de 2 jours)"
42
+ "Contacts [MG] and Customers [MG] with cancelled carts (over 2 days)","Contacts [MG] et Clients [MG] Abandonistes (depuis plus de 2 jours)"
43
+ "Customers [MG] Motivated (30 days)","Clients [MG] Motivés (30 jours)"
44
+ "Customers [MG] Delivered (last 7 days)","Clients [MG] Livrés (depuis 7 jours)"
45
+ "Customers [MG] 90 days without order","Clients [MG] sans Commande depuis 90 jours"
46
+ "Optin synchronization", "Synchronisation des optin"
47
+ "Update the contact information on the site and the account Magento Business Message", "Mettre à jour les informations de contacts sur le site Magento et le compte Message Business."
48
+ "Start import","Lancer l'import"
49
+ "Stop the current import","Stopper l'import en cours"
50
+ "Import in progress","Import en cours"
51
+ "Last Import Date (UTC)","Date (UTC) de dernière importation"
52
+ "Newsletter Subscription Form","Formulaire d'inscription newsletter"
53
+ "Subscribe contacts in Message Business when subscribed in Magento newsletter","Inscrire les contacts dans Message Business en même temps que dans Magento"
54
+ "Do not subscribe contacts in Message Business","Ne pas inscrire dans Message Business"
55
+ "An error has occurred","Une erreur est survenue"
56
+ "The specified Message Business account number is not known. This may be an error in typing the account number or this account is no longer existing.","Le numéro de compte Message Business renseigné n'est pas reconnu . Cela peut venir d'une erreur de saisie de votre numéro de compte ou bien que celui-ci n'existe plus."
57
+ "The specified Message Business account is not yet activated. Please login, and activate the specified account before continuing the configuration of the module.","Le compte Message Business renseigné n'est pas encore activé. Veuillez vous connecter sur le compte en question pour l'activer avant de continuer la configuration du module."
58
+ "There's no API key currently set for this Message Business account. Please login, then go the the section More > Your Settings > Language and Interface and generate a new API key Note: The new API key will be available one hour after its generation.","La clé API renseignée ne correspond pas au compte Message Business indiqué. Veuillez vous connecter au compte Message Business, puis recopier une clé API déjà disponible ou générer une nouvelle clé d'accès API dans la partie affichée dans l'onglet Plus > Vos Paramètres > Langues et Interface. A noter : cette nouvelle clé API sera disponible 1 heure après sa génération."
59
+ "The API key you have typed does not match one the keys of the specified Message Business account. Please login, then go to the section More > Your Settings > Language and Interface and copy an already existing API key or generate a new one. Note: The new API key will be available one hour after its generation.","Le numéro de compte Message Business et/ou la clé API ne sont pas reconnus. Cela peut venir d'une erreur de saisie de votre numéro de compte ou bien que celui-ci n’existe pas. Si vous disposez déjà d’un compte Message Business, veuillez vous y connecter puis recopier une clé API déjà disponible ou générer une nouvelle clé d’accès API dans la partie affichée dans l'onglet Plus > Vos Paramètres > Langues et Interface. A noter : cette nouvelle clé API sera disponible 1 heure après sa génération."
package.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>MessageBusiness_ContactsSync</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>AFL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Importer automatiquement les donn&#xE9;es clients et les inscrits newsletter dans votre compte Message Business.</summary>
10
+ <description>Consolidez facilement vos donn&#xE9;es clients de votre site Magento pour mener des actions marketing automatiques intelligentes depuis votre compte Message Business.&#xD;
11
+ Cet extension ne se limite pas &#xE0; simplement r&#xE9;cup&#xE9;rer l'adresse email ! Elle export votre base client, les inscrits newsletters, les derniers achats, les derni&#xE8;res visites et il consolide ensuite l'information de mani&#xE8;re coh&#xE9;rente.&#xD;
12
+ En s'appuyant sur ces donn&#xE9;es consolid&#xE9;es, votre compte Message Business sera alors automatiquement configur&#xE9; et vos principaux segments d&#xE9;j&#xE0; cr&#xE9;&#xE9;s (clients 1er achat, inactif, etc...). Vous pourrez en cr&#xE9;er d'autres ais&#xE9;ment !&#xD;
13
+ Disposant de donn&#xE9;es fiabilis&#xE9;es, vous pourrez imm&#xE9;diatement piloter des actions marketing efficaces et automatisables sans connaissance informatique.&#xD;
14
+ Cette extension gratuite est au service de votre relation client et du d&#xE9;veloppement de votre chiffre d'affaires !</description>
15
+ <notes>Version 1.0.0 Release Candidate</notes>
16
+ <authors><author><name>Sinabs</name><user>sinabs_fr</user><email>tech@sinabs.fr</email></author></authors>
17
+ <date>2013-01-14</date>
18
+ <time>14:02:49</time>
19
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="contactssync"><dir name="system"><dir name="config"><dir name="sync"><file name="run.phtml" hash="84f7277b47e7558141de460978cdfe48"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MessageBusiness_ContactsSync.xml" hash="676b5fb5c19515a258e2b43238036f93"/></dir></target><target name="magelocale"><dir><dir name="es_ES"><file name="MessageBusiness_ContactsSync.csv" hash="c3d6a031b3af5cb46717c704be3024e5"/></dir><dir name="fr_FR"><file name="MessageBusiness_ContactsSync.csv" hash="fb1767163a68929194d94103d854c7d0"/></dir></dir></target></contents>
20
+ <compatible/>
21
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
22
+ </package>