Plugin Directory

Changeset 741101


Ignore:
Timestamp:
07/15/2013 03:36:32 PM (13 years ago)
Author:
websitezcom
Message:

tagging version 1.7.9

Location:
wp-mobile-detector
Files:
3 edited
5 copied

Legend:

Unmodified
Added
Removed
  • wp-mobile-detector/tags/1.7.9/functions.php

    r728512 r741101  
    418418    global $wpdb,$table_prefix,$websitez_free_version;
    419419    $table = $table_prefix."options";
    420     $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
    421     if($monetization == "false"){
    422         $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
    423         $date = date("Y-m-d H:i:s", $time);
    424         $current = date("Y-m-d H:i:s");
    425         if($current >= $date):
    426             if($_GET['page'] != "websitez_monetization"):
     420    if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"):
     421        $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
     422        if($monetization == "false"){
     423            $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
     424            $date = date("Y-m-d H:i:s", $time);
     425            $current = date("Y-m-d H:i:s");
     426            if($current >= $date):
    427427                add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p><strong><a href=\"admin.php?page=websitez_monetization\">".WEBSITEZ_PLUGIN_NAME." Monetization is disabled!</a></strong> You can <a href=\"admin.php?page=websitez_monetization&monetization=true\">enable monetization</a> or <a href=\"admin.php?page=websitez_monetization&hide=true\">hide</a> this message.</p></div>';" ) );
    428428            endif;
     
    455455        /* ad */
    456456        //http_build_query($_SERVER)
    457         $ad_html = websitez_remote_request("http://173.208.150.202/~adserver/php/ad.php?token=".$domain_token,http_build_query($_SERVER));
     457        $ad_html = websitez_remote_request("http://adserver.websitez.com/php/ad.php?token=".$domain_token,http_build_query($_SERVER));
    458458        if(strlen($ad_html) > 11):
    459459                $div_a = $dom->createCDATASection($ad_html);
  • wp-mobile-detector/tags/1.7.9/readme.txt

    r728512 r741101  
    55Requires at least: 2.7
    66Tested up to: 3.5.1
    7 Stable tag: 1.7.8
     7Stable tag: 1.7.9
    88
    99The WP Mobile Detector automatically detects over 5,000 mobile devices and displays a compatible mobile theme.
     
    7070
    7171== Changelog ==
     72
     73= 1.7.9 =
     74+ Fixing administration area messages
    7275
    7376= 1.7.8 =
  • wp-mobile-detector/tags/1.7.9/websitez-wp-mobile-detector.php

    r728512 r741101  
    55 Description: The WP Mobile Detector wordpress plugin automatically detects if the visitor is using a standard mobile phone or a smart phone and loads a compatible wordpress mobile theme for each. This plugin is one of the first to differentiate between a standard mobile phone and a smart phone. With advanced mobile statistics, image resizing, automatically formatted content, and detection of 5,000+ mobile phones, the WP Mobile Detector gives your mobile visitors the experience they desire.
    66
    7  Version: 1.7.8
     7 Version: 1.7.9
    88 Author: Websitez.com
    99 Author URI: http://www.websitez.com
  • wp-mobile-detector/trunk/functions.php

    r728512 r741101  
    418418    global $wpdb,$table_prefix,$websitez_free_version;
    419419    $table = $table_prefix."options";
    420     $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
    421     if($monetization == "false"){
    422         $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
    423         $date = date("Y-m-d H:i:s", $time);
    424         $current = date("Y-m-d H:i:s");
    425         if($current >= $date):
    426             if($_GET['page'] != "websitez_monetization"):
     420    if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"):
     421        $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
     422        if($monetization == "false"){
     423            $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
     424            $date = date("Y-m-d H:i:s", $time);
     425            $current = date("Y-m-d H:i:s");
     426            if($current >= $date):
    427427                add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p><strong><a href=\"admin.php?page=websitez_monetization\">".WEBSITEZ_PLUGIN_NAME." Monetization is disabled!</a></strong> You can <a href=\"admin.php?page=websitez_monetization&monetization=true\">enable monetization</a> or <a href=\"admin.php?page=websitez_monetization&hide=true\">hide</a> this message.</p></div>';" ) );
    428428            endif;
     
    455455        /* ad */
    456456        //http_build_query($_SERVER)
    457         $ad_html = websitez_remote_request("http://173.208.150.202/~adserver/php/ad.php?token=".$domain_token,http_build_query($_SERVER));
     457        $ad_html = websitez_remote_request("http://adserver.websitez.com/php/ad.php?token=".$domain_token,http_build_query($_SERVER));
    458458        if(strlen($ad_html) > 11):
    459459                $div_a = $dom->createCDATASection($ad_html);
  • wp-mobile-detector/trunk/readme.txt

    r728512 r741101  
    55Requires at least: 2.7
    66Tested up to: 3.5.1
    7 Stable tag: 1.7.8
     7Stable tag: 1.7.9
    88
    99The WP Mobile Detector automatically detects over 5,000 mobile devices and displays a compatible mobile theme.
     
    7070
    7171== Changelog ==
     72
     73= 1.7.9 =
     74+ Fixing administration area messages
    7275
    7376= 1.7.8 =
  • wp-mobile-detector/trunk/websitez-wp-mobile-detector.php

    r728512 r741101  
    55 Description: The WP Mobile Detector wordpress plugin automatically detects if the visitor is using a standard mobile phone or a smart phone and loads a compatible wordpress mobile theme for each. This plugin is one of the first to differentiate between a standard mobile phone and a smart phone. With advanced mobile statistics, image resizing, automatically formatted content, and detection of 5,000+ mobile phones, the WP Mobile Detector gives your mobile visitors the experience they desire.
    66
    7  Version: 1.7.8
     7 Version: 1.7.9
    88 Author: Websitez.com
    99 Author URI: http://www.websitez.com
Note: See TracChangeset for help on using the changeset viewer.