Plugin Directory

Changeset 1536357


Ignore:
Timestamp:
11/18/2016 02:57:10 PM (9 years ago)
Author:
O-Zone
Message:

tagging version 0.8.3

Location:
wp-allaround
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-allaround/tags/0.8.3/README.txt

    r1528830 r1536357  
    55Requires at least: 4.0.0
    66Tested up to: 4.6.1
    7 Stable tag: 0.8.2
     7Stable tag: 0.8.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414
    15 WP-AllAround is the connector plugin for AllAroundSiena Telegram Bot service, that let you to spread via Telegram channels new posts of your blog.
    16 To connect your blog to the Telegram Channel, you simply need an API key to get freely on http://www.allaroundsiena.com
     15WP-AllAround is the connector plugin for AllAroundSiena Telegram Bot service, that let you to spread via Telegram channels new posts of your blog.
     16
     17Telegram channels are the best way to promote your blog and its content. Followers simply need to join your channel, using provided link, and
     18receive directly on its smartphone any update and new articles published on your blog.
     19
     20With AllAroundSiena, all you need to do is install the plugin, create a channel on Telegram Messenger platform and copy the Api Key on your
     21configuration page on https://www.allaroundsiena.com
     22
     23It's simple, it's free.
    1724
    1825== Installation ==
     
    2835= I need Telegram installed to use this ? =
    2936
    30 Yes, because you need to create a channel/group where link your bot and invite your friend and followers.
     37Yes, because you need to create a channel/group where link your bot and invite your friend and followers. Don't worry: it's quite simple !
    3138
    3239= How does it costs ? =
     
    3542
    3643== Changelog ==
     44
     45= 0.8.3 =
     46* Bug fixed. Update needed !
    3747
    3848= 0.8.2 =
  • wp-allaround/tags/0.8.3/wp-allaround.php

    r1528830 r1536357  
    44Plugin URI:     http://www.allaroundsiena.com/plugin
    55Description:    This plugin let you to connect a Telegram Bot with your blog
    6 Version:    0.8.2
     6Version:    0.8.3
    77Author:     Michele Pinassi
    88Author URI: http://www.zerozone.it
     
    9595        printf( __('Error %s while publishing on %s', 'wp-allaround'), $post_message, $t_date);
    9696?>
    97     <p>
    98         <input type="checkbox" name="allaround_post_publish" id="allaround_post_publish" value="1" checked />
    99         <label class="description" for="allaround_post_publish"><?php _e('Publish this post on AllAround', 'wp-allaround' ); ?></label>
    100     </p>
     97        <p>
     98        <input type="checkbox" name="allaround_post_do_publish" id="allaround_post_do_publish" value="1"/>
     99        <label class="description" for="allaround_post_do_publish"><?php _e('Try again', 'wp-allaround' ); ?></label>
     100        </p>
    101101<?php
    102102
     
    185185    /* Post have an image ? */
    186186    if(has_post_thumbnail($post->ID)) {
    187         $post_image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'medium');
    188         $post_image_url = $post_image[0];
     187        $post_image_url = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'medium')[0];
    189188    } else {
    190189        $post_image_url = '';
     
    233232}
    234233
    235 // add_action('transition_post_status', 'allaround_post_publish', 10, 3);
    236 
    237 add_action('save_post','allaround_post_publish', 10, 3);
    238 
    239 function allaround_post_publish($ID, $post, $update) {
    240 
    241     /* Check if this post was already published to avoid duplicates */
    242     $check_is_publish = get_post_meta($post->ID,'allaround_post_publish', true);
     234/* ============================================================ */
     235/*                              */
     236/* PUBLISH HOOK                         */
     237/*                              */
     238/* =============================================================*/
     239
     240function allaround_action_publish($new_status, $old_status, $post) {
     241    $do_publish = false;
    243242
    244243    error_log("FIRED: allaround_action_publish($new_status,$old_status,$post->ID)");
  • wp-allaround/trunk/README.txt

    r1528830 r1536357  
    55Requires at least: 4.0.0
    66Tested up to: 4.6.1
    7 Stable tag: 0.8.2
     7Stable tag: 0.8.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414
    15 WP-AllAround is the connector plugin for AllAroundSiena Telegram Bot service, that let you to spread via Telegram channels new posts of your blog.
    16 To connect your blog to the Telegram Channel, you simply need an API key to get freely on http://www.allaroundsiena.com
     15WP-AllAround is the connector plugin for AllAroundSiena Telegram Bot service, that let you to spread via Telegram channels new posts of your blog.
     16
     17Telegram channels are the best way to promote your blog and its content. Followers simply need to join your channel, using provided link, and
     18receive directly on its smartphone any update and new articles published on your blog.
     19
     20With AllAroundSiena, all you need to do is install the plugin, create a channel on Telegram Messenger platform and copy the Api Key on your
     21configuration page on https://www.allaroundsiena.com
     22
     23It's simple, it's free.
    1724
    1825== Installation ==
     
    2835= I need Telegram installed to use this ? =
    2936
    30 Yes, because you need to create a channel/group where link your bot and invite your friend and followers.
     37Yes, because you need to create a channel/group where link your bot and invite your friend and followers. Don't worry: it's quite simple !
    3138
    3239= How does it costs ? =
     
    3542
    3643== Changelog ==
     44
     45= 0.8.3 =
     46* Bug fixed. Update needed !
    3747
    3848= 0.8.2 =
  • wp-allaround/trunk/wp-allaround.php

    r1528830 r1536357  
    44Plugin URI:     http://www.allaroundsiena.com/plugin
    55Description:    This plugin let you to connect a Telegram Bot with your blog
    6 Version:    0.8.2
     6Version:    0.8.3
    77Author:     Michele Pinassi
    88Author URI: http://www.zerozone.it
     
    9595        printf( __('Error %s while publishing on %s', 'wp-allaround'), $post_message, $t_date);
    9696?>
    97     <p>
    98         <input type="checkbox" name="allaround_post_publish" id="allaround_post_publish" value="1" checked />
    99         <label class="description" for="allaround_post_publish"><?php _e('Publish this post on AllAround', 'wp-allaround' ); ?></label>
    100     </p>
     97        <p>
     98        <input type="checkbox" name="allaround_post_do_publish" id="allaround_post_do_publish" value="1"/>
     99        <label class="description" for="allaround_post_do_publish"><?php _e('Try again', 'wp-allaround' ); ?></label>
     100        </p>
    101101<?php
    102102
     
    185185    /* Post have an image ? */
    186186    if(has_post_thumbnail($post->ID)) {
    187         $post_image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'medium');
    188         $post_image_url = $post_image[0];
     187        $post_image_url = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'medium')[0];
    189188    } else {
    190189        $post_image_url = '';
     
    233232}
    234233
    235 // add_action('transition_post_status', 'allaround_post_publish', 10, 3);
    236 
    237 add_action('save_post','allaround_post_publish', 10, 3);
    238 
    239 function allaround_post_publish($ID, $post, $update) {
    240 
    241     /* Check if this post was already published to avoid duplicates */
    242     $check_is_publish = get_post_meta($post->ID,'allaround_post_publish', true);
     234/* ============================================================ */
     235/*                              */
     236/* PUBLISH HOOK                         */
     237/*                              */
     238/* =============================================================*/
     239
     240function allaround_action_publish($new_status, $old_status, $post) {
     241    $do_publish = false;
    243242
    244243    error_log("FIRED: allaround_action_publish($new_status,$old_status,$post->ID)");
Note: See TracChangeset for help on using the changeset viewer.