Plugin Directory

Changeset 1903492


Ignore:
Timestamp:
07/03/2018 04:33:40 PM (8 years ago)
Author:
aklamator
Message:

Added option to choose twitch by game name

Location:
aklamator-twitch-classic
Files:
5 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • aklamator-twitch-classic/tags/1.1/aklamator-twitch.php

    r1901278 r1903492  
    44Plugin URI: https://www.aklamator.com/wordpress
    55Description: Aklamator Twitch Classic service enables you to sell PR announcements, cross promote web sites using RSS feed and provide new services to your clients in digital advertising.
    6 Version:1.0
     6Version:1.1
    77Author: Aklamator
    88Author URI: https://www.aklamator.com/
  • aklamator-twitch-classic/tags/1.1/includes/class-aklamatorTwitch-pr.php

    r1901278 r1903492  
    5959        register_setting('aklamatorTwitch-options', 'aklamatorTwitchApplicationID');
    6060        register_setting('aklamatorTwitch-options', 'aklamatorTwitchChannelName');
     61        register_setting('aklamatorTwitch-options', 'aklamatorTwitchGameName');
    6162        register_setting('aklamatorTwitch-options', 'aklamatorTwitchPoweredBy');
    6263        register_setting('aklamatorTwitch-options', 'aklamatorTwitchSingleWidgetID');
     
    7980        add_option('aklamatorTwitchApplicationID', '');
    8081        add_option('aklamatorTwitchChannelName', '');
     82        add_option('aklamatorTwitchGameName', '');
    8183        add_option('aklamatorTwitchPoweredBy', '');
    8284        add_option('aklamatorTwitchSingleWidgetID', '');
     
    9395        delete_option('aklamatorTwitchApplicationID');
    9496        delete_option('aklamatorTwitchChannelName');
     97        delete_option('aklamatorTwitchGameName');
    9598        delete_option('aklamatorTwitchPoweredBy');
    9699        delete_option('aklamatorTwitchSingleWidgetID');
     
    295298        $p['AklamatorApplicationID'] = get_option('aklamatorTwitchApplicationID');
    296299        $p['aklamatorTwitchChannelName'] = get_option("aklamatorTwitchChannelName");
     300        $p['aklamatorTwitchGameName'] = get_option("aklamatorTwitchGameName");
    297301
    298302        $data = wp_remote_post( $service, array(
  • aklamator-twitch-classic/tags/1.1/readme.txt

    r1901278 r1903492  
    55Requires at least: 3.0.1
    66Tested up to: 4.9.6
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414
    15 **How to choose what product information to show on your widget?**
     15**How to choose what twitch videos to show on your widget?**
    1616
    17 In plugin configuration, choose if you want to show product review score, old price, and new price. Only product title and image is necessary to show.
    18 Install plugin, create account and paste Application ID. Aklamator will find newest products and automatically populate the widgets.
     17Just enter twitch username or game name (delete username leave only gamename). Only that videos will be shown in your widget.
     18Install plugin, create account and paste Application ID. Aklamator will find newest videos and automatically populate the widgets.
     19
     20If you want to show live streams from twitch, try our [Twitch Video Float plugin](https://wordpress.org/plugins/aklamator-twitch-videofloat/)
    1921
    2022**What is Aklamator ?**
     
    5355Login to your wordpress dashboard as administrator, go to Plugins> Add New and type "Aklamator Twitch", click install!
    5456or manually :
    55             * [get plugin](https://wordpress.org/plugins/aklamator-twitch-promotion/) and
     57            * [get plugin](https://wordpress.org/plugins/aklamator-twitch-classic/) and
    5658            * Upload and unzip plugin to the `/wp-content/plugins/` directory
    5759            * Activate the Aklamator Twitch wordpress plugin through the 'Plugins' menu in WordPress
     
    121123== Changelog ==
    122124
    123 = 1.0.0 =
     125= 1.1 =
     126* Added option to choose twitch by game name (username was already available)
     127= 1.0 =
    124128* First version of Aklamator Twitch plugin, tested up to 4.9.6 (newest wp version)
  • aklamator-twitch-classic/tags/1.1/views/admin-page.php

    r1901278 r1903492  
    6464                    </p>
    6565                    <h3>Twich username</h3>
    66                     <p>
     66                    <p style="margin: 5px 0">
    6767                        <input type="text" style="width: 400px" name="aklamatorTwitchChannelName"
    6868                               id="aklamatorTwitchChannelName" value="<?php
    6969                        echo(get_option("aklamatorTwitchChannelName"));
     70                        ?>" maxlength="999" />
     71
     72                    </p>
     73                    <p style="margin: 5px 0">or</p>
     74                    <h3 style="margin: 5px 0">Game name</h3>
     75                    <p style="margin: 5px 0">
     76                        <input type="text" style="width: 400px" name="aklamatorTwitchGameName"
     77                               id="aklamatorTwitchGameName" value="<?php
     78                        echo(get_option("aklamatorTwitchGameName"));
    7079                        ?>" maxlength="999" />
    7180
  • aklamator-twitch-classic/trunk/aklamator-twitch.php

    r1901278 r1903492  
    44Plugin URI: https://www.aklamator.com/wordpress
    55Description: Aklamator Twitch Classic service enables you to sell PR announcements, cross promote web sites using RSS feed and provide new services to your clients in digital advertising.
    6 Version:1.0
     6Version:1.1
    77Author: Aklamator
    88Author URI: https://www.aklamator.com/
  • aklamator-twitch-classic/trunk/includes/class-aklamatorTwitch-pr.php

    r1901278 r1903492  
    5959        register_setting('aklamatorTwitch-options', 'aklamatorTwitchApplicationID');
    6060        register_setting('aklamatorTwitch-options', 'aklamatorTwitchChannelName');
     61        register_setting('aklamatorTwitch-options', 'aklamatorTwitchGameName');
    6162        register_setting('aklamatorTwitch-options', 'aklamatorTwitchPoweredBy');
    6263        register_setting('aklamatorTwitch-options', 'aklamatorTwitchSingleWidgetID');
     
    7980        add_option('aklamatorTwitchApplicationID', '');
    8081        add_option('aklamatorTwitchChannelName', '');
     82        add_option('aklamatorTwitchGameName', '');
    8183        add_option('aklamatorTwitchPoweredBy', '');
    8284        add_option('aklamatorTwitchSingleWidgetID', '');
     
    9395        delete_option('aklamatorTwitchApplicationID');
    9496        delete_option('aklamatorTwitchChannelName');
     97        delete_option('aklamatorTwitchGameName');
    9598        delete_option('aklamatorTwitchPoweredBy');
    9699        delete_option('aklamatorTwitchSingleWidgetID');
     
    295298        $p['AklamatorApplicationID'] = get_option('aklamatorTwitchApplicationID');
    296299        $p['aklamatorTwitchChannelName'] = get_option("aklamatorTwitchChannelName");
     300        $p['aklamatorTwitchGameName'] = get_option("aklamatorTwitchGameName");
    297301
    298302        $data = wp_remote_post( $service, array(
  • aklamator-twitch-classic/trunk/readme.txt

    r1901278 r1903492  
    55Requires at least: 3.0.1
    66Tested up to: 4.9.6
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414
    15 **How to choose what product information to show on your widget?**
     15**How to choose what twitch videos to show on your widget?**
    1616
    17 In plugin configuration, choose if you want to show product review score, old price, and new price. Only product title and image is necessary to show.
    18 Install plugin, create account and paste Application ID. Aklamator will find newest products and automatically populate the widgets.
     17Just enter twitch username or game name (delete username leave only gamename). Only that videos will be shown in your widget.
     18Install plugin, create account and paste Application ID. Aklamator will find newest videos and automatically populate the widgets.
     19
     20If you want to show live streams from twitch, try our [Twitch Video Float plugin](https://wordpress.org/plugins/aklamator-twitch-videofloat/)
    1921
    2022**What is Aklamator ?**
     
    5355Login to your wordpress dashboard as administrator, go to Plugins> Add New and type "Aklamator Twitch", click install!
    5456or manually :
    55             * [get plugin](https://wordpress.org/plugins/aklamator-twitch-promotion/) and
     57            * [get plugin](https://wordpress.org/plugins/aklamator-twitch-classic/) and
    5658            * Upload and unzip plugin to the `/wp-content/plugins/` directory
    5759            * Activate the Aklamator Twitch wordpress plugin through the 'Plugins' menu in WordPress
     
    121123== Changelog ==
    122124
    123 = 1.0.0 =
     125= 1.1 =
     126* Added option to choose twitch by game name (username was already available)
     127= 1.0 =
    124128* First version of Aklamator Twitch plugin, tested up to 4.9.6 (newest wp version)
  • aklamator-twitch-classic/trunk/views/admin-page.php

    r1901278 r1903492  
    6464                    </p>
    6565                    <h3>Twich username</h3>
    66                     <p>
     66                    <p style="margin: 5px 0">
    6767                        <input type="text" style="width: 400px" name="aklamatorTwitchChannelName"
    6868                               id="aklamatorTwitchChannelName" value="<?php
    6969                        echo(get_option("aklamatorTwitchChannelName"));
     70                        ?>" maxlength="999" />
     71
     72                    </p>
     73                    <p style="margin: 5px 0">or</p>
     74                    <h3 style="margin: 5px 0">Game name</h3>
     75                    <p style="margin: 5px 0">
     76                        <input type="text" style="width: 400px" name="aklamatorTwitchGameName"
     77                               id="aklamatorTwitchGameName" value="<?php
     78                        echo(get_option("aklamatorTwitchGameName"));
    7079                        ?>" maxlength="999" />
    7180
Note: See TracChangeset for help on using the changeset viewer.