diff --git a/README.txt b/README.txt
index 2870393..df86ec3 100644
--- a/README.txt
+++ b/README.txt
@@ -3,9 +3,9 @@
Contributors: rajulmondal5
Donate link: https://profiles.wordpress.org/rajulmondal5
Tags: users, online, active, live, pusher, chat, login
-Requires at least: 2.4.2
-Tested up to: 2.4.2
-Stable tag: 2.4.2
+Requires at least: 2.4.3
+Tested up to: 2.4.5
+Stable tag: 2.4.5
Requires PHP: 5.2.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -18,17 +18,18 @@ Stay Alive wordpress plugin to check online user's in your website in just minut
* Plugin is manageable using widget and shortcode
* Pusher credentials are need to use this plugin
-wordpress.rajulmondal5 | github.razzul
-Please read before using https://pusher.com/legal.
+rajulmondal5 | github.razzul
= Features =
+
- - Online Users list
- - Manageable Widget
- - Short Code at any point
+ - Get Online Users list in your website
+ - This plugin is manageable from widget
+ - You can use short code at any point
- Secure
- Free for all
-
- Pusher - Know more at https://pusher.com/
+
- Socket service is used from the free socket service provider Pusher
+
== Screenshots ==
@@ -36,7 +37,7 @@ Please read before using https://pusher.com/legal.
2. Plugins activation
3. Menu
4. Plugin admin page
-5. Pusher - know more about pusher at https://pusher.com/ (//js.pusher.com/4.1/pusher.min.js)
+5. Pusher socket service provider
6. Widget after activation
== Frequently Asked Questions ==
@@ -45,33 +46,52 @@ Please read before using https://pusher.com/legal.
Yes, it is free but as we are using pusher it has some limits
-= What is the limit for pusher free account (FREE: Sandbox Plan) ? =
+= What is the limit for Pusher free account (FREE: Sandbox Plan) ? =
-Yes, there is limit in pusher. 100 connections, 200,000 messages, and unlimited channels.
+Yes, there is limit in Pusher. 100 connections, 200,000 messages, and unlimited channels.
== Installation ==
-* [Download](https://github.com/razzul/stay-alive/releases) latest version of **stay-alive**
-* Extract the file under `your_project\wp-content\plugins\`
OR
Open [Plugin installation](http://localhost/wordpress-talk/wp-admin/plugin-install.php) page and upload the file ![alt tag](https://raw.githubusercontent.com/razzul/stay-alive/master/screenshoots/1.jpg)
-* Activate the plugin ![alt tag](https://raw.githubusercontent.com/razzul/stay-alive/master/screenshoots/2.jpg)
-* Go to **stay-alive** admin page to update pusher credential from the menu **`Settings -> stay-alive`** ![alt tag](https://raw.githubusercontent.com/razzul/stay-alive/master/screenshoots/3.jpg) ![alt tag](https://raw.githubusercontent.com/razzul/stay-alive/master/screenshoots/4.jpg) To get Pusher credentials go to pusher dashboard and create new channel app ![alt tag](https://raw.githubusercontent.com/razzul/stay-alive/master/screenshoots/5.jpg)
+Install like any other plugin, directly from your plugins page. Go to the plugin settings page at Settings->Stay Alive and update with your Pusher credentials.
+
+= What is Pusher =
+
+Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.
+
+Developer experience is at the forefront of everything we do. We strive to make products that are both delightful and get out of your way, so that you can focus on what you do best - building great apps.
+
+Pusher Channels provides realtime communication between servers, apps and devices. Pusher Channels is used for notifications, chat, gaming, web-page updates, IoT, and many other systems requiring realtime communication.
+
+= How to get Pusher credentials =
+
+1. Go to https://pusher.com
+2. Create profile if you don't have one.
+3. Go to dashboard.
+4. Create your Channels app
+5. Go to App Key tab.
+
+Here you will find all the credentials need for your plugin.
+
+= Demo Pusher credentials =
+
+
+ - app_id: 271772
+ - key: de239293c1b9a0043237
+ - secret: 5fdfbbe99495441683ac
+ - cluster: mt1
+
= Short Code =
+
[sa_online_users]
-= Download =
-[2.4.2](https://github.com/razzul/stay-alive/releases) latest version of **stay-alive**
+= Archive Download =
-= How to use it =
-*Update pusher details and callback function from admin [plugin page](http://localhost/wordpress-talk/wp-admin/options-general.php?page=stay-alive-admin)* There are 2 ways to use it :
-## 1. Apply the shortcode in your page
-```
-[sa_online_users]
-```
-## 2. Enable widget: Stay Alive ![alt tag](https://raw.githubusercontent.com/razzul/stay-alive/master/screenshoots/6.jpg)
+[Archive](https://github.com/razzul/stay-alive/releases) version of **stay-alive**
= 3rd Party Service =
-We have used Pusher as a 3rd party socket service provider for free.
+
+We have used Pusher as a 3rd party socket service provider for free.
```
//js.pusher.com/4.1/pusher.min.js
```
@@ -80,7 +100,15 @@ We have used Pusher as a 3rd party socket serv
== Changelog ==
-= 2.4.0 =
+= 2.4.5 =
+* 10-07-2018
+* Updated readme.txt to mention pusher service used in our application
+* added pusher demo credentials
+* added banner
+* added icon
+* https://github.com/razzul/stay-alive/releases
+
+= 2.4.1 =
* 08-07-2018
* Updated readme.txt to mention pusher service used in our application
* https://github.com/razzul/stay-alive/releases
diff --git a/assets/banner-772x250.jpg b/assets/banner-772x250.jpg
new file mode 100644
index 0000000..615e7f2
Binary files /dev/null and b/assets/banner-772x250.jpg differ
diff --git a/assets/icon-128x128.png b/assets/icon-128x128.png
new file mode 100644
index 0000000..934a355
Binary files /dev/null and b/assets/icon-128x128.png differ
diff --git a/assets/icon-256x256.png b/assets/icon-256x256.png
new file mode 100644
index 0000000..2e9516d
Binary files /dev/null and b/assets/icon-256x256.png differ
diff --git a/assets/icon-512x512.png b/assets/icon-512x512.png
new file mode 100644
index 0000000..6369770
Binary files /dev/null and b/assets/icon-512x512.png differ
diff --git a/assets/1.jpg b/assets/screenshot-1.jpg
similarity index 100%
rename from assets/1.jpg
rename to assets/screenshot-1.jpg
diff --git a/assets/2.jpg b/assets/screenshot-2.jpg
similarity index 100%
rename from assets/2.jpg
rename to assets/screenshot-2.jpg
diff --git a/assets/3.jpg b/assets/screenshot-3.jpg
similarity index 100%
rename from assets/3.jpg
rename to assets/screenshot-3.jpg
diff --git a/assets/4.jpg b/assets/screenshot-4.jpg
similarity index 100%
rename from assets/4.jpg
rename to assets/screenshot-4.jpg
diff --git a/assets/5.jpg b/assets/screenshot-5.jpg
similarity index 100%
rename from assets/5.jpg
rename to assets/screenshot-5.jpg
diff --git a/assets/6.jpg b/assets/screenshot-6.jpg
similarity index 100%
rename from assets/6.jpg
rename to assets/screenshot-6.jpg
diff --git a/stay-alive.php b/stay-alive.php
index 2ba3051..ff46873 100644
--- a/stay-alive.php
+++ b/stay-alive.php
@@ -3,7 +3,7 @@
Plugin Name: Stay Alive
Plugin URI: https://github.com/razzul/stayalive
description: Stay Alive: wordpress plugin to check logged in user's status
-Version: 2.4.2
+Version: 2.4.5
Author: razzul
Author URI: https://github.com/razzul
License: MIT
@@ -95,7 +95,7 @@ public function stay_alive_checker()
$event_name = 'stay-alive-event';
$stay_alive_trigger = !empty($options['stay_alive_trigger']) ? $options['stay_alive_trigger'] : 'test_stay_alive';
wp_enqueue_script('pusher', '//js.pusher.com/4.1/pusher.min.js', array(), '4.1.0', true);
- wp_register_script('stay_aliv_js', plugins_url( 'assets/js/stay-alive.js', __FILE__ ), array(), '2.4.2', true );
+ wp_register_script('stay_aliv_js', plugins_url( 'assets/js/stay-alive.js', __FILE__ ), array(), '2.4.5', true );
wp_localize_script('stay_aliv_js', 'config', array('current_user_id' => $current_user_id, 'channel_name' => $channel_name,'event_name' => $event_name, 'credentials' => $options, 'auth_url' => site_url() .'/wp-admin/admin-ajax.php?action=stay_alive_auth'));
wp_enqueue_script('stay_aliv_js');
}