WordPress.org

Plugin Directory

Changeset 350819


Ignore:
Timestamp:
02/25/11 06:41:44 (3 years ago)
Author:
kirilln
Message:

version 3.3.2 is ready

Location:
tweet-blender/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • tweet-blender/trunk/admin-page.php

    r348497 r350819  
    11<?php 
    22 
    3 // Version 3.3.0 
     3// Version 3.3.2 
    44 
    55$tb_installed_addons = array(); 
  • tweet-blender/trunk/css/admin.css

    r348497 r350819  
    5959    width: 45%; 
    6060    display: inline-block; 
     61    float: left; 
    6162} 
    6263 
  • tweet-blender/trunk/js/admin.js

    r348497 r350819  
    8282            imageBtnNext: TB_pluginPath + '/img/lightbox/lightbox-btn-next.gif', 
    8383            imageBlank: TB_pluginPath + '/img/lightbox/lightbox-blank.gif', 
    84             txtImage: 'Screenshot', 
     84            txtImage: 'Screenshot' 
    8585       }); 
    8686    } 
  • tweet-blender/trunk/js/main.js

    r349039 r350819  
    33 */ 
    44 
    5 var TB_version = '3.3.1',   // Plugin version  
     5var TB_version = '3.3.2',   // Plugin version  
    66TB_rateLimitData, 
    77TB_tmp, 
     
    678678    tweetUser, 
    679679    badStrings, 
    680     tb_tweet; 
     680    tb_tweet, 
     681    tweetExists; 
    681682     
    682683    if (typeof(jsonData.results) != 'undefined') { 
     
    698699         
    699700        // if this tweet already in the set, skip it 
    700         if (jQuery('#' + tb_tweet.divId).length > 0) { 
     701        tweetExists = false; 
     702        jQuery('div.tb_tweet').each(function() { 
     703            if (tb_tweet.isSameId(this.id)) { 
     704                tweetExists = true; 
     705            } 
     706        }); 
     707        if (tweetExists) { 
    701708            return true; 
    702709        } 
     710         
     711         
    703712        // if this is the first tweet, just add it and set it to be both min and max 
    704         else if (TB_config.widgets[widgetId].tweetsShown == 0) { 
     713        if (TB_config.widgets[widgetId].tweetsShown == 0) { 
    705714            TB_config.widgets[widgetId].tweetsShown++; 
    706715            TB_config.widgets[widgetId].minTweetId = tb_tweet.divId; 
     
    12251234    } 
    12261235     
     1236     
     1237    this.isSameId = function(TB_tweetId) { 
     1238 
     1239        var parts1, parts2; 
     1240 
     1241        // if other tweet's ID is not defined - assume we are not the same 
     1242        if (typeof(TB_tweetId) == 'undefined') { 
     1243            return false; 
     1244        } 
     1245        // if it's some weird format - assume we are not the same 
     1246        else if (TB_tweetId.indexOf('-') <= 0) { 
     1247            return flase; 
     1248        } 
     1249        // else, do the real comparisons 
     1250        else { 
     1251             
     1252            parts1 = TB_tweetId.split('-'); 
     1253            parts2 = this.divId.split('-'); 
     1254             
     1255            // if one of the IDs is in old format - compare only the first two parts 
     1256            if (parts1.length == 3 || parts2.length == 3) { 
     1257                return (parts1[1] == parts2[1] && parts1[2] == parts2[2]); 
     1258            } 
     1259            // for new formats - compare all 3 parts 
     1260            else { 
     1261                return (parts1[1] == parts2[1] && parts1[2] == parts2[2] && parts1[3] == parts2[3]); 
     1262            } 
     1263        } 
     1264    } 
     1265     
    12271266    /* returns true if this tweet doesn't contain any words that are supposed to be filtered out  
    12281267     * and if it's not supposed to be hidden due to other criteria 
  • tweet-blender/trunk/lib/lib.php

    r349039 r350819  
    11<?php 
    22 
    3 // Version 3.3.1 
     3// Version 3.3.2 
    44 
    55// aliases for sources 
  • tweet-blender/trunk/lib/twitteroauth/twitteroauth.php

    r230643 r350819  
    1212 
    1313/* Load OAuth lib. You can find it at http://oauth.net */ 
    14 require_once('OAuth.php'); 
     14class_exists("OAuthSignatureMethod_HMAC_SHA1") && class_exists("OAuthSignatureMethod_RSA_SHA1") || require_once('OAuth.php'); 
    1515 
    1616/** 
  • tweet-blender/trunk/readme.txt

    r349039 r350819  
    44Requires at least: 2.8.0 
    55Tested up to: 3.0.5 
    6 Stable tag: 3.3.1 
     6Stable tag: 3.3.2 
    77Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5907095 
    88 
     
    177177== Changelog == 
    178178 
     179= 3.3.2 = 
     180* Bug fix: blending private/pass-protected accounts did not find any tweets 
     181* Bug fix: error "Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1" when other OAuth-based plugins installed (thanks to Tomislav V for reporting via Facebook) 
     182* Bug fix: same tweets in cache and from Twitter were treated as different and appeared twice (thanks to mark for reporting via GetSatisfaction) 
     183* Bug fix: WP Admin > Settings > Tweet Blender was not working in IE7 on Windows 
     184* Tested with IE7 and Opera11 on Windows XP 
     185* Tested with WordPress 3.1 
     186 
    179187= 3.3.1 = 
    180188* Bug fix: hashtag links in the infobox that appears after click on Twitter logo were broken 
  • tweet-blender/trunk/tweet-blender.php

    r349039 r350819  
    44Plugin URI: http://www.tweet-blender.com 
    55Description: Provides several Twitter widgets: show your own tweets, show tweets relevant to post's tags, show tweets for Twitter lists, show tweets for hashtags, show tweets for keyword searches, show favorite tweets. Multiple widgets on the same page are supported. Can combine sources and blend all of them into a single stream. 
    6 Version: 3.3.1 
     6Version: 3.3.2 
    77Author: Kirill Novitchenko 
    88Author URI: http://kirill-novitchenko.com 
  • tweet-blender/trunk/widget.php

    r349039 r350819  
    11<?php 
    22 
    3 // version 3.3.1 
     3// version 3.3.2 
    44 
    55class TweetBlender extends WP_Widget { 
     
    188188        } 
    189189        else { 
    190             $this->error = join(', ',$status_msg) . " $log_msg"; 
     190            $this->error = join(', ',$status_msg) . "<!-- $log_msg -->"; 
    191191            if (sizeof($errors) > 0) { 
    192192                $this->error .= '<br/><br/>' . join(', ', $errors); 
     
    210210  
    211211        // report errors if any 
    212         if (isset($this->error) && $this->error) { 
     212        if (isset($this->error)) { 
    213213            echo tb_wrap_javascript("function tAuth(url) {var tWin = window.open(url,'tWin','width=800,height=410,toolbar=0,location=1,status=0,menubar=0,resizable=1');}"); 
    214214            echo '<div class="error">' . $this->error . '</div>'; 
     
    216216        } 
    217217        // report messages if an 
    218         if (isset($this->message) && $this->message) { 
     218        if (isset($this->message)) { 
    219219            echo '<div class="updated">' . $this->message . '</div>'; 
    220220        } 
  • tweet-blender/trunk/ws.php

    r348497 r350819  
    6262    elseif($_GET['action'] == 'user_timeline') { 
    6363        $sources = array('@'.$_GET['user']); 
    64         $url = 'https://api.twitter.com/1/statuses/user_timeline/' . $_GET['user'] . '.json'; 
    65         unset($params['user']); 
     64        $url = 'https://api.twitter.com/1/statuses/user_timeline/' . $_GET['screen_name'] . '.json'; 
     65        unset($params['screen_name']); 
    6666    } 
    6767 
Note: See TracChangeset for help on using the changeset viewer.