Skip to content

Commit

Permalink
version 2.4.5
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
rajulKhabir.mondal committed Jul 10, 2018
1 parent bf2cfd8 commit 248b359
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 29 deletions.
82 changes: 55 additions & 27 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,25 +18,26 @@ 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

<a target="_blank" href="https://profiles.wordpress.org/rajulmondal5">wordpress.rajulmondal5</a> | <a target="_blank" href="https://github.com/razzul">github.razzul</a>
Please read before using https://pusher.com/legal.
<a target="_blank" href="https://profiles.wordpress.org/rajulmondal5">rajulmondal5</a> | <a target="_blank" href="https://github.com/razzul">github.razzul</a>

= Features =

<ul>
<li><strong>Online Users list</strong></li>
<li><strong>Manageable Widget</strong></li>
<li><strong>Short Code at any point</strong></li>
<li><strong>Get Online Users list in your website</strong></li>
<li><strong>This plugin is manageable from widget</strong></li>
<li><strong>You can use short code at any point</strong></li>
<li><strong>Secure</strong>
<li><strong>Free for all</strong>
<li><strong>Pusher - Know more at https://pusher.com/</strong>
<li><strong>Socket service is used from the free socket service provider <a href="https://pusher.com/" target="_blank" >Pusher</a></strong>
</ul>

== Screenshots ==

1. Plugin installation
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. <a href="https://pusher.com/" target="_blank" >Pusher</a> socket service provider
6. Widget after activation

== Frequently Asked Questions ==
Expand All @@ -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 <a href="https://pusher.com/" target="_blank" >Pusher</a> free account (FREE: Sandbox Plan) ? =

Yes, there is limit in pusher. 100 connections, 200,000 messages, and unlimited channels.
Yes, there is limit in <a href="https://pusher.com/" target="_blank" >Pusher</a>. 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\` <br> OR <br> 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 <a href="https://pusher.com/" target="_blank" >Pusher</a> credentials.

= What is Pusher =

<a href="https://pusher.com/" target="_blank" >Pusher</a> 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.

<a href="https://pusher.com/" target="_blank" >Pusher</a> 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 <a href="https://pusher.com/" target="_blank" >Pusher</a> credentials =

1. Go to <a href="https://pusher.com/" target="_blank" >https://pusher.com</a>
2. Create profile if you don't have one.
3. Go to dashboard.
4. Create your <a href="https://dashboard.pusher.com/#wizard-modal" target="_blank">Channels</a> app
5. Go to App Key tab.

Here you will find all the credentials need for your plugin.

= Demo Pusher credentials =

<ul>
<li><b>app_id</b>: 271772</li>
<li><b>key</b>: de239293c1b9a0043237</li>
<li><b>secret</b>: 5fdfbbe99495441683ac</li>
<li><b>cluster</b>: mt1</li>
</ul>

= 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 <a href="https://pusher.com/">Pusher</a> as a 3rd party socket service provider for free.

We have used <a href="https://pusher.com/" target="_blank" >Pusher</a> as a 3rd party socket service provider for free.
```
//js.pusher.com/4.1/pusher.min.js
```
Expand All @@ -80,7 +100,15 @@ We have used <a href="https://pusher.com/">Pusher</a> 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
Expand Down
Binary file added assets/banner-772x250.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions stay-alive.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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');
}
Expand Down

0 comments on commit 248b359

Please sign in to comment.