Plugin Directory

Changeset 2052803


Ignore:
Timestamp:
03/18/2019 04:40:59 PM (7 years ago)
Author:
blacklodgegames
Message:

2.0.1

  • Added: Created a new tab called Diagnostics, which provides a way for people with a problem to give us the info we need to solve their support requests
Location:
indiedev-game-marketer
Files:
98 added
5 edited

Legend:

Unmodified
Added
Removed
  • indiedev-game-marketer/trunk/README.txt

    r2049309 r2052803  
    44Tags: game,games,indiedev,gamedev,development,marketing,steam,promo,promotion,press,presskit,press kit,gutenberg
    55Requires at least: 5.0.0
    6 Tested up to: 5.1.0
    7 Stable tag: 2.0.0
     6Tested up to: 5.1.1
     7Stable tag: 2.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828*   i18n compatible for translations to different languages.
    2929
    30 Are you an indie game developer, publisher, or marketer who is using Wordpress? Let me how I can help make this a better tool!  I know that making a good game is hard, but making a good marketing campaign is even harder. It is my hope that this plugin will help developers more effectively market their games, without increasing the cost of marketing.
     30Are you an indie game developer, publisher, or marketer who is using Wordpress? Let me how I can help make this a better tool!
     31
     32I know that making a good game is hard, but making a good marketing campaign can be even harder. It is my hope that this plugin will help developers more effectively market their games, without increasing the cost of marketing.
    3133
    3234== Installation ==
     
    4850
    4951== Changelog ==
     52
     53= 2.0.1 =
     54* Added: Created a new tab called Diagnostics, which provides a way for people with a problem to give us the info we need to solve their support requests
    5055
    5156= 2.0.0 =
  • indiedev-game-marketer/trunk/admin/class-indiedev-game-marketer-admin.php

    r2047832 r2052803  
    580580
    581581        }
     582       
     583        public function Indiedev_Game_Marketer_diagnostics_page() {
     584     echo '<div class="grid_16">';
     585        echo '
     586                <div class="ui-widget">
     587                    <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
     588                        <p>
     589                        <strong>'.__('WARNING','indiedev-game-marketer').':</strong> '.__('Do not post this code in a public place.  The code below contains sensitive information about your site.  Only share this information with parties you trust, such as this plugins developer, your web developers, etc.  The information here may be useful for technicians to diagnose what may be causing an issue that you have.  To view this data, run it through the base64_decode() PHP function ', 'indiedev-game-marketer');
     590                        if(function_exists('gzcompress')) {_e(' followed by the gzuncompress() PHP function', 'indiedev-game-marketer');}
     591                        echo '</p>
     592                    </div>
     593                </div><br />   ';       
     594           
     595            _e('Please email the diagnostic data in the box below to jeff@blacklodgegames.com when seeking support:','indiedev-game-marketer');
     596            echo '<br /><br /><a href="" onclick="jQuery(\'#wpsc-diag\').select();return false;">';_e('Select All...', 'wpstorecart'); echo '</a><br />';
     597            echo '<textarea readonly="readonly" id="wpsc-diag" onclick="jQuery(\'#wpsc-diag\').select();return false;" onfocus="jQuery(\'#wpsc-diag\').select();return false;" style="border:1px solid #666;width:100%;height:180px;overflow:scroll;margin-bottom:20px;">';
     598            $output = '<pre>';
     599            $output .= "===== Indiedev_Game_Marketer settings =====
     600            ";
     601            if (function_exists('get_defined_vars')) {
     602                $arr = @get_defined_vars();
     603                foreach ($arr as $key=>$value){
     604                    $output .= $key ." => ". $value ."
     605    ";
     606                    if(is_array($value)) {
     607                        $output .= print_r($value, true);
     608                    }
     609                }
     610            } else {
     611                $output .= 'get_defined_vars() PHP function disabled, cannot determine values
     612';
     613            }
     614            $output .= "===== php.ini settings =====
     615";
     616            if (function_exists('ini_get_all')) {
     617                $output .= @print_r(ini_get_all(), true);
     618            } else {
     619                $output .= 'ini_get_all() PHP function disabled, cannot determine values
     620';
     621            }
     622            $output .= "===== your local settings =====
     623";
     624            if (function_exists('php_uname')) {
     625                $output .= "Your OS: ".php_uname()."
     626";
     627            } else {
     628                $output .= 'php_uname() PHP function disabled, cannot determine values
     629';
     630            }
     631            $output .= "===== apache modules =====
     632";
     633            if (function_exists('apache_get_modules')) {
     634                $output .= @print_r(apache_get_modules(), true);
     635            } else {
     636                $output .= 'apache_get_modules() PHP function disabled, cannot determine values
     637';
     638            }
     639            $output .= "===== php version=====
     640";
     641            if (function_exists('phpversion')) {
     642                $output .= "PHP version: ".phpversion(). "
     643";
     644            } else {
     645                $output .= 'phpversion() PHP function disabled, cannot determine values
     646';
     647            }
     648            $output .= "===== stream wrappers =====
     649";
     650            if (function_exists('stream_get_wrappers')) {
     651                $output .= @print_r(stream_get_wrappers(), true);
     652            } else {
     653                $output .= 'stream_get_wrappers() PHP function disabled, cannot determine values
     654';
     655            }
     656            $output .= "===== stream transports =====
     657";
     658            if (function_exists('stream_get_transports')) {
     659                $output .= @print_r(stream_get_transports(), true);
     660            } else {
     661                $output .= 'stream_get_transports() PHP function disabled, cannot determine values
     662';
     663            }
     664            $output .= "===== stream filters =====
     665";
     666            if (function_exists('stream_get_filters')) {
     667                $output .= @print_r(stream_get_filters(), true);
     668            } else {
     669                $output .= 'stream_get_filters() PHP function disabled, cannot determine values
     670';
     671            }
     672            $output .= '===== Wordpress and Global settings =====
     673---- Wordpress Plugins';
     674$files1 = scandir(WP_PLUGIN_DIR.'/');           
     675$output .= @print_r($files1, true).'
     676---- Wordpress Themes';
     677$files2 = scandir(WP_CONTENT_DIR.'/themes/');           
     678$output .= @print_r($files2, true);
     679$output .= '$_SERVER =';
     680           
     681            $output .= @print_r($_SERVER, true).'
     682---- $_GET =
     683';
     684            $output .= @print_r($_GET, true).'
     685---- $_POST =
     686';
     687            $output .= @print_r($_POST, true).'
     688---- $_SESSION =
     689';
     690            $output .= @print_r($_SESSION, true).'
     691---- $_ENV =
     692';
     693            $output .= @print_r($_ENV, true).'
     694---- $_COOKIE =
     695';
     696            $output .= @print_r($_COOKIE, true).'
     697';
     698            $output .='</pre>';
     699            if (function_exists('base64_encode')) {
     700                if(function_exists('gzcompress')) {
     701                    echo @base64_encode(gzcompress($output,9));
     702                } else {
     703                    echo @base64_encode($output);
     704                }
     705            } else {
     706                echo $output.'
     707                base64_encode() PHP function disabled, could not use base64_encode on data';
     708            }
     709            echo '</textarea>';       
     710        echo '</div>';         
     711        }
    582712       
    583713        public function Indiedev_Game_Marketer_games_page(  ) { ?>
  • indiedev-game-marketer/trunk/admin/partials/indiedev-game-marketer-admin-display.php

    r2047832 r2052803  
    5353      <a class="nav-tab" href="#tab-social" data-tab-index="5"><?php _e('Social', $this->plugin_name); ?></a>
    5454      <a class="nav-tab" href="#tab-more" data-tab-index="6"><?php _e('More', $this->plugin_name); ?>...</a>
     55      <a class="nav-tab" href="#tab-debug" data-tab-index="7"><?php _e('Diagnostics', $this->plugin_name); ?></a>
    5556     
    5657    </h2>
     
    9091            <?php $this->Indiedev_Game_Marketer_more_page(); ?>
    9192            </div>
    92         </section>     
     93        </section> 
     94       
     95        <section id="tab-debug">
     96            <div class="idgm-left">
     97            <h1><strong> &rarr; <?php _e('Diagnostics', $this->plugin_name); ?> &larr; </strong></h1>
     98            <?php $this->Indiedev_Game_Marketer_diagnostics_page(); ?>
     99            </div>
     100        </section>           
     101           
    93102    </div>
    94103           
  • indiedev-game-marketer/trunk/indiedev-game-marketer.php

    r2047832 r2052803  
    1717 * Plugin URI:        https://blacklodgegames.com/indiedev-game-marketer-wp-plugin-for-wordpress/
    1818 * Description:       Promote indie games for all platforms using the power & familiarity of Wordpress.
    19  * Version:           2.0.0
     19 * Version:           2.0.1
    2020 * Author:            BLACK LODGE GAMES, LLC
    2121 * Author URI:        https://blacklodgegames.com
  • indiedev-game-marketer/trunk/public/class-indiedev-game-marketer-public.php

    r2047832 r2052803  
    740740                $returned_string_var .= $this->prepare_option_for_display('Indiedev_Game_Marketer_text_company_youtube', $shortcode_attributes['style'], $shortcode_attributes['label']);
    741741                $returned_string_var .= $this->prepare_option_for_display('Indiedev_Game_Marketer_text_company_pr_phone', $shortcode_attributes['style'], $shortcode_attributes['label']);
    742             } elseif (strtolower($shortcode_attributes['display']) == 'name' && @!isset($shortcode_attributes['game']) ) {
     742            } elseif (strtolower($shortcode_attributes['display']) == 'name' && $shortcode_attributes['game'] != 0 ) {
    743743                if (strtolower($shortcode_attributes['style']) == 'ul' ) {
    744744                    $shortcode_attributes['style'] = 'none'; // ul is the default, but since by default we don't want single values in it's own ul, it is disabled here
Note: See TracChangeset for help on using the changeset viewer.