WordPress.org

Plugin Directory

Changeset 491497


Ignore:
Timestamp:
01/18/12 02:44:47 (2 years ago)
Author:
bkmacdaddy
Message:

tagging version 1.2.3

Location:
pinterest-rss-widget
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pinterest-rss-widget/tags/1.2.3/pinterest-rss-widget.php

    r491165 r491497  
    55Description: Display up to 90 of your latest Pinterest Pins in your sidebar. 
    66Author: bkmacdaddy designs 
    7 Version: 1.2.2 
     7Version: 1.2.3 
    88Author URI: http://bkmacdaddy.com/ 
    99 
     
    5555                // Build an array of all the items, starting with element 0 (first element). 
    5656                $rss_items = $rss->get_items(0,$maxitems); 
     57                 
     58                if($thumbwidth  
    5759 
    5860                ?> 
     
    138140    if ( empty( $useenclosures ) ) { $useenclosures = 'yes'; }; 
    139141 
     142    if ( empty( $thumb_width ) ) { $thumb_width = '150'; }; 
     143 
     144    if ( empty( $thumb_height ) ) { $thumb_height = '150'; }; 
     145 
    140146    if ( empty( $showfollow ) ) { $showfollow = 'yes'; }; 
    141147 
    142148    if ( !empty( $user_name ) ) { 
    143149 
    144       get_pins_feed_list($user_name, $maxnumber, 'small', $displaytitle, $target, $useenclosures, $thumb_width, $thumb_width, $showfollow); ?> 
     150      get_pins_feed_list($user_name, $maxnumber, 'small', $displaytitle, $target, $useenclosures, $thumb_width, $thumb_height, $showfollow); ?> 
    145151 
    146152                <div style="clear:both;"></div> 
     
    184190      <p><label for="<?php echo $this->get_field_id('maxnumber'); ?>">Max number of pins to display: <input class="widefat" id="<?php echo $this->get_field_id('maxnumber'); ?>" name="<?php echo $this->get_field_name('maxnumber'); ?>" type="text" value="<?php echo attribute_escape($maxnumber); ?>" /></label></p> 
    185191       
    186       <p><label for="<?php echo $this->get_field_id('thumb_height'); ?>">Thumbnail Height (defaults to 150px): <input class="widefat" id="<?php echo $this->get_field_id('thumb_height'); ?>" name="<?php echo $this->get_field_name('thumb_height'); ?>" type="text" value="<?php echo attribute_escape($thumb_height); ?>" /></label></p> 
     192      <p><label for="<?php echo $this->get_field_id('thumb_height'); ?>">Thumbnail Height in pixels (defaults to 150): <input class="widefat" id="<?php echo $this->get_field_id('thumb_height'); ?>" name="<?php echo $this->get_field_name('thumb_height'); ?>" type="text" value="<?php echo attribute_escape($thumb_height); ?>" /></label></p> 
    187193       
    188       <p><label for="<?php echo $this->get_field_id('thumb_width'); ?>">Thumbnail Width (defaults to 150px): <input class="widefat" id="<?php echo $this->get_field_id('thumb_width'); ?>" name="<?php echo $this->get_field_name('thumb_width'); ?>" type="text" value="<?php echo attribute_escape($thumb_width); ?>" /></label></p> 
     194      <p><label for="<?php echo $this->get_field_id('thumb_width'); ?>">Thumbnail Width in pixels (defaults to 150): <input class="widefat" id="<?php echo $this->get_field_id('thumb_width'); ?>" name="<?php echo $this->get_field_name('thumb_width'); ?>" type="text" value="<?php echo attribute_escape($thumb_width); ?>" /></label></p> 
    189195 
    190196      <p><label for="<?php echo $this->get_field_id('target'); ?>">Where to open the links: <select id="<?php echo $this->get_field_id('target'); ?>" name="<?php echo $this->get_field_name('target'); ?>"> 
     
    243249add_action( 'widgets_init', create_function('', 'return register_widget("Pinterest_RSS_Widget");') ); 
    244250 
     251add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a', 'return 600;') ); 
     252 
    245253?> 
  • pinterest-rss-widget/tags/1.2.3/readme.txt

    r491165 r491497  
    11=== Pinterest RSS Widget === 
    2 Contributors: bkmacdaddy 
     2Contributors: bkmacdaddy, AidaofNubia, thewebprincess 
    33Donate link: None! Keep your money for important things! 
    44Tags: Pinterest, rss, feed, widget 
     
    4747`<?php get_pins_feed_list('bkmacdaddy', 10, 'myList', 1, 'newwindow', 'yes', 125, 125, 'yes'); ?>`  
    4848 
     49= The images are not showing. What went wrong? = 
     50 
     51There are so many variables that are related to hosting servers and such that it's impossible to provide all of the possible answers. However, images not showing is most likely a problem with the timthumb image resizing script. Here are some possible solutions: 
     52 
     53* TimThumb requires the GD library, which is available on any host sever with PHP 4.3+ installed. Make sure your host has this installed (most do). 
     54* Once installed and in-use, TimThumb will automatically create a /cache/ subfolder with proper write-permissions. If your host server doesn't allow this by default, be sure to manually create the /cache/ folder within the pinterest-rss-widget directory and set the /cache/ folder permissions to 755. If this still doesn't work, try setting the /cache/ folder permissions to 777. 
     55* Known issue with timthumb.php on **Hostgator**: If your website is hosted on Hostgator, you may need to contact HostGator to request "mod_security whitelisting". More info here: http://support.hostgator.com/articles/specialized-help/technical/timthumb-basics 
     56 
    4957== Screenshots == 
    5058 
     
    5361 
    5462== Changelog == 
     63 
     64= 1.2.3 = 
     65* Added FAQS based on some troubleshooting 
     66* Added 2 contributors for their testing assistance and suggestions 
     67* Tweaked instructions on the widget settings 
    5568 
    5669= 1.2.2 = 
  • pinterest-rss-widget/tags/1.2.3/timthumb.php

    r490891 r491497  
    124124if(! isset($ALLOWED_SITES)){ 
    125125    $ALLOWED_SITES = array ( 
    126         'flickr.com', 
    127         'pinterest.com', 
    128         'staticflickr.com', 
    129         'picasa.com', 
    130         'img.youtube.com', 
    131         'upload.wikimedia.org', 
    132         'photobucket.com', 
    133         'imgur.com', 
    134         'imageshack.us', 
    135         'tinypic.com', 
     126        'pinterest.com' 
    136127    ); 
    137128} 
  • pinterest-rss-widget/trunk/pinterest-rss-widget.php

    r491165 r491497  
    55Description: Display up to 90 of your latest Pinterest Pins in your sidebar. 
    66Author: bkmacdaddy designs 
    7 Version: 1.2.2 
     7Version: 1.2.3 
    88Author URI: http://bkmacdaddy.com/ 
    99 
     
    5555                // Build an array of all the items, starting with element 0 (first element). 
    5656                $rss_items = $rss->get_items(0,$maxitems); 
     57                 
     58                if($thumbwidth  
    5759 
    5860                ?> 
     
    138140    if ( empty( $useenclosures ) ) { $useenclosures = 'yes'; }; 
    139141 
     142    if ( empty( $thumb_width ) ) { $thumb_width = '150'; }; 
     143 
     144    if ( empty( $thumb_height ) ) { $thumb_height = '150'; }; 
     145 
    140146    if ( empty( $showfollow ) ) { $showfollow = 'yes'; }; 
    141147 
    142148    if ( !empty( $user_name ) ) { 
    143149 
    144       get_pins_feed_list($user_name, $maxnumber, 'small', $displaytitle, $target, $useenclosures, $thumb_width, $thumb_width, $showfollow); ?> 
     150      get_pins_feed_list($user_name, $maxnumber, 'small', $displaytitle, $target, $useenclosures, $thumb_width, $thumb_height, $showfollow); ?> 
    145151 
    146152                <div style="clear:both;"></div> 
     
    184190      <p><label for="<?php echo $this->get_field_id('maxnumber'); ?>">Max number of pins to display: <input class="widefat" id="<?php echo $this->get_field_id('maxnumber'); ?>" name="<?php echo $this->get_field_name('maxnumber'); ?>" type="text" value="<?php echo attribute_escape($maxnumber); ?>" /></label></p> 
    185191       
    186       <p><label for="<?php echo $this->get_field_id('thumb_height'); ?>">Thumbnail Height (defaults to 150px): <input class="widefat" id="<?php echo $this->get_field_id('thumb_height'); ?>" name="<?php echo $this->get_field_name('thumb_height'); ?>" type="text" value="<?php echo attribute_escape($thumb_height); ?>" /></label></p> 
     192      <p><label for="<?php echo $this->get_field_id('thumb_height'); ?>">Thumbnail Height in pixels (defaults to 150): <input class="widefat" id="<?php echo $this->get_field_id('thumb_height'); ?>" name="<?php echo $this->get_field_name('thumb_height'); ?>" type="text" value="<?php echo attribute_escape($thumb_height); ?>" /></label></p> 
    187193       
    188       <p><label for="<?php echo $this->get_field_id('thumb_width'); ?>">Thumbnail Width (defaults to 150px): <input class="widefat" id="<?php echo $this->get_field_id('thumb_width'); ?>" name="<?php echo $this->get_field_name('thumb_width'); ?>" type="text" value="<?php echo attribute_escape($thumb_width); ?>" /></label></p> 
     194      <p><label for="<?php echo $this->get_field_id('thumb_width'); ?>">Thumbnail Width in pixels (defaults to 150): <input class="widefat" id="<?php echo $this->get_field_id('thumb_width'); ?>" name="<?php echo $this->get_field_name('thumb_width'); ?>" type="text" value="<?php echo attribute_escape($thumb_width); ?>" /></label></p> 
    189195 
    190196      <p><label for="<?php echo $this->get_field_id('target'); ?>">Where to open the links: <select id="<?php echo $this->get_field_id('target'); ?>" name="<?php echo $this->get_field_name('target'); ?>"> 
     
    243249add_action( 'widgets_init', create_function('', 'return register_widget("Pinterest_RSS_Widget");') ); 
    244250 
     251add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a', 'return 600;') ); 
     252 
    245253?> 
  • pinterest-rss-widget/trunk/readme.txt

    r491165 r491497  
    11=== Pinterest RSS Widget === 
    2 Contributors: bkmacdaddy 
     2Contributors: bkmacdaddy, AidaofNubia, thewebprincess 
    33Donate link: None! Keep your money for important things! 
    44Tags: Pinterest, rss, feed, widget 
     
    4747`<?php get_pins_feed_list('bkmacdaddy', 10, 'myList', 1, 'newwindow', 'yes', 125, 125, 'yes'); ?>`  
    4848 
     49= The images are not showing. What went wrong? = 
     50 
     51There are so many variables that are related to hosting servers and such that it's impossible to provide all of the possible answers. However, images not showing is most likely a problem with the timthumb image resizing script. Here are some possible solutions: 
     52 
     53* TimThumb requires the GD library, which is available on any host sever with PHP 4.3+ installed. Make sure your host has this installed (most do). 
     54* Once installed and in-use, TimThumb will automatically create a /cache/ subfolder with proper write-permissions. If your host server doesn't allow this by default, be sure to manually create the /cache/ folder within the pinterest-rss-widget directory and set the /cache/ folder permissions to 755. If this still doesn't work, try setting the /cache/ folder permissions to 777. 
     55* Known issue with timthumb.php on **Hostgator**: If your website is hosted on Hostgator, you may need to contact HostGator to request "mod_security whitelisting". More info here: http://support.hostgator.com/articles/specialized-help/technical/timthumb-basics 
     56 
    4957== Screenshots == 
    5058 
     
    5361 
    5462== Changelog == 
     63 
     64= 1.2.3 = 
     65* Added FAQS based on some troubleshooting 
     66* Added 2 contributors for their testing assistance and suggestions 
     67* Tweaked instructions on the widget settings 
    5568 
    5669= 1.2.2 = 
  • pinterest-rss-widget/trunk/timthumb.php

    r490891 r491497  
    124124if(! isset($ALLOWED_SITES)){ 
    125125    $ALLOWED_SITES = array ( 
    126         'flickr.com', 
    127         'pinterest.com', 
    128         'staticflickr.com', 
    129         'picasa.com', 
    130         'img.youtube.com', 
    131         'upload.wikimedia.org', 
    132         'photobucket.com', 
    133         'imgur.com', 
    134         'imageshack.us', 
    135         'tinypic.com', 
     126        'pinterest.com' 
    136127    ); 
    137128} 
Note: See TracChangeset for help on using the changeset viewer.