Changeset 401798
- Timestamp:
- 06/27/2011 06:47:23 PM (15 years ago)
- Location:
- sfce-create-event
- Files:
-
- 6 edited
- 1 copied
-
tags/3.96.3 (copied) (copied from sfce-create-event/trunk)
-
tags/3.96.3/readme.txt (modified) (1 diff)
-
tags/3.96.3/sfce-create-event.php (modified) (2 diffs)
-
tags/3.96.3/sfce_create_event_post.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sfce-create-event.php (modified) (2 diffs)
-
trunk/sfce_create_event_post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sfce-create-event/tags/3.96.3/readme.txt
r401168 r401798 6 6 Requires at least: 2.7 7 7 Tested up to: 3.1.3 8 Stable tag:3.96. 28 Stable tag:3.96.3 9 9 10 10 Create Facebook events automatically when you create Wordpress posts. This plugin requires the Simple Facebook Connect plugin by Otto. -
sfce-create-event/tags/3.96.3/sfce-create-event.php
r401168 r401798 2 2 /* 3 3 Plugin Name: SFCe - Create Event 4 Version: 3.96. 24 Version: 3.96.3 5 5 Author: Roger Howorth 6 6 Author URI: http://www.thehypervisor.com … … 92 92 if ( substr($args['photo'],0,4) == 'http' ) wp_die(_e('The path to your photo cannot begin with \'http\'. The photo must be stored on your Wordpress server, and the path must be in the local file system - e.g. /var/www/wordpress/photo.jpg. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event')); 93 93 94 if (!file_exists($args['photo'])) wp_die(_e('The path to your event image does not point to a valid file. Please check your path and try again. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post.', 'sfce-create-event')); 94 if ( $_POST['sfce_event_photo'] <> '' ) { 95 if (!file_exists($args['photo'])) wp_die(_e('The path to your event image does not point to a valid file. Please check your path and try again. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post.', 'sfce-create-event')); 95 96 96 $pic_dims = getimagesize( $args['photo'] ); 97 if ( $pic_dims[0] < 100 || $pic_dims[1] < 100 ) wp_die(_e('Your event image is too small. Facebook requires event images to be at least 100 pixels wide and 100 pixels tall. Please remove the current image from your event parameters and try again. You post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event')); 97 $pic_dims = getimagesize( $args['photo'] ); 98 if ( $pic_dims[0] < 100 || $pic_dims[1] < 100 ) wp_die(_e('Your event image is too small. Facebook requires event images to be at least 100 pixels wide and 100 pixels tall. Please remove the current image from your event parameters and try again. You post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event')); 99 } 98 100 99 101 try{ -
sfce-create-event/tags/3.96.3/sfce_create_event_post.php
r401168 r401798 221 221 } 222 222 223 if ( substr($_POST['sfce_event_photo'],0,4) == 'http' ) wp_die(_e('The path to your photo cannot begin with \'http\'. The photo must be stored on your Wordpress server, and the path must be in the local file system - e.g. /var/www/wordpress/photo.jpg. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event'));224 225 if (!file_exists($_POST['sfce_event_photo'])) wp_die(_e('The path to your event image does not point to a valid file. Please check your path and try again. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post.', 'sfce-create-event'));226 227 228 $pic_dims = getimagesize( $_POST['sfce_event_photo'] );229 if ( $pic_dims[0] < 100 || $pic_dims[1] < 100 ) wp_die(_e('Your event image is too small. Facebook requires event images to be at least 100 pixels wide and 100 pixels tall. Please remove the current image from your event parameters and try again. You post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event'));230 223 231 224 foreach ( $sfce_text_inputs as $input ) -
sfce-create-event/trunk/readme.txt
r401168 r401798 6 6 Requires at least: 2.7 7 7 Tested up to: 3.1.3 8 Stable tag:3.96. 28 Stable tag:3.96.3 9 9 10 10 Create Facebook events automatically when you create Wordpress posts. This plugin requires the Simple Facebook Connect plugin by Otto. -
sfce-create-event/trunk/sfce-create-event.php
r401168 r401798 2 2 /* 3 3 Plugin Name: SFCe - Create Event 4 Version: 3.96. 24 Version: 3.96.3 5 5 Author: Roger Howorth 6 6 Author URI: http://www.thehypervisor.com … … 92 92 if ( substr($args['photo'],0,4) == 'http' ) wp_die(_e('The path to your photo cannot begin with \'http\'. The photo must be stored on your Wordpress server, and the path must be in the local file system - e.g. /var/www/wordpress/photo.jpg. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event')); 93 93 94 if (!file_exists($args['photo'])) wp_die(_e('The path to your event image does not point to a valid file. Please check your path and try again. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post.', 'sfce-create-event')); 94 if ( $_POST['sfce_event_photo'] <> '' ) { 95 if (!file_exists($args['photo'])) wp_die(_e('The path to your event image does not point to a valid file. Please check your path and try again. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post.', 'sfce-create-event')); 95 96 96 $pic_dims = getimagesize( $args['photo'] ); 97 if ( $pic_dims[0] < 100 || $pic_dims[1] < 100 ) wp_die(_e('Your event image is too small. Facebook requires event images to be at least 100 pixels wide and 100 pixels tall. Please remove the current image from your event parameters and try again. You post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event')); 97 $pic_dims = getimagesize( $args['photo'] ); 98 if ( $pic_dims[0] < 100 || $pic_dims[1] < 100 ) wp_die(_e('Your event image is too small. Facebook requires event images to be at least 100 pixels wide and 100 pixels tall. Please remove the current image from your event parameters and try again. You post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event')); 99 } 98 100 99 101 try{ -
sfce-create-event/trunk/sfce_create_event_post.php
r401168 r401798 221 221 } 222 222 223 if ( substr($_POST['sfce_event_photo'],0,4) == 'http' ) wp_die(_e('The path to your photo cannot begin with \'http\'. The photo must be stored on your Wordpress server, and the path must be in the local file system - e.g. /var/www/wordpress/photo.jpg. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event'));224 225 if (!file_exists($_POST['sfce_event_photo'])) wp_die(_e('The path to your event image does not point to a valid file. Please check your path and try again. Your post has been saved but no event created. Press the browser\'s back button to go back and edit your post.', 'sfce-create-event'));226 227 228 $pic_dims = getimagesize( $_POST['sfce_event_photo'] );229 if ( $pic_dims[0] < 100 || $pic_dims[1] < 100 ) wp_die(_e('Your event image is too small. Facebook requires event images to be at least 100 pixels wide and 100 pixels tall. Please remove the current image from your event parameters and try again. You post has been saved but no event created. Press the browser\'s back button to go back and edit your post', 'sfce-create-event'));230 223 231 224 foreach ( $sfce_text_inputs as $input )
Note: See TracChangeset
for help on using the changeset viewer.