WordPress.org

Plugin Directory

Changeset 667319


Ignore:
Timestamp:
02/13/13 10:10:22 (14 months ago)
Author:
M66B
Message:

1.176 release

Location:
add-link-to-facebook
Files:
4 deleted
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/tags/1.176/add-link-to-facebook-admin.php

    r649767 r667319  
    128128    echo '<div class="al2fb_sidebar">'; 
    129129    al2fb_render_resources($al2fb); 
    130     al2fb_render_ads($al2fb); 
    131130    echo '</div>'; 
    132131?> 
     
    12351234        <input id="al2fb_donated" name="<?php echo c_al2fb_meta_donated; ?>" type="checkbox"<?php if (get_user_meta($user_ID, c_al2fb_meta_donated, true)) echo ' checked="checked"'; ?> /> 
    12361235    </td></tr> 
    1237  
    1238     <tr valign="top"><th scope="row"> 
    1239         <label for="al2fb_rated"><?php _e('I have rated this plugin:', c_al2fb_text_domain); ?></label> 
    1240     </th><td> 
    1241         <input id="al2fb_rated" name="<?php echo c_al2fb_meta_rated; ?>" type="checkbox"<?php if (get_user_meta($user_ID, c_al2fb_meta_rated, true)) echo ' checked="checked"'; ?> /> 
    1242     </td></tr> 
    12431236    </table> 
    12441237    <p class="submit"> 
     
    16421635} 
    16431636 
    1644 function al2fb_render_ads($al2fb) { 
    1645     // Host1Plus 
    1646     echo '<div class="al2fb_ads">'; 
    1647     echo '<a href="http://www.host1plus.com/vps-hosting/" target="_blank">'; 
    1648     echo '<img src="' . plugins_url('host1plus.jpg', __FILE__) . '" width="250" height="67" alt="Host1Plus">'; 
    1649     echo '</a>'; 
    1650     echo '</div>'; 
    1651  
    1652     // ManageWP 
    1653     echo '<div class="al2fb_ads">'; 
    1654     echo '<a href="http://managewp.com/?utm_source=Plugins&utm_medium=Banner&utm_content=mwp250_2&utm_campaign=addtofacebook" target="_blank">'; 
    1655     echo '<img src="' . plugins_url('mwp250_2.png', __FILE__) . '" alt="ManageWP">'; 
    1656     echo '</a>'; 
    1657     echo '</div>'; 
    1658 } 
    1659  
    16601637function al2fb_render_debug_info($al2fb) { 
    16611638    // Debug information 
  • add-link-to-facebook/tags/1.176/add-link-to-facebook-class.php

    r646659 r667319  
    542542            update_user_meta($user_ID, c_al2fb_meta_param_value, $_POST[c_al2fb_meta_param_value]); 
    543543            update_user_meta($user_ID, c_al2fb_meta_donated, $_POST[c_al2fb_meta_donated]); 
    544             update_user_meta($user_ID, c_al2fb_meta_rated, $_POST[c_al2fb_meta_rated]); 
    545             if ($_POST[c_al2fb_meta_rated]) 
    546                 delete_user_meta($user_ID, c_al2fb_meta_rated0); 
    547544 
    548545            if (isset($_REQUEST['debug'])) { 
     
    779776            } 
    780777 
    781             // Check for rating notice 
    782             if ($donotice && !get_user_meta($user_ID, c_al2fb_meta_rated, true)) { 
    783                 echo '<div id="message" class="error fade al2fb_error"><p>'; 
    784                 $msg = __('If you like the Add Link to Facebook plugin, please rate it on <a href="[wordpress]" target="_blank">wordpress.org</a>.<br />If the average rating is low, it makes no sense to support this plugin any longer.<br />You can disable this notice by checking the option "I have rated this plugin" on the <a href="[settings]">settings page</a>.', c_al2fb_text_domain); 
    785                 if (get_user_meta($user_ID, c_al2fb_meta_rated0, true)) { 
    786                     $msg .= '<br /><br /><em>'; 
    787                     $msg .= __('Through a mishap on the WordPress.org systems, previous ratings for the plugin were lost.<br />If you\'ve rated the plugin in the past, your rating was accidentally removed.<br />So if you would be so kind as to rate the plugin again, I\'d appreciate it. Thanks!', c_al2fb_text_domain); 
    788                     $msg .= '</em>'; 
    789                 } 
    790                 $msg = str_replace('[wordpress]', 'http://wordpress.org/extend/plugins/add-link-to-facebook/', $msg); 
    791                 $msg = str_replace('[settings]', $url . '&rate', $msg); 
    792                 echo $msg . '</p></div>'; 
    793             } 
    794  
    795778            // Check for multiple count 
    796779            $x = WPAL2Int::Get_multiple_count(); 
  • add-link-to-facebook/tags/1.176/add-link-to-facebook-const.php

    r644282 r667319  
    148148define('c_al2fb_meta_clear_errors', 'al2fb_clear_errors'); 
    149149define('c_al2fb_meta_donated', 'al2fb_donated'); 
    150 define('c_al2fb_meta_rated0', 'al2fb_rated'); 
    151 define('c_al2fb_meta_rated', 'al2fb_rated1'); 
    152150define('c_al2fb_meta_stat', 'al2fb_stat'); 
    153151define('c_al2fb_meta_week', 'al2fb_week'); 
  • add-link-to-facebook/tags/1.176/add-link-to-facebook.php

    r649767 r667319  
    44Plugin URI: http://wordpress.org/extend/plugins/add-link-to-facebook/ 
    55Description: Automatically add links to published posts to your Facebook wall or pages 
    6 Version: 1.175 
     6Version: 1.176 
    77Author: Marcel Bokhorst 
    88Author URI: http://blog.bokhorst.biz/about/ 
  • add-link-to-facebook/tags/1.176/readme.txt

    r653757 r667319  
    44Tags: post, posts, Facebook, social, link, links, permalink, wpmu, admin, comment, comments, shortcode, sidebar, widget, bbPress 
    55Requires at least: 3.2 
    6 Tested up to: 3.5 
    7 Stable tag: 1.175 
     6Tested up to: 3.5.1 
     7Stable tag: 1.176 
    88 
    99Automatically add links to published posts or pages to your Facebook wall, pages or groups and more 
     
    785785* Reports that everything works are also appreciated :-) 
    786786 
     787= 1.176 = 
     788* Removed graphical ads 
     789* Removed request for rating 
     790 
    787791= 1.175 = 
    788792* Disable adding links to friends walls after February 6th, [read here](https://developers.facebook.com/blog/post/2012/10/10/growing-quality-apps-with-open-graph/) why 
     
    793797* Updated Norwegian (nb\_NO) translation by [Stein Ivar Johnsen](http://www.idyrøy.no/ "Stein Ivar Johnsen") 
    794798 
    795 = 1.173 = 
    796 * New feature: option to disable adding links for all custom post types (enabled by default for new installations) 
    797 * Improvement: updated CA certificates 
    798 * Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
    799  
    800799= Older versions = 
    801800* Deleted, because of maximum readme.txt size 
     
    804803== Upgrade Notice == 
    805804 
    806 = 1.175 = 
    807 Disable adding links to friends, translation update 
     805= 1.176 = 
     806Removed ads 
    808807 
    809808== Setup guide == 
  • add-link-to-facebook/trunk/add-link-to-facebook-admin.php

    r649767 r667319  
    128128    echo '<div class="al2fb_sidebar">'; 
    129129    al2fb_render_resources($al2fb); 
    130     al2fb_render_ads($al2fb); 
    131130    echo '</div>'; 
    132131?> 
     
    12351234        <input id="al2fb_donated" name="<?php echo c_al2fb_meta_donated; ?>" type="checkbox"<?php if (get_user_meta($user_ID, c_al2fb_meta_donated, true)) echo ' checked="checked"'; ?> /> 
    12361235    </td></tr> 
    1237  
    1238     <tr valign="top"><th scope="row"> 
    1239         <label for="al2fb_rated"><?php _e('I have rated this plugin:', c_al2fb_text_domain); ?></label> 
    1240     </th><td> 
    1241         <input id="al2fb_rated" name="<?php echo c_al2fb_meta_rated; ?>" type="checkbox"<?php if (get_user_meta($user_ID, c_al2fb_meta_rated, true)) echo ' checked="checked"'; ?> /> 
    1242     </td></tr> 
    12431236    </table> 
    12441237    <p class="submit"> 
     
    16421635} 
    16431636 
    1644 function al2fb_render_ads($al2fb) { 
    1645     // Host1Plus 
    1646     echo '<div class="al2fb_ads">'; 
    1647     echo '<a href="http://www.host1plus.com/vps-hosting/" target="_blank">'; 
    1648     echo '<img src="' . plugins_url('host1plus.jpg', __FILE__) . '" width="250" height="67" alt="Host1Plus">'; 
    1649     echo '</a>'; 
    1650     echo '</div>'; 
    1651  
    1652     // ManageWP 
    1653     echo '<div class="al2fb_ads">'; 
    1654     echo '<a href="http://managewp.com/?utm_source=Plugins&utm_medium=Banner&utm_content=mwp250_2&utm_campaign=addtofacebook" target="_blank">'; 
    1655     echo '<img src="' . plugins_url('mwp250_2.png', __FILE__) . '" alt="ManageWP">'; 
    1656     echo '</a>'; 
    1657     echo '</div>'; 
    1658 } 
    1659  
    16601637function al2fb_render_debug_info($al2fb) { 
    16611638    // Debug information 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r646659 r667319  
    542542            update_user_meta($user_ID, c_al2fb_meta_param_value, $_POST[c_al2fb_meta_param_value]); 
    543543            update_user_meta($user_ID, c_al2fb_meta_donated, $_POST[c_al2fb_meta_donated]); 
    544             update_user_meta($user_ID, c_al2fb_meta_rated, $_POST[c_al2fb_meta_rated]); 
    545             if ($_POST[c_al2fb_meta_rated]) 
    546                 delete_user_meta($user_ID, c_al2fb_meta_rated0); 
    547544 
    548545            if (isset($_REQUEST['debug'])) { 
     
    779776            } 
    780777 
    781             // Check for rating notice 
    782             if ($donotice && !get_user_meta($user_ID, c_al2fb_meta_rated, true)) { 
    783                 echo '<div id="message" class="error fade al2fb_error"><p>'; 
    784                 $msg = __('If you like the Add Link to Facebook plugin, please rate it on <a href="[wordpress]" target="_blank">wordpress.org</a>.<br />If the average rating is low, it makes no sense to support this plugin any longer.<br />You can disable this notice by checking the option "I have rated this plugin" on the <a href="[settings]">settings page</a>.', c_al2fb_text_domain); 
    785                 if (get_user_meta($user_ID, c_al2fb_meta_rated0, true)) { 
    786                     $msg .= '<br /><br /><em>'; 
    787                     $msg .= __('Through a mishap on the WordPress.org systems, previous ratings for the plugin were lost.<br />If you\'ve rated the plugin in the past, your rating was accidentally removed.<br />So if you would be so kind as to rate the plugin again, I\'d appreciate it. Thanks!', c_al2fb_text_domain); 
    788                     $msg .= '</em>'; 
    789                 } 
    790                 $msg = str_replace('[wordpress]', 'http://wordpress.org/extend/plugins/add-link-to-facebook/', $msg); 
    791                 $msg = str_replace('[settings]', $url . '&rate', $msg); 
    792                 echo $msg . '</p></div>'; 
    793             } 
    794  
    795778            // Check for multiple count 
    796779            $x = WPAL2Int::Get_multiple_count(); 
  • add-link-to-facebook/trunk/add-link-to-facebook-const.php

    r644282 r667319  
    148148define('c_al2fb_meta_clear_errors', 'al2fb_clear_errors'); 
    149149define('c_al2fb_meta_donated', 'al2fb_donated'); 
    150 define('c_al2fb_meta_rated0', 'al2fb_rated'); 
    151 define('c_al2fb_meta_rated', 'al2fb_rated1'); 
    152150define('c_al2fb_meta_stat', 'al2fb_stat'); 
    153151define('c_al2fb_meta_week', 'al2fb_week'); 
  • add-link-to-facebook/trunk/add-link-to-facebook.php

    r649767 r667319  
    44Plugin URI: http://wordpress.org/extend/plugins/add-link-to-facebook/ 
    55Description: Automatically add links to published posts to your Facebook wall or pages 
    6 Version: 1.175 
     6Version: 1.176 
    77Author: Marcel Bokhorst 
    88Author URI: http://blog.bokhorst.biz/about/ 
  • add-link-to-facebook/trunk/readme.txt

    r653757 r667319  
    44Tags: post, posts, Facebook, social, link, links, permalink, wpmu, admin, comment, comments, shortcode, sidebar, widget, bbPress 
    55Requires at least: 3.2 
    6 Tested up to: 3.5 
    7 Stable tag: 1.175 
     6Tested up to: 3.5.1 
     7Stable tag: 1.176 
    88 
    99Automatically add links to published posts or pages to your Facebook wall, pages or groups and more 
     
    785785* Reports that everything works are also appreciated :-) 
    786786 
     787= 1.176 = 
     788* Removed graphical ads 
     789* Removed request for rating 
     790 
    787791= 1.175 = 
    788792* Disable adding links to friends walls after February 6th, [read here](https://developers.facebook.com/blog/post/2012/10/10/growing-quality-apps-with-open-graph/) why 
     
    793797* Updated Norwegian (nb\_NO) translation by [Stein Ivar Johnsen](http://www.idyrøy.no/ "Stein Ivar Johnsen") 
    794798 
    795 = 1.173 = 
    796 * New feature: option to disable adding links for all custom post types (enabled by default for new installations) 
    797 * Improvement: updated CA certificates 
    798 * Updated Dutch (nl\_NL) and Flemish (nl\_BE) translations 
    799  
    800799= Older versions = 
    801800* Deleted, because of maximum readme.txt size 
     
    804803== Upgrade Notice == 
    805804 
    806 = 1.175 = 
    807 Disable adding links to friends, translation update 
     805= 1.176 = 
     806Removed ads 
    808807 
    809808== Setup guide == 
Note: See TracChangeset for help on using the changeset viewer.