Changeset 1335247
- Timestamp:
- 01/25/2016 04:21:29 AM (10 years ago)
- Location:
- social-metrics-tracker
- Files:
-
- 107 added
- 4 edited
-
tags/1.6.4 (added)
-
tags/1.6.4/MetricsUpdater.class.php (added)
-
tags/1.6.4/SocialMetricsDebugger.class.php (added)
-
tags/1.6.4/SocialMetricsSettings.class.php (added)
-
tags/1.6.4/SocialMetricsTrackerWidget.class.php (added)
-
tags/1.6.4/css (added)
-
tags/1.6.4/css/social-metrics-tracker.min.css (added)
-
tags/1.6.4/css/social-metrics-tracker.min.css.map (added)
-
tags/1.6.4/css/social-metrics-tracker.scss (added)
-
tags/1.6.4/data-sources (added)
-
tags/1.6.4/data-sources/FacebookGraphUpdater.class.php (added)
-
tags/1.6.4/data-sources/FacebookPublicUpdater.class.php (added)
-
tags/1.6.4/data-sources/FlattrUpdater.class.php (added)
-
tags/1.6.4/data-sources/GooglePlusUpdater.class.php (added)
-
tags/1.6.4/data-sources/HTTPResourceUpdater.class.php (added)
-
tags/1.6.4/data-sources/LinkedInUpdater.class.php (added)
-
tags/1.6.4/data-sources/PinterestUpdater.class.php (added)
-
tags/1.6.4/data-sources/RedditUpdater.class.php (added)
-
tags/1.6.4/data-sources/StumbleUponUpdater.class.php (added)
-
tags/1.6.4/data-sources/WordPressCircuitBreaker.class.php (added)
-
tags/1.6.4/data-sources/XingUpdater.class.php (added)
-
tags/1.6.4/data-sources/google_analytics.php (added)
-
tags/1.6.4/js (added)
-
tags/1.6.4/js/social-metrics-tracker.js (added)
-
tags/1.6.4/js/social-metrics-tracker.min.js (added)
-
tags/1.6.4/lib (added)
-
tags/1.6.4/lib/Google (added)
-
tags/1.6.4/lib/Google/Auth (added)
-
tags/1.6.4/lib/Google/Auth/Abstract.php (added)
-
tags/1.6.4/lib/Google/Auth/AssertionCredentials.php (added)
-
tags/1.6.4/lib/Google/Auth/Exception.php (added)
-
tags/1.6.4/lib/Google/Auth/LoginTicket.php (added)
-
tags/1.6.4/lib/Google/Auth/OAuth2.php (added)
-
tags/1.6.4/lib/Google/Auth/Simple.php (added)
-
tags/1.6.4/lib/Google/Cache (added)
-
tags/1.6.4/lib/Google/Cache/Abstract.php (added)
-
tags/1.6.4/lib/Google/Cache/Apc.php (added)
-
tags/1.6.4/lib/Google/Cache/Exception.php (added)
-
tags/1.6.4/lib/Google/Cache/File.php (added)
-
tags/1.6.4/lib/Google/Cache/Memcache.php (added)
-
tags/1.6.4/lib/Google/Cache/Null.php (added)
-
tags/1.6.4/lib/Google/Client.php (added)
-
tags/1.6.4/lib/Google/Collection.php (added)
-
tags/1.6.4/lib/Google/Config.php (added)
-
tags/1.6.4/lib/Google/Exception.php (added)
-
tags/1.6.4/lib/Google/Http (added)
-
tags/1.6.4/lib/Google/Http/Batch.php (added)
-
tags/1.6.4/lib/Google/Http/CacheParser.php (added)
-
tags/1.6.4/lib/Google/Http/MediaFileUpload.php (added)
-
tags/1.6.4/lib/Google/Http/REST.php (added)
-
tags/1.6.4/lib/Google/Http/Request.php (added)
-
tags/1.6.4/lib/Google/IO (added)
-
tags/1.6.4/lib/Google/IO/Abstract.php (added)
-
tags/1.6.4/lib/Google/IO/Curl.php (added)
-
tags/1.6.4/lib/Google/IO/Exception.php (added)
-
tags/1.6.4/lib/Google/IO/Stream.php (added)
-
tags/1.6.4/lib/Google/IO/cacerts.pem (added)
-
tags/1.6.4/lib/Google/Model.php (added)
-
tags/1.6.4/lib/Google/Service (added)
-
tags/1.6.4/lib/Google/Service.php (added)
-
tags/1.6.4/lib/Google/Service/Analytics.php (added)
-
tags/1.6.4/lib/Google/Service/Exception.php (added)
-
tags/1.6.4/lib/Google/Service/Resource.php (added)
-
tags/1.6.4/lib/Google/Signer (added)
-
tags/1.6.4/lib/Google/Signer/Abstract.php (added)
-
tags/1.6.4/lib/Google/Signer/P12.php (added)
-
tags/1.6.4/lib/Google/Utils (added)
-
tags/1.6.4/lib/Google/Utils.php (added)
-
tags/1.6.4/lib/Google/Utils/URITemplate.php (added)
-
tags/1.6.4/lib/Google/Verifier (added)
-
tags/1.6.4/lib/Google/Verifier/Abstract.php (added)
-
tags/1.6.4/lib/Google/Verifier/Pem.php (added)
-
tags/1.6.4/lib/Handlebars (added)
-
tags/1.6.4/lib/Handlebars/Autoloader.php (added)
-
tags/1.6.4/lib/Handlebars/Cache (added)
-
tags/1.6.4/lib/Handlebars/Cache.php (added)
-
tags/1.6.4/lib/Handlebars/Cache/APC.php (added)
-
tags/1.6.4/lib/Handlebars/Cache/Disk.php (added)
-
tags/1.6.4/lib/Handlebars/Cache/Dummy.php (added)
-
tags/1.6.4/lib/Handlebars/Context.php (added)
-
tags/1.6.4/lib/Handlebars/Engine.php (added)
-
tags/1.6.4/lib/Handlebars/Helpers.php (added)
-
tags/1.6.4/lib/Handlebars/Loader (added)
-
tags/1.6.4/lib/Handlebars/Loader.php (added)
-
tags/1.6.4/lib/Handlebars/Loader/FilesystemLoader.php (added)
-
tags/1.6.4/lib/Handlebars/Loader/StringLoader.php (added)
-
tags/1.6.4/lib/Handlebars/Parser.php (added)
-
tags/1.6.4/lib/Handlebars/String.php (added)
-
tags/1.6.4/lib/Handlebars/Template.php (added)
-
tags/1.6.4/lib/Handlebars/Tokenizer.php (added)
-
tags/1.6.4/lib/class-wp-list-table.php (added)
-
tags/1.6.4/lib/wp-settings-framework.php (added)
-
tags/1.6.4/readme.txt (added)
-
tags/1.6.4/settings (added)
-
tags/1.6.4/settings/smt-gapi.php (added)
-
tags/1.6.4/settings/smt-general.php (added)
-
tags/1.6.4/smt-dashboard-debug.php (added)
-
tags/1.6.4/smt-dashboard.php (added)
-
tags/1.6.4/smt-export.php (added)
-
tags/1.6.4/social-metrics-tracker.php (added)
-
tags/1.6.4/templates (added)
-
tags/1.6.4/templates/settings-connections.handlebars (added)
-
tags/1.6.4/templates/settings-nav.handlebars (added)
-
tags/1.6.4/templates/settings-test.handlebars (added)
-
tags/1.6.4/templates/settings-urls.handlebars (added)
-
tags/1.6.4/templates/stat-details.handlebars (added)
-
tags/1.6.4/uninstall.php (added)
-
trunk/MetricsUpdater.class.php (modified) (2 diffs)
-
trunk/SocialMetricsSettings.class.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/social-metrics-tracker.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-metrics-tracker/trunk/MetricsUpdater.class.php
r1296451 r1335247 486 486 foreach ($alt_data as $key => $val) { 487 487 488 $url = ''; 489 488 490 // Check data type 489 491 if (is_string($val)) { 490 492 $url = $val; 491 } else if ( array_key_exists('permalink', $val)) {493 } else if (is_array($val) && array_key_exists('permalink', $val)) { 492 494 $url = $val['permalink']; 493 495 } else { … … 781 783 ***************************************************/ 782 784 if ($verbose) { 783 $percent = round(($offset + $q->post_count) / $q->found_posts * 100);785 $percent = round(($offset + $q->post_count) / max(1, $q->found_posts * 100)); 784 786 print('<div style="width: 100%; border:1px solid #CCC; background:#EEE; border-radius: 6px; padding:20px; margin: 15px 0; box-sizing:border-box;">'); 785 787 print('<h1 style="margin-top:0;">Scheduled '.($offset + $q->post_count).' out of '.$q->found_posts.' posts.</h1>'); -
social-metrics-tracker/trunk/SocialMetricsSettings.class.php
r1202486 r1335247 488 488 <li>Create a new project</li> 489 489 <li>Enable the Google Analytics API for the project</li> 490 <li>Under <b> APIs & auth > Credentials</b> click "Create new Client ID" and select"Web Appplication"</li>490 <li>Under <b>Credentials</b>, create a new credential and set it up as an "OAuth Client ID" for a "Web Appplication"</li> 491 491 <li>Add the following authorized redirect URI: <input value="<?php echo $this->gapi->redirect_uri; ?>" onClick="this.select();" style="min-width:300px; background:white; cursor:text; font-size:11px" readonly></li> 492 492 <li>Enter the information you receive below: </li> -
social-metrics-tracker/trunk/readme.txt
r1308742 r1335247 4 4 Tags: admin, dashboard, social, social media, facebook, twitter, metrics, analytics, tracking, stats, engagement, share, sharing, shares, likes, tweets 5 5 Requires at least: 3.5 6 Tested up to: 4.4. 07 Stable tag: 1.6. 36 Tested up to: 4.4.1 7 Stable tag: 1.6.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 108 108 109 109 == Changelog == 110 111 = 1.6.4 = 112 * Minor bug fixes: resolved some PHP errors and warnings 113 110 114 = 1.6.3 = 111 115 * Remove Twitter API because it has been officially discontinued by Twitter. … … 240 244 == Upgrade Notice == 241 245 246 = 1.6.4 = 247 Minor bug fixes 248 242 249 = 1.6.3 = 243 250 Remove Twitter API because it has been officially discontinued by Twitter. -
social-metrics-tracker/trunk/social-metrics-tracker.php
r1296451 r1335247 39 39 class SocialMetricsTracker { 40 40 41 public $version = '1.6. 3'; // for db upgrade comparison41 public $version = '1.6.4'; // for db upgrade comparison 42 42 public $updater; 43 43 public $options; … … 58 58 add_action('plugins_loaded', array($this, 'version_check')); 59 59 add_action('wp_dashboard_setup', array($this, 'dashboard_setup')); 60 61 new socialMetricsSettings($this); 60 62 } 61 63 … … 224 226 add_submenu_page('social-metrics-tracker', 'Data Export Tool', 'Export Data', $visibility, 'social-metrics-tracker-export', array($this, 'render_view_export')); 225 227 226 new socialMetricsSettings($this);227 228 } // end adminMenuSetup()229 230 public function networkAdminMenuSetup() {231 232 new socialMetricsSettings($this);233 234 228 } // end adminMenuSetup() 235 229
Note: See TracChangeset
for help on using the changeset viewer.