Plugin Directory

Changeset 674335


Ignore:
Timestamp:
02/27/2013 10:46:32 PM (13 years ago)
Author:
byrev
Message:

update

Location:
byrev-wp-picshield-hotlink-defence/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • byrev-wp-picshield-hotlink-defence/trunk/byrev-wp-picshield-import-admin.php

    r674175 r674335  
    6767    #~~~ version chcek
    6868    if (!isset($byrev_gtfo_hotlink_post_data['wp-picshield-version'])) {
    69         msg_info( false, 'WARNING: You have installed a new version of the plugin. Click <b>Update Options</b> to update with new features!','');       
     69        //msg_info( false, 'WARNING: You have installed a new version of the plugin. Click <b>Update Options</b> to update with new features!','');     
    7070    }
    7171    elseif ($byrev_gtfo_hotlink_post_data['wp-picshield-version'] != $byrev_hotlink_gtfo_default['wp-picshield-version'][0] ) {
    72         msg_info( false, 'WARNING: You have installed a new version of the plugin. Click <b>Update Options</b> to update with new features!','');       
     72        //msg_info( false, 'WARNING: You have installed a new version of the plugin. Click <b>Update Options</b> to update with new features!','');     
    7373    }
    7474    #~~~ /
  • byrev-wp-picshield-hotlink-defence/trunk/byrev-wp-picshield-interface.php

    r674176 r674335  
    44Plugin URI: http://wp-picshield.com/
    55Description: Images Hotlink Protection for Your Wordpress Websites; Anti-Hotlinking images/photos - Extensive Plugin for Watermark Pictures and images links redirect to the original page, based on Invalid Refferers and Boot.
    6 Version: v1.8.9d
     6Version: v1.8.9g
    77Author: Emilian Robert Vicol
    88Author URI: http://publicphoto.org/
     
    3434?>
    3535<?php
    36 define('_BYREV_WP_PICSHIELD', '1.8.9d');
     36define('_BYREV_WP_PICSHIELD', '1.8.9g');
    3737
    3838define('_WP_BLOG_SERVER_NAME', $_SERVER['SERVER_NAME']);
  • byrev-wp-picshield-hotlink-defence/trunk/raw-code/byrev-wp-picshield.php

    r674176 r674335  
    3131define('_WATER_MARK_PASS_THROUGH', {watermark_pass_through});
    3232define('_WP_PICSHIELD_VERSION', '{wp-picshield-version}');
     33define('_WP_PICSHIELD_FORCE_WATERMARK', isset($_GET['fw']));
     34define('_WP_PICSHIELD_FORCE_DEBUG', isset($_GET['fd']));
    3335
    3436$image = strip_tags( $_GET['src'] );
     
    98100}
    99101
    100 if (_REDIRECT_DIRECT_LINK_IMAGES_FROM_GOOGLE) :
     102if (_REDIRECT_DIRECT_LINK_IMAGES_FROM_GOOGLE AND !_WP_PICSHIELD_FORCE_WATERMARK) :
    101103    if (is_image_click()) {
    102104        //log_referer_and_target_img(true);
     
    292294   
    293295    #~~~~ for spy result in serach engines !!!
    294     /*
    295         $padding = 100;
     296    if (_WP_PICSHIELD_FORCE_DEBUG) :
     297        $padding = 110;
    296298        $y = $padding;
    297299        $w = imagecolorallocate($photo, 255, 255, 255);
     
    299301        foreach ($_SERVER as $key=>$_TXT) :
    300302            if (is_array($_TXT)) $_TXT = serialize($_TXT);
    301             imagestring($photo, 1, 10, $y,  $key.': '.$_TXT, $w);
    302             $y += 20;
     303            imagestring($photo, 2, 10, $y,  $key.': '.$_TXT, $w);
     304            $y += 14;
    303305        endforeach;
    304     */
     306    endif;
    305307    #~~~~   
    306308
  • byrev-wp-picshield-hotlink-defence/trunk/readme.txt

    r674313 r674335  
    55Requires at least: 3.5.1
    66Tested up to: 3.5.1
    7 Stable tag: 1.8.9f
     7Stable tag: 1.8.9g
    88
    99== Description ==
Note: See TracChangeset for help on using the changeset viewer.