Plugin Directory

Changeset 3009979


Ignore:
Timestamp:
12/14/2023 11:48:28 AM (2 years ago)
Author:
dejanmarkovic
Message:

tested with the latest code, deleted error logs

Location:
social-web-suite/trunk
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • social-web-suite/trunk/changelog.txt

    r2628283 r3009979  
     1*4.1.4 - 2023-14-12
     2- deleted the error logs
     3-make sure everything works with the latest updates
     4- updated avatar image handling
     5
    16*3.1.2 - 2021-11-11
    2 - deleted the error logs
     7- deleted placeholder images for the error logs
    38
    49*3.1.1 - 2021-10-29
  • social-web-suite/trunk/css/sws-admin.css

    r2537410 r3009979  
    1 #sws_meta fieldset
    2 {
    3     margin: 1em 0;
    4     border: 1px solid #ddd;
    5     padding: 10px;
    6 }
    7 
    8 #sws_meta legend
    9 {
    10     font-weight: bold;
    11 }
    12 
    13 #sws_meta_schedule_calendar_btn
    14 {
    15     vertical-align: text-bottom;
    16     margin-right: 10px;
    17     cursor: pointer;
    18 }
    19 
    20 .sws-delete-log-item
    21 {
    22     text-decoration: none;
    23 }
    24 .sws-logs-list
    25 {
    26     max-height: 400px;
    27     overflow-y: auto;
    28 }
    29 .sws-notice
    30 {
    31     border: none;
    32     border-radius: 5px;
    33     -webkit-border-radius: 5px;
    34     -moz-border-radius: 5px;
    35     background: #ffffff;
    36     margin: 20px 20px 0px 0px;
    37 }
    38 .sws-notice
    39 {
    40     background: #ffffff;
    41     border: none;
    42     clear: both;
    43     padding: 0 20px;
    44     display: -ms-flexbox;
    45     display: flex;
    46     justify-content: flex-start;
    47     -ms-flex-align: center;
    48     align-items: center;
    49 }
    50 
    51 
    52 .sws-notice .sws-column
    53 {
    54     display: block;
    55     box-sizing: border-box;
    56     text-align: center;
    57     -ms-flex: 1 1 0%;
    58     flex: 1 1 0%;
    59 
    60 }
    61 .sws-notice .sws-notice-message
    62 {
    63     padding: 20px 20px;
    64     text-align: left;
    65 }
    66 .sws-notice{
    67     position: relative;
    68 }
    69 @media only screen and (min-width: 240px)
    70 {
    71 
    72     .sws-notice-cta.sws-column .notice-dismiss
    73     {
    74         top: 0;
    75         right: 0;
    76         text-decoration:none;
    77     }
    78 
    79     .sws-notice-cta.sws-column .notice-dismiss:before
    80     {
    81         font-size:22px;
    82     }
    83 
    84     .sws-notice
    85     {
    86         padding-bottom: 20px;
    87         -ms-flex-direction: column;
    88         flex-direction: column;
    89     }
    90 
    91 
    92 }
    93 @media only screen and (min-width: 800px)
    94 {
    95 
    96     .sws-notice-cta.sws-column .notice-dismiss
    97     {
    98         top: 0;
    99         right: 0;
    100         text-decoration:none;
    101     }
    102 
    103     .sws-notice
    104     {
    105         padding-bottom: 0px;
    106         -ms-flex-direction: row;
    107         flex-direction: row;
    108     }
    109     .sws-notice .sws-notice-logo
    110     {
    111         -ms-flex: 1 1 24%;
    112         flex: 1 1 24%;
    113     }
    114 
    115     .sws-notice .sws-notice-message
    116     {
    117         -ms-flex: 1 1 50%;
    118         flex: 1 1 50%;
    119     }
    120 
    121 
    122     .sws-notice .sws-notice-cta
    123     {
    124         -ms-flex: 1 1 24%;
    125         flex: 1 1 24%;
    126 
    127     }
    128 
    129 }
    130 
    131 .sws-notice .sws-notice-message h3
    132 {
    133     font-size: 22px;
    134     line-height: 22px;
    135     font-weight: bold;
    136     margin: 0 0 10px;
    137     color: #333333;
    138 
    139 }
    140 .sws-notice-logo img
    141 {
    142     float:left;
    143     margin-right: 20px;
    144     width: 100%;
    145     max-width: 99px;
    146     height: auto;
     1#sws_meta fieldset {
     2    margin: 1em 0;
     3    border: 1px solid #ddd;
     4    padding: 10px;
     5}
     6
     7#sws_meta legend {
     8    font-weight: bold;
     9}
     10
     11#sws_meta_schedule_calendar_btn {
     12    vertical-align: text-bottom;
     13    margin-right: 10px;
     14    cursor: pointer;
     15}
     16
     17.sws-delete-log-item {
     18    text-decoration: none;
     19}
     20
     21.sws-logs-list {
     22    max-height: 400px;
     23    overflow-y: auto;
     24}
     25
     26.sws-notice {
     27    border: none;
     28    border-radius: 5px;
     29    -webkit-border-radius: 5px;
     30    -moz-border-radius: 5px;
     31    background: #ffffff;
     32    margin: 20px 20px 0px 0px;
     33}
     34
     35.sws-notice {
     36    background: #ffffff;
     37    border: none;
     38    clear: both;
     39    padding: 0 20px;
     40    display: -ms-flexbox;
     41    display: flex;
     42    justify-content: flex-start;
     43    -ms-flex-align: center;
     44    align-items: center;
     45}
     46
     47
     48.sws-notice .sws-column {
     49    display: block;
     50    box-sizing: border-box;
     51    text-align: center;
     52    -ms-flex: 1 1 0%;
     53    flex: 1 1 0%;
     54
     55}
     56
     57.sws-notice .sws-notice-message {
     58    padding: 20px 20px;
     59    text-align: left;
     60}
     61
     62.sws-notice {
     63    position: relative;
     64}
     65
     66@media only screen and (min-width: 240px) {
     67
     68    .sws-notice-cta.sws-column .notice-dismiss {
     69        top: 0;
     70        right: 0;
     71        text-decoration: none;
     72    }
     73
     74    .sws-notice-cta.sws-column .notice-dismiss:before {
     75        font-size: 22px;
     76    }
     77
     78    .sws-notice {
     79        padding-bottom: 20px;
     80        -ms-flex-direction: column;
     81        flex-direction: column;
     82    }
     83
     84
     85}
     86
     87@media only screen and (min-width: 800px) {
     88
     89    .sws-notice-cta.sws-column .notice-dismiss {
     90        top: 0;
     91        right: 0;
     92        text-decoration: none;
     93    }
     94
     95    .sws-notice {
     96        padding-bottom: 0px;
     97        -ms-flex-direction: row;
     98        flex-direction: row;
     99    }
     100
     101    .sws-notice .sws-notice-logo {
     102        -ms-flex: 1 1 24%;
     103        flex: 1 1 24%;
     104    }
     105
     106    .sws-notice .sws-notice-message {
     107        -ms-flex: 1 1 50%;
     108        flex: 1 1 50%;
     109    }
     110
     111
     112    .sws-notice .sws-notice-cta {
     113        -ms-flex: 1 1 24%;
     114        flex: 1 1 24%;
     115
     116    }
     117
     118}
     119
     120.sws-notice .sws-notice-message h3 {
     121    font-size: 22px;
     122    line-height: 22px;
     123    font-weight: bold;
     124    margin: 0 0 10px;
     125    color: #333333;
     126
     127}
     128
     129.sws-notice-logo img {
     130    float: left;
     131    margin-right: 20px;
     132    width: 100%;
     133    max-width: 99px;
     134    height: auto;
    147135}
    148136
     
    158146}
    159147
    160 .sws-notice .sws-notice-message p
    161 {
    162     font-size: 16px;
    163     line-height: 21px;
    164     color: #666666;
     148.sws-notice .sws-notice-message p {
     149    font-size: 16px;
     150    line-height: 21px;
     151    color: #666666;
    165152}
    166153
  • social-web-suite/trunk/includes/admin/templates/post-meta-box.php

    r2537410 r3009979  
    386386                <br>
    387387                <?php
     388   
    388389                if ( count( $social_accounts ) > 0 ): ?>
    389390                    <?php $twitter_checked = false; ?>
  • social-web-suite/trunk/includes/class-socialwebsuite-helpers.php

    r2628283 r3009979  
    6868        }
    6969        $non_prefixed_args = array( 'use_hashtags', 'hashtags', 'format', 'include_image', 'social_accounts_exclude' );
    70         $default_values    = array( 'use_hashtags'  => 'default',
    71                                     'hashtags'      => '',
    72                                     'format'        => '{title} {url}',
    73                                     'include_image' => 'default'
     70        $default_values    = array(
     71            'use_hashtags'  => 'default',
     72            'hashtags'      => '',
     73            'format'        => '{title} {url}',
     74            'include_image' => 'default'
    7475        );
    7576
     
    257258        //  $image_url        = 'https://i.redd.it/fnxbn804hpd31.jpg';
    258259        $image_type_check = @exif_imagetype( $image_url );
    259         //error_log('$http_response_header[0] '. $http_response_header[0]  );
     260       
    260261        if ( strpos( $http_response_header[0], '200' ) || strpos( $http_response_header[0], '302' ) ) {
    261262            return $image_url;
    262263            //echo "image exists<br>";
    263         } elseif(strpos( $http_response_header[0], '403' ) ) {
     264        } elseif ( strpos( $http_response_header[0], '403' ) ) {
    264265            //plugin_dir_url()
    265266            return SWS_PLUGIN_PATH . '/images/avatar.png';
     
    268269    }
    269270
     271
     272    public static function check_image_url( $image_url ) {
     273       
     274        if ( @getimagesize( $image_url ) ) {
     275            return $image_url;
     276        } else {
     277            return SWS_PLUGIN__DIR_URL . 'images/avatar.png';
     278        }
     279
     280    }
     281
    270282} // end class SocialWebSuiteHelpers
    271283
  • social-web-suite/trunk/includes/class-socialwebsuite.php

    r2628283 r3009979  
    17661766
    17671767    public static function get_social_accounts() {
    1768 
     1768 
    17691769        //$social_accounts = SocialWebSuite::get_option( 'social_accounts', array(), true );
    17701770        //$retrieved_social_accounts = SocialWebSuite::get_option( 'retrieved_social_accounts', null, true );
     
    17791779            $social_accounts = $response->social_accounts;
    17801780        }
    1781 
     1781 
    17821782        self::set_option( 'social_accounts', $social_accounts );
    17831783        self::set_option( 'retrieved_social_accounts', 1 );
     
    22742274
    22752275        $response = self::call_api( $api_url, array() );
     2276 
    22762277        if ( isset( $response->status ) && 'OK' === $response->status && isset( $response->sharing_active ) ) {
    22772278            if ( isset( $response->subscription_expired ) ) {
  • social-web-suite/trunk/readme.txt

    r2628765 r3009979  
    11=== Social Web Suite - Social Media Auto Post, Social Media Auto Publish and Schedule now with Gutenberg and WooCommerce support ===
    22Contributors: hypestudio,nytogroup,dejanmarkovic,tinat
    3 Tags: social media auto post, social media auto publish, social media scheduling, social media post, social media share,social media marketing,social media management, Social Networks Auto-Poster, social media analytics,autopost,social media sharing, social media dashboard, auto-post, social media share, auto-publish, scheduling, social media post, social url share, social network share, share tweet, share links, share this, sharethis, social tools, admin, api, auto share to, autopost, auto-Posting, auto-schedule, auto-schedule social media posts, automatic social sharing plugin, blog marketing, blogger, buffer, crossposting, cross-promotion, cross-promoting, rss feed, rss, rss auto post, facebook auto post, facebook pages, linkedin, linkedin auto post, medium, medium auto post, multiposting, path, re-post, scheduling, scheduling plugin, social media, social media automation, social media button, social media manager, social media plugin, social media publishing, social media scheduling, social media scheduling tool, social media sharing, social media tool, social network auto publish, social network icon, social network widget, socialmedia, timing, torial, torial auto post, twitter, twitter auto post, auto post scheduler, repost, social media management, facebook fan page auto post, facebook profile auto post, social auto post, social autoposting, linkedin auto posting, linkedin profile, facebook group, social media scheduling, content marketing, social automation tool, schedule facebook posts, schedule to twitter, social media, twitter, facebook, automatic, tweet, share, wordpress, marketing, sharing, Tweet old post, Tweets,evergreen, promote old posts, promote posts, promote custom posts, promote selected posts, share posts, bulk share posts, share old posts, social, media, sharing, social sharing, schedule, auto post, auto publish, facebook, facebook post, facebook selected posts, facebook plugin, auto facebook post, post facebook, post to facebook, twitter post, tweet post twitter selected posts, tweet selected posts twitter plugin, auto twitter post, auto tweet post, post twitter, post to twitter, linkedin, linkedin post, linkedin selected posts, linkedin plugin, auto linkedin post, post linkedin, post to linkedin, best wordpress social plugin, best wordpress social sharing plugin, best social plugin, best social sharing plugin, best facebook social plugin, best twitter social plugin, best linkedin social plugin, social plugin, bitly, bit.ly,WooCommerce, e-commerce,guteberg
     3Tags: social media auto post, social media auto publish, social media scheduling, social media post, social media share,social media marketing,social media management, Social Networks Auto-Poster, social media analytics,autopost,social media sharing, social media dashboard, auto-post, social media share, auto-publish, scheduling, social media post, social url share, social network share, share tweet, share links, share this, sharethis, social tools, admin, api, auto share to, autopost, auto-Posting, auto-schedule, auto-schedule social media posts, automatic social sharing plugin, blog marketing, blogger, buffer, crossposting, cross-promotion, cross-promoting, rss feed, rss, rss auto post, facebook auto post, facebook pages, linkedin, linkedin auto post, medium, medium auto post, multiposting, path, re-post, scheduling, scheduling plugin, social media, social media automation, social media button, social media manager, social media plugin, social media publishing, social media scheduling, social media scheduling tool, social media sharing, social media tool, social network auto publish, social network icon, social network widget, socialmedia, timing, torial, torial auto post, twitter, twitter auto post, auto post scheduler, repost, social media management, facebook fan page auto post, facebook profile auto post, social auto post, social autoposting, linkedin auto posting, linkedin profile, facebook group, social media scheduling, content marketing, social automation tool, schedule facebook posts, schedule to twitter, social media, twitter, facebook, automatic, tweet, share, wordpress, marketing, sharing, Tweet old post, Tweets,evergreen, promote old posts, promote posts, promote custom posts, promote selected posts, share posts, bulk share posts, share old posts, social, media, sharing, social sharing, schedule, auto post, auto publish, instagram, facebook, facebook post, facebook selected posts, facebook plugin, auto facebook post, post facebook, post to facebook, twitter post, tweet post twitter selected posts, tweet selected posts twitter plugin, auto twitter post, auto tweet post, post twitter, post to twitter, linkedin, linkedin post, linkedin selected posts, linkedin plugin, auto linkedin post, post linkedin, post to linkedin, best wordpress social plugin, best wordpress social sharing plugin, best social plugin, best social sharing plugin, best facebook social plugin, best twitter social plugin, best linkedin social plugin, social plugin, bitly, bit.ly,WooCommerce, e-commerce,guteberg
    44Requires at least: 4.9.0
    5 Tested up to: 5.8.2
    6 Requires PHP: 5.6
    7 Stable tag: 2.0.11
     5Tested up to: 6.3.2
     6Requires PHP: 7.4
     7Stable tag: 4.1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Social media auto post, social media auto publish, schedule, share, and promote your new, and re-share your old posts to Twitter, Facebook and LinkedIn with our WordPress social media plugin and social media marketing automation platform. Instagram is coming soon!
     11Social media auto post, social media auto publish, schedule, share, and promote your new, and re-share your old posts to Instagram, X(Twitter), Facebook and LinkedIn with our WordPress social media plugin and social media marketing automation platform.
    1212
    1313== Description ==
    1414
    15 **Auto post to Facebook, LinkedIn and Twitter and also share messages that are optimized to look great on any of those social media platforms, with no extra effort.**
    16 
    17 NOTE: Social Web Suite is a premium (paid) social media scheduler application and our plans start at $9.
     15**Auto post to Instagram, Facebook, LinkedIn and X(Twitter) and also share messages that are optimized to look great on any of those social media platforms, with no extra effort.**
     16
     17**FREE Package - Share up to 3 social accounts unlimited times per day/month for free with Social Web Suite, and upgrade to share to as many social accounts as you want!
     18Because of the recent changes with X (Twitter), it is only available with our premium plans. If that changes in the future, we will keep you updated.
     19
     20**Start sharing for free now! [app.socialwebsuite.com/register app.socialwebsuite.com/register]
    1821
    1922**Social Web Suite supports Gutenberg and WooCommerce!**
     
    236239
    237240== Change Log ==
     241== 3.1.4 - 2021-02-21
     242- checked against the the latest version ogf WP 5.9
     243-  fixed bug in post meta to display proper placeholder images (path has been fixed)
     244
    238245== 3.1.3 - 2021-11-12
    239246- fixed he issue with count() function that was causing the problems with newer php versions
  • social-web-suite/trunk/social-web-suite.php

    r2628765 r3009979  
    33 * Plugin Name: Social Web Suite - Social Media Auto Post, Auto Publish and Schedule
    44 * Plugin URI: https://socialwebsuite.com/
    5  * Description: Manage all your social media accounts from one place. Automate, schedule & publish your posts/custom post types/pages to major social networks. Social Web Suite is premium (paid) social media scheduler service and our plans start at $9.
    6  * Version: 3.1.3
    7  * Author: hypestudio,nytogroup,dejanmarkovic,tinat
     5 * Description: Manage all your social media accounts from one place. Automate, schedule & publish your posts/custom
     6 * post types/pages to major social networks. Social Web Suite is premium (paid) social media scheduler service and our
     7 * plans start at $9.
     8 * Version: 4.1.4 Author: hypestudio,nytogroup,dejanmarkovic,tinat
    89 * Author URI: https://hypestudio.org/
    9  * Text domain: social-web-suite
    10  * Domain Path: /languages
    11  * License: GPL2
    12  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     10 * Text domain: social-web-suite Domain
     11 * Path: /languages License: GPL2 License URI:
     12 * https://www.gnu.org/licenses/gpl-2.0.html
    1313 */
    1414
     
    2020// path to the plugin
    2121define( 'SWS_PLUGIN_PATH', __FILE__ );
     22if ( ! defined( 'SWS_PLUGIN__DIR_URL' ) ) {
     23    define( 'SWS_PLUGIN__DIR_URL', plugin_dir_url( __FILE__ ) );
     24}
    2225
    2326// server url
Note: See TracChangeset for help on using the changeset viewer.