Plugin Directory

Changeset 2996631


Ignore:
Timestamp:
11/15/2023 06:36:54 PM (2 years ago)
Author:
amribrahim
Message:

v4.0.3

Location:
lara-google-analytics/trunk
Files:
2 added
11 edited

Legend:

Unmodified
Added
Removed
  • lara-google-analytics/trunk/core/GoogleAnalyticsAPI.class.php

    r2820580 r2996631  
    5757    }
    5858
    59     public function getAccounts() {
    60         return $this->httpRequest(self::ACCOUNTS_SUMMARY_URL, array('access_token' => $this->access_token), "GET");
    61     }
     59    public function getAccounts() {
     60        return $this->httpRequest(self::ACCOUNTS_SUMMARY_URL, array('access_token' => $this->access_token, 'pageSize' => 200), "GET");
     61    }   
    6262   
    6363    public function getProperty($property_id) {
  • lara-google-analytics/trunk/core/lrgawidget.class.php

    r2818551 r2996631  
    7575            }
    7676        }
     77
     78       
    7779        return $graphObject;
    7880    }
  • lara-google-analytics/trunk/core/lrgawidget.permissions.php

    r2818551 r2996631  
    1515    private $laraStockPermissions;
    1616    private $userRoles;
     17    private $userPermissions;
    1718    private $output  = array();
    1819    private $errors  = array();
     
    5960                                                        )
    6061                                                    ),
     62                                                   
    6163                                            );
    62 
    6364        $this->userRoles        = array("administrator");
    6465        $this->userPermissions  = array("admin",
  • lara-google-analytics/trunk/dist/css/lrgalite-main.css

    r2818551 r2996631  
    69946994
    69956995.minicolors-sprite {
    6996   background-image: url(../plugins/minicolors/jquery.minicolors.png);
     6996  background-image: url(../img/jquery.minicolors.png);
    69976997}
    69986998
     
    93579357.lrghop_colorselector_item {
    93589358    display: inline-block;
    9359     width:  20px;
     9359    width:  25px;
    93609360    height: 18px;
    93619361    border-radius: 3px;
     
    93739373    left: auto;
    93749374    right:23px;
    9375     min-width:650px;
     9375    min-width:850px;
    93769376    padding: 15px;
    93779377    min-height: 500px;
  • lara-google-analytics/trunk/dist/css/lrgawidget.css

    r2818551 r2996631  
    19351935.lrghop_colorselector_item {
    19361936    display: inline-block;
    1937     width:  20px;
     1937    width:  25px;
    19381938    height: 18px;
    19391939    border-radius: 3px;
     
    19511951    left: auto;
    19521952    right:23px;
    1953     min-width:650px;
     1953    min-width:850px;
    19541954    padding: 15px;
    19551955    min-height: 500px;
  • lara-google-analytics/trunk/dist/js/lrgalite-main.js

    r2820580 r2996631  
    100100            else if (this.options.middleIconName.indexOf('fal') === 0) {fweight = 300;}
    101101            else if (this.options.middleIconName.indexOf('far') === 0) {fweight = 400;}
    102            
     102           
    103103            this.chart.ctx.fillStyle = this.options.middleIconColor;
    104104            this.chart.ctx.font = fweight + ' 80px "'+this.options.middleIconType+'"';
  • lara-google-analytics/trunk/dist/plugins/chartjs/Chart.min.js

    r2346774 r2996631  
    3131            else if (this.options.middleIconName.indexOf('fal') === 0) {fweight = 300;}
    3232            else if (this.options.middleIconName.indexOf('far') === 0) {fweight = 400;}
    33            
     33           
     34#ifdef WHMCS_BUILD           
     35            if (this.options.middleIconType == "Font Awesome 5 Free"){this.options.middleIconType = "Font Awesome 5 Pro";}
     36#endif         
    3437            this.chart.ctx.fillStyle = this.options.middleIconColor;
    3538            this.chart.ctx.font = fweight + ' 80px "'+this.options.middleIconType+'"';
  • lara-google-analytics/trunk/dist/plugins/minicolors/jquery.minicolors.css

    r2346774 r2996631  
    44
    55.minicolors-sprite {
    6   background-image: url(../plugins/minicolors/jquery.minicolors.png);
     6  background-image: url(../img/jquery.minicolors.png);
    77}
    88
  • lara-google-analytics/trunk/lara-google-analytics.php

    r2820580 r2996631  
    55Plugin URI: https://www.xtraorbit.com/wordpress-google-analytics-dashboard-widget/
    66Description: Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics (GA4) tracking code to your pages.
    7 Version: 4.0.1
     7Version: 4.0.3
    88Author: XtraOrbit Web Development SRL
    99Author URI: https://www.xtraorbit.com/
     
    1616    die("This file cannot be accessed directly");
    1717
    18 define ("lrgawidget_plugin_version", "4.0.1");
     18define ("lrgawidget_plugin_version", "4.0.3");
    1919define ("lrgawidget_plugin_prefiex", "lrgalite-");
    20 define ("lrgawidget_plugin_scripts_version", "401");
     20define ("lrgawidget_plugin_scripts_version", "403");
    2121define ("lrgawidget_plugin_dir", dirname(__FILE__ ) . DIRECTORY_SEPARATOR);
    2222define ("lrgawidget_plugin_dir_url", plugin_dir_url( __FILE__ ));
  • lara-google-analytics/trunk/readme.txt

    r2942039 r2996631  
    44Requires PHP: 5.6.0
    55Requires at least: 4.7.0
    6 Tested up to: 6.3.0
    7 Stable tag: 4.0.1
     6Tested up to: 6.5.0
     7Stable tag: 4.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282
    8383== Changelog ==
     84= 4.0.3 =
     85* 15-Nov-2023
     86* Fix : Several small tweaks.
     87
    8488= 4.0.1 =
    8589* 18-Nov-2022
  • lara-google-analytics/trunk/widgets/lrgawidget.php

    r2820580 r2996631  
    106106            <span id="lrgawidget_reportrange"></span>
    107107        </button>
    108         <span id="lrgawidget_remove"><i class="fas fa-times"></i></span>
     108        <span id="lrgawidget_remove" data-lrwidgetools="remove"><i class="fas fa-times"></i></span>
    109109    </div>
    110110  </div>
     
    371371$lock_settings = DataStore::database_get("settings","lock_settings");
    372372
    373 $traching_enabled = "";
     373$tracking_enabled = "";
    374374$enable_ga4_tracking = DataStore::database_get("settings","enable_ga4_tracking");
    375375if ($enable_ga4_tracking !== "off"){
    376     $traching_enabled = "checked";
     376    $tracking_enabled = "checked";
    377377}
    378378
     
    386386
    387387                                        <div class="lrgawidget-settings-checkbox">
    388                                                 <input name="enable_ga4_tracking" id="enable_ga4_tracking" <?php echo $traching_enabled ?> type="checkbox" value="on">
     388                                                <input name="enable_ga4_tracking" id="enable_ga4_tracking" <?php echo $tracking_enabled ?> type="checkbox" value="on">
    389389                                                <label for="enable_ga4_tracking"><?php _e('Add <b>Google Analytics GA4</b> tracking code to all pages.', 'lara-google-analytics'); ?></label>
    390390                                        </div>
     
    428428                                            <div id="ga4-notfound-answer" class="alert" style="background-color: #eef7fb; margin-top:5px;">
    429429                                                <p><b><?php _e('Cannot find your Google Universal Analytics property ?', 'lara-google-analytics'); ?></b></p>
    430                                                 <p><?php _e('Google will will stop processing data for Universal Analytics properties on July 1, 2023, so it is time to upgrade to the new GA4 properties.', 'lara-google-analytics'); ?></p>
     430                                                <p><?php _e('Google will stop processing data for Universal Analytics properties on July 1, 2023, so it is time to upgrade to the new GA4 properties.', 'lara-google-analytics'); ?></p>
    431431                                                <p><b><?php _e('Upgrading to <b>Google Analytics 4</b> :', 'lara-google-analytics'); ?></b></p>
    432432                                                <span style="margin-top:10px;">
Note: See TracChangeset for help on using the changeset viewer.