WordPress.org

Plugin Directory

Changeset 608551


Ignore:
Timestamp:
10/05/12 14:59:14 (5 years ago)
Author:
cybersprocket
Message:

v2.1.6

Location:
moneypress-ebay-edition-r2
Files:
11 added
3 edited
28 copied

Legend:

Unmodified
Added
Removed
  • moneypress-ebay-edition-r2/tags/2.1.6/Panhandler/Drivers/eBay.php

    r608192 r608551  
    4646        'min_price', 
    4747        'max_price', 
    48         'money_prefix', 
    4948        'search_description', 
    5049        'sellers', 
    51         'show_bin_price', 
    5250        'sort_order', 
    5351    ); 
     
    9997     */ 
    10098    private $sort_order = null; 
    101  
    102     private $money_prefix = '$';        // Character to prefix money output 
    103     private $show_bin_price = false;    // Show the BIN price next to the BIN flag 
    10499 
    105100    //// CONSTRUCTOR /////////////////////////////////////////// 
     
    126121            $this->$name = $value; 
    127122        } 
    128  
    129  
    130         // Add filters and hooks 
    131         // 
    132         if ($this->pro_pack_enabled) { 
    133             add_filter($this->prefix.'_money_prefix',array($this,'money_prefix_filter')); 
    134         } 
    135     } 
    136  
    137  
    138     /** 
    139      * Change the money prefix in wpCSL default to whatever the user picked. 
    140      * 
    141      * @param string $prefix 
    142      * @return string 
    143      */ 
    144     function money_prefix_filter($prefix='') { 
    145         return $this->money_prefix; 
    146     } 
    147  
     123    } 
    148124 
    149125    //// INTERFACE METHODS ///////////////////////////////////// 
     
    244220 
    245221        /*---------------------------- 
    246          * Pro Pack Options 
     222         * Plus Pack Options 
    247223         */ 
    248         if ($this->pro_pack_enabled) { 
     224        if ($this->plus_pack_enabled) { 
    249225            if (isset($this->search_description)){ 
    250226                $options['descriptionSearch'] = $this->search_description; 
     
    299275 
    300276        /*---------------------------- 
    301          * Pro Pack Options 
     277         * Plus Pack Options 
    302278         */ 
    303         if ($this->pro_pack_enabled) { 
     279        if ($this->plus_pack_enabled) { 
    304280            if (isset($this->min_price) && ($this->min_price > 0)) { 
    305281                $options[sprintf('itemFilter(%d).name',$filterCount)] = 'MinPrice'; 
     
    370346        // Standard Description 
    371347        // 
    372         $binYesStr = 'Yes' . 
    373                       (($this->pro_pack_enabled && $this->show_bin_price) ? 
    374                         ' '. $this->money_prefix . (string) $item->listingInfo->buyItNowPrice : 
    375                         '' 
    376                       ) 
    377                 ; 
    378         $theDesc .= $this->FormatListEntry('Buy It Now', 
    379                             ((string) $item->listingInfo->buyItNowAvailable === 'true') ? 
    380                                 $binYesStr : 
    381                                 'No' 
    382                             ); 
     348        $theDesc .= $this->FormatListEntry('Buy It Now',((string) $item->listingInfo->buyItNowAvailable === 'true') ? 'Yes' : 'No'); 
    383349        $theDesc .= $this->FormatListEntry('Number of Bids',(string) ($item->listingInfo->bidCount > 0) ? $item->listingInfo->bidCount : '0'); 
    384350 
     351 
    385352        /*---------------------------- 
    386          * Pro Pack Options 
     353         * Plus Pack Options 
    387354         */ 
    388         if ($this->pro_pack_enabled  && isset($this->detailed_listings) && $this->detailed_listings) { 
     355        if ($this->plus_pack_enabled  && isset($this->detailed_listings) && $this->detailed_listings) { 
    389356            $theDesc .= $this->FormatListEntry('Item ID',(string) $item->itemId); 
    390357            $theDesc .= $this->FormatListEntry('Returns Allowed: ',((string) $item->listingInfo->returnsAccepted === 'true') ? 'Yes' : 'No'); 
     
    392359 
    393360        $theDesc .= '</div><div class="csl_themes-row"></div>'; 
    394  
    395         //$theDesc .= '<pre>' . print_r($item,true) . '</pre>'; 
    396361 
    397362        // $theDesc .= '<pre>' . print_r($item,true) . '</pre>'; 
  • moneypress-ebay-edition-r2/tags/2.1.6/mp-ebay.php

    r608192 r608551  
    44  Plugin URI: http://www.charlestonsw.com/product/moneypress-ebay-edition/ 
    55  Description: This plugin allows you to display eBay listings on your web site by placing a simple shortcode in your page or post. 
    6   Version: 2.1.5 
     6  Version: 2.1.6 
    77  Author: Charleston Software Associates 
    88  Author URI: http://www.charlestonsw.com 
  • moneypress-ebay-edition-r2/tags/2.1.6/readme.txt

    r608192 r608551  
    66Requires at least: 3.1 
    77Tested up to: 3.4.2 
    8 Stable tag: 2.1.5 
     8Stable tag: 2.1.6 
    99 
    1010This plugin allows you to display eBay listings on your web site by placing a simple shortcode in your page or post. Filter results by keyword, seller ID, or a combination of both. 
     
    9494== Changelog == 
    9595 
     96= v2.1.6 (October 2012) =  
     97 
     98* v2.1.5 did not update on plugin directory properly (again) same as 2.1.5 
     99 
    96100= v2.1.5 (October 2012) = 
    97101 
  • moneypress-ebay-edition-r2/trunk/Panhandler/Drivers/eBay.php

    r608192 r608551  
    4646        'min_price', 
    4747        'max_price', 
    48         'money_prefix', 
    4948        'search_description', 
    5049        'sellers', 
    51         'show_bin_price', 
    5250        'sort_order', 
    5351    ); 
     
    9997     */ 
    10098    private $sort_order = null; 
    101  
    102     private $money_prefix = '$';        // Character to prefix money output 
    103     private $show_bin_price = false;    // Show the BIN price next to the BIN flag 
    10499 
    105100    //// CONSTRUCTOR /////////////////////////////////////////// 
     
    126121            $this->$name = $value; 
    127122        } 
    128  
    129  
    130         // Add filters and hooks 
    131         // 
    132         if ($this->pro_pack_enabled) { 
    133             add_filter($this->prefix.'_money_prefix',array($this,'money_prefix_filter')); 
    134         } 
    135     } 
    136  
    137  
    138     /** 
    139      * Change the money prefix in wpCSL default to whatever the user picked. 
    140      * 
    141      * @param string $prefix 
    142      * @return string 
    143      */ 
    144     function money_prefix_filter($prefix='') { 
    145         return $this->money_prefix; 
    146     } 
    147  
     123    } 
    148124 
    149125    //// INTERFACE METHODS ///////////////////////////////////// 
     
    244220 
    245221        /*---------------------------- 
    246          * Pro Pack Options 
     222         * Plus Pack Options 
    247223         */ 
    248         if ($this->pro_pack_enabled) { 
     224        if ($this->plus_pack_enabled) { 
    249225            if (isset($this->search_description)){ 
    250226                $options['descriptionSearch'] = $this->search_description; 
     
    299275 
    300276        /*---------------------------- 
    301          * Pro Pack Options 
     277         * Plus Pack Options 
    302278         */ 
    303         if ($this->pro_pack_enabled) { 
     279        if ($this->plus_pack_enabled) { 
    304280            if (isset($this->min_price) && ($this->min_price > 0)) { 
    305281                $options[sprintf('itemFilter(%d).name',$filterCount)] = 'MinPrice'; 
     
    370346        // Standard Description 
    371347        // 
    372         $binYesStr = 'Yes' . 
    373                       (($this->pro_pack_enabled && $this->show_bin_price) ? 
    374                         ' '. $this->money_prefix . (string) $item->listingInfo->buyItNowPrice : 
    375                         '' 
    376                       ) 
    377                 ; 
    378         $theDesc .= $this->FormatListEntry('Buy It Now', 
    379                             ((string) $item->listingInfo->buyItNowAvailable === 'true') ? 
    380                                 $binYesStr : 
    381                                 'No' 
    382                             ); 
     348        $theDesc .= $this->FormatListEntry('Buy It Now',((string) $item->listingInfo->buyItNowAvailable === 'true') ? 'Yes' : 'No'); 
    383349        $theDesc .= $this->FormatListEntry('Number of Bids',(string) ($item->listingInfo->bidCount > 0) ? $item->listingInfo->bidCount : '0'); 
    384350 
     351 
    385352        /*---------------------------- 
    386          * Pro Pack Options 
     353         * Plus Pack Options 
    387354         */ 
    388         if ($this->pro_pack_enabled  && isset($this->detailed_listings) && $this->detailed_listings) { 
     355        if ($this->plus_pack_enabled  && isset($this->detailed_listings) && $this->detailed_listings) { 
    389356            $theDesc .= $this->FormatListEntry('Item ID',(string) $item->itemId); 
    390357            $theDesc .= $this->FormatListEntry('Returns Allowed: ',((string) $item->listingInfo->returnsAccepted === 'true') ? 'Yes' : 'No'); 
     
    392359 
    393360        $theDesc .= '</div><div class="csl_themes-row"></div>'; 
    394  
    395         //$theDesc .= '<pre>' . print_r($item,true) . '</pre>'; 
    396361 
    397362        // $theDesc .= '<pre>' . print_r($item,true) . '</pre>'; 
  • moneypress-ebay-edition-r2/trunk/mp-ebay.php

    r608192 r608551  
    44  Plugin URI: http://www.charlestonsw.com/product/moneypress-ebay-edition/ 
    55  Description: This plugin allows you to display eBay listings on your web site by placing a simple shortcode in your page or post. 
    6   Version: 2.1.5 
     6  Version: 2.1.6 
    77  Author: Charleston Software Associates 
    88  Author URI: http://www.charlestonsw.com 
  • moneypress-ebay-edition-r2/trunk/readme.txt

    r608192 r608551  
    66Requires at least: 3.1 
    77Tested up to: 3.4.2 
    8 Stable tag: 2.1.5 
     8Stable tag: 2.1.6 
    99 
    1010This plugin allows you to display eBay listings on your web site by placing a simple shortcode in your page or post. Filter results by keyword, seller ID, or a combination of both. 
     
    9494== Changelog == 
    9595 
     96= v2.1.6 (October 2012) =  
     97 
     98* v2.1.5 did not update on plugin directory properly (again) same as 2.1.5 
     99 
    96100= v2.1.5 (October 2012) = 
    97101 
Note: See TracChangeset for help on using the changeset viewer.