Offerchat_Free_Live_Chat - Version 1.0.0

Version Notes

Official release

Download this release

Release Info

Developer SaveTheMage
Extension Offerchat_Free_Live_Chat
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/local/SaveTheMage/OfferchatFreeLiveChat/Helper/Data.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ class SaveTheMage_OfferchatFreeLiveChat_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+
5
+
6
+ }
7
+
app/code/local/SaveTheMage/OfferchatFreeLiveChat/etc/adminhtml.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <SaveTheMageMenu translate="title" module="OfferchatFreeLiveChat">
5
+ <title>SaveTheMage</title>
6
+ <sort_order>201</sort_order>
7
+ <children>
8
+ <OfferchatFreeLiveChatChildItem1 translate="title" module="OfferchatFreeLiveChat">
9
+ <title>Offerchat Free Live Chat</title>
10
+ <action>adminhtml/system_config/edit/section/OfferChat_options</action>
11
+ <sort_order>2</sort_order>
12
+ <children>
13
+ <OfferchatFreeLiveChatChildItemChild1 translate="title" module="OfferchatFreeLiveChat">
14
+ <title>Settings</title>
15
+ <action>adminhtml/system_config/edit/section/OfferChat_options</action>
16
+ <sort_order>1</sort_order>
17
+ </OfferchatFreeLiveChatChildItemChild1>
18
+ </children>
19
+ </OfferchatFreeLiveChatChildItem1>
20
+ </children>
21
+ </SaveTheMageMenu>
22
+ </menu>
23
+
24
+ <acl>
25
+ <resources>
26
+ <admin>
27
+ <children>
28
+ <system>
29
+ <children>
30
+ <config>
31
+ <children>
32
+ <OfferChat_options translate="title" module="OfferchatFreeLiveChat">
33
+ <title>Offerchat Installation Settings Section</title>
34
+ <sort_order>0</sort_order>
35
+ </OfferChat_options>
36
+ </children>
37
+ </config>
38
+ </children>
39
+ </system>
40
+ </children>
41
+ </admin>
42
+ </resources>
43
+ </acl>
44
+ </config>
app/code/local/SaveTheMage/OfferchatFreeLiveChat/etc/config.xml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <SaveTheMage_OfferchatFreeLiveChat>
5
+ <version>1.0.0</version>
6
+ </SaveTheMage_OfferchatFreeLiveChat>
7
+ </modules>
8
+ <frontend>
9
+ <layout>
10
+ <updates>
11
+ <OfferchatFreeLiveChat>
12
+ <file>SaveTheMage/OfferchatFreeLiveChat.xml</file>
13
+ </OfferchatFreeLiveChat>
14
+ </updates>
15
+ </layout>
16
+ </frontend>
17
+ <global>
18
+ <helpers>
19
+ <OfferchatFreeLiveChat>
20
+ <class>SaveTheMage_OfferchatFreeLiveChat_Helper</class>
21
+ </OfferchatFreeLiveChat>
22
+ </helpers>
23
+ <blocks>
24
+ <OfferchatFreeLiveChat>
25
+ <class>SaveTheMage_OfferchatFreeLiveChat_Block</class>
26
+ </OfferchatFreeLiveChat>
27
+ </blocks>
28
+ </global>
29
+
30
+ </config>
app/code/local/SaveTheMage/OfferchatFreeLiveChat/etc/system.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <SaveTheMageconfig translate="label" module="OfferchatFreeLiveChat">
5
+ <label>SaveTheMage</label>
6
+ <sort_order>600</sort_order>
7
+ </SaveTheMageconfig>
8
+ </tabs>
9
+ <sections>
10
+ <OfferChat_options translate="label" module="OfferchatFreeLiveChat">
11
+ <label>Offerchat Free Live Chat Installation Settings</label>
12
+ <tab>SaveTheMageconfig</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>1000</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <OfferChatSettings translate="label">
20
+ <label>Offerchat Free Live Chat Installation Settings</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>1</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+
27
+ <fields>
28
+ <MerchantApiCode>
29
+ <label>Merchant Api Code</label>
30
+ <frontend_type>text</frontend_type>
31
+ <comment><![CDATA[Api Code for the merchant collected from Offerchat after Registration.
32
+ <!--Visit <a target='_blank' href='http://www.savethemage.com/blog/how-to-install-offerchat-on-magento/'>how-to-install-offerchat-on-magento</a> to see the meaning of Api Key.-->
33
+ ]]></comment>
34
+ <sort_order>1</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ </MerchantApiCode>
39
+ </fields>
40
+ </OfferChatSettings>
41
+ </groups>
42
+ </OfferChat_options>
43
+ </sections>
44
+ </config>
app/design/frontend/base/default/layout/SaveTheMage/OfferchatFreeLiveChat.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <block type="page/html_header" name="ocflc_header1" template="SaveTheMage/OfferchatFreeLiveChat/index.phtml"/>
6
+ </reference>
7
+ </default>
8
+ </layout>
9
+
app/design/frontend/base/default/template/SaveTheMage/OfferchatFreeLiveChat/index.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $path = 'OfferChat_options/OfferChatSettings/MerchantApiCode';
3
+ $key = Mage::getStoreConfig($path);
4
+ if( !empty( $key ) ){
5
+ ?>
6
+ <!--start of Offerchat js code-->
7
+ <script type='text/javascript'>var ofc_key = '<?php echo $key; ?>';(function(){ var oc = document.createElement('script'); oc.type = 'text/javascript'; oc.async = true; oc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'www.offerchat.com/offerchat_widget.min.js?r='+ Math.random(); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(oc, s);}());</script>
8
+ <!--end of Offerchat js code-->
9
+ <?php } ?>
app/etc/modules/SaveTheMage_OfferchatFreeLiveChat.xml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <SaveTheMage_OfferchatFreeLiveChat>
5
+ <active>true</active>
6
+ <codePool>local</codePool>
7
+ <version>0.1.0</version>
8
+ </SaveTheMage_OfferchatFreeLiveChat>
9
+ </modules>
10
+ </config>
package.xml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Offerchat_Free_Live_Chat</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>GPL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Offerchat free live chat software for Magento.</summary>
10
+ <description>&lt;h1&gt;Description&lt;/h1&gt;&#xD;
11
+ &lt;p&gt;Offerchat is a &lt;b&gt;free live chat program&lt;/b&gt; from &lt;a href="https://www.offerchat.com/" title="Offerchat Free Live Chat"&gt;www.offerchat.com&lt;/a&gt;. This is the Official Magento Extension which will install the widget into your site. Simply enter your API Key after signing up for a free account with Offerchat.&#xD;
12
+ &lt;/p&gt;&#xD;
13
+ &#xD;
14
+ &#xD;
15
+ &lt;h1&gt;Chat Program Features&lt;/h1&gt;&#xD;
16
+ &lt;ul&gt;&#xD;
17
+ &lt;li&gt;Full-featured chat tool &lt;/li&gt;&#xD;
18
+ &lt;li&gt;Unlimited chats &lt;/li&gt;&#xD;
19
+ &lt;li&gt;Unlimited websites&lt;/li&gt;&#xD;
20
+ &lt;li&gt;Visitors and agent reports&lt;/li&gt;&#xD;
21
+ &lt;li&gt;Customizable&lt;/li&gt;&#xD;
22
+ &lt;li&gt;Statistically proven to increase conversion rates&lt;/li&gt;&#xD;
23
+ &lt;li&gt;100% FREE Live Chat Software&lt;/li&gt;&#xD;
24
+ &#xD;
25
+ &lt;/ul&gt;&#xD;
26
+ &#xD;
27
+ &#xD;
28
+ &#xD;
29
+ &lt;h1&gt;How It Works&lt;/h1&gt;&#xD;
30
+ &#xD;
31
+ &lt;ul&gt;&#xD;
32
+ &lt;li&gt;Sign up for a free account with &lt;a href="https://www.offerchat.com/" title="Offerchat Free Live Chat"&gt;www.Offerchat.com&lt;/a&gt;&lt;/li&gt;&#xD;
33
+ &lt;li&gt;Login to your Offerchat dashboard&lt;/li&gt;&#xD;
34
+ &lt;li&gt;Select&lt;b&gt; Widget Settings&lt;/b&gt; on the left&lt;/li&gt;&#xD;
35
+ &lt;li&gt;Select&lt;b&gt; Install Widget&lt;/b&gt; on the top&lt;/li&gt;&#xD;
36
+ &lt;li&gt;Copy your &lt;b&gt;API Key&lt;/b&gt;&lt;/li&gt;&#xD;
37
+ &lt;li&gt;Install this Magento extension&lt;/li&gt;&#xD;
38
+ &lt;li&gt;Paste the &lt;b&gt;API Key&lt;/b&gt; under SaveTheMage&gt;Offerchat Free Live Chat&gt;Settings&lt;/li&gt;&#xD;
39
+ &lt;li&gt;Go to your chat dashboard on offerchat.com and start chatting.&lt;/li&gt;&#xD;
40
+ &#xD;
41
+ &lt;/ul&gt;&#xD;
42
+ &#xD;
43
+ &lt;h1&gt;Is Offerchat really free?&lt;/h1&gt;&#xD;
44
+ &lt;p&gt;Yes, it is. They won't even ask for your credit card.&lt;/p&gt;&#xD;
45
+ &#xD;
46
+ &lt;h1&gt;Why is Offerchat free?&lt;/h1&gt;&#xD;
47
+ &lt;p&gt;Offerchat is 100% free because their revenue model is solely based on offering live chat outsourcing services. If you want to outsource your chat then hopefully you choose them. Otherwise its free to use&lt;/p&gt;&#xD;
48
+ &#xD;
49
+ &lt;h1&gt;Extensions Include:&lt;/h1&gt;&#xD;
50
+ &lt;p&gt;- Free updates for life&#xD;
51
+ &lt;br /&gt;- Free installation (paid extensions only)&lt;br /&gt;&#xD;
52
+ - 24/7 Email and toll-free support&#xD;
53
+ &lt;/p&gt;&#xD;
54
+ &lt;h1&gt;Support&lt;/h1&gt;&#xD;
55
+ &lt;p&gt;Have any questions about this product? Email us at &lt;a href="mailto:support@savethemage.com"&gt;Support@SaveTheMage.com&lt;/a&gt; or call us Toll-Free at &lt;b&gt;1-888-979-5882&lt;/b&gt;&#xD;
56
+ &lt;/p&gt;&#xD;
57
+ </description>
58
+ <notes>Official release</notes>
59
+ <authors><author><name>SaveTheMage</name><user>SaveTheMage</user><email>support@savethemage.com</email></author></authors>
60
+ <date>2013-07-24</date>
61
+ <time>19:34:27</time>
62
+ <contents><target name="magelocal"><dir name="SaveTheMage"><dir name="OfferchatFreeLiveChat"><dir name="Helper"><file name="Data.php" hash="41ce2117f49f07140a4c1dcaa166088d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3a4b53ff5589e39acdfd54e785cdc9b7"/><file name="config.xml" hash="06a686f4311e3025ff05eb203f805339"/><file name="system.xml" hash="e9e2f088835ba7b720bf28290fec100a"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="SaveTheMage"><file name="OfferchatFreeLiveChat.xml" hash="329c8b3c029b1df26864cf8194b6cd00"/></dir></dir><dir name="template"><dir name="SaveTheMage"><dir name="OfferchatFreeLiveChat"><file name="index.phtml" hash="ec1d6ee1794797550756164519daf505"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SaveTheMage_OfferchatFreeLiveChat.xml" hash="1afc1a5f4ba7cacd652cbaa482e4c3a8"/></dir></target></contents>
63
+ <compatible/>
64
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
65
+ </package>