WordPress.org

Plugin Directory

Changeset 625832


Ignore:
Timestamp:
11/15/12 21:07:35 (17 months ago)
Author:
MattyRob
Message:

Button spacing in Send Mail page and ReadMe updates

Location:
subscribe2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • subscribe2/trunk/ReadMe.txt

    r623481 r625832  
    6060 
    6161= Where can I get help? = 
    62 So, you've downloaded the plugin an it isn't doing what you expect. First you should read the included documentation. There is a ReadMe.txt file and a PDF startup guide installed with the plugin. 
     62So, you've downloaded the plugin an it isn't doing what you expect. First you should read the included documentation. There is a [ReadMe.txt](http://plugins.svn.wordpress.org/subscribe2/trunk/ReadMe.txt) file and a [legacy PDF startup guide](http://plugins.svn.wordpress.org/subscribe2/tags/6.0/The%20WordPress%20Subscriber%20User%20Guide.pdf) installed with the plugin. 
    6363 
    6464Next you could search in the [WordPress forums](http://wordpress.org/support/), the old [Subscribe2 Forum](http://getsatisfaction.com/subscribe2/), or the [Subscribe2 blog FAQs](http://subscribe2.wordpress.com/category/faq/). 
     
    132132} 
    133133add_filter('cron_schedules', 'add_my_new_sched');` 
     134 
     135= I'd like to change the size of the image inserted by the {IMAGE} keyword in the paid version of the code. Is this possible? = 
     136 
     137Yes, this is possible, it just requires a little bit of code. Subscribe2 introduced a filter in version 8.6 that allows on-the-fly customisation of the image size. Use the code below in a plugin of your own. 
     138 
     139`function my_s2_image_size() { 
     140    // return a pre-defined size like 'thumbnail' or 'full' 
     141    // or return a physical size as an array like array(300, 300) or array(150, 150) 
     142 
     143    // examples: 
     144    return 'thumbnail'; 
     145    return 'full' 
     146    return array(300,300); 
     147} 
     148 
     149add_filter('s2_image_size', 'my_s2_image_size');` 
    134150 
    135151= When I click on Send Preview in Susbcribe2->Settings I get 4 emails, why = 
     
    338354* Fixed bug in TinyURL error handling and fallback when link generation fails 
    339355* Fixed bug where {DATE} was left blank in the subject field for future scheduled post notifications - thanks to Steve Savoy 
     356* Added a filter to allow on-the-fly alteration of the size of the {IMAGE} in the paid version 
    340357 
    341358= Version 8.5 by Matthew Robinson = 
  • subscribe2/trunk/admin/send_email.php

    r620639 r625832  
    7575echo "<input type=\"hidden\" name=\"s2_admin\" value=\"mail\" />"; 
    7676echo "</p>"; 
    77 echo "<p class=\"submit\"><input type=\"submit\" class=\"button-secondary\" name=\"preview\" value=\""  . __('Preview', 'subscribe2') . "\" /><input type=\"submit\" class=\"button-primary\" name=\"send\" value=\"" . __('Send', 'subscribe2') . "\" /></p>"; 
     77echo "<p class=\"submit\"><input type=\"submit\" class=\"button-secondary\" name=\"preview\" value=\""  . __('Preview', 'subscribe2') . "\" />&nbsp;<input type=\"submit\" class=\"button-primary\" name=\"send\" value=\"" . __('Send', 'subscribe2') . "\" /></p>"; 
    7878echo "</form></div>\r\n"; 
    7979echo "<div style=\"clear: both;\"><p>&nbsp;</p></div>"; 
Note: See TracChangeset for help on using the changeset viewer.