rtMedia for WordPress, BuddyPress and bbPress - Version 3.7.28

Version Description

  • Fixed activity upload issue when BuddyPress Multilingual plugin is active
  • Update admin settings help text
Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 3.7.28
Comparing to
See all releases

Code changes from version 3.7.27 to 3.7.28

app/admin/RTMediaAdmin.php CHANGED
@@ -273,7 +273,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
273
  if ( ! $site_option || 'hide' != $site_option ){
274
  rtmedia_update_site_option( 'rtmedia-addon-update-notice', 'show' );
275
  echo '<div class="error rtmedia-addon-upate-notice">
276
- <p> <b>' . __( 'rtMedia:' ) . '</b> ' . __( 'Please update all premium add-ons that you had purchased from rtCamp from your ', 'rtmedia' ) . ' <a href="https://rtcamp.com/my-account/" target="_blank">' . __( 'account', 'rtmedia' ) . '</a>. <a href="#" onclick="rtmedia_hide_addon_update_notice()" style="float:right">Hide</a> </p>
277
  </div>';
278
  }
279
 
@@ -693,7 +693,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
693
  }
694
 
695
  $rtmedia_admin_strings = array(
696
- 'no_refresh' => __( 'Please do not refresh this page.', 'rtmedia' ), 'something_went_wrong' => __( 'Something went wronng. Please <a href onclick="location.reload();">refresh</a> page.', 'rtmedia' ), 'are_you_sure' => __( 'This will subscribe you to the free plan.', 'rtmedia' ), 'disable_encoding' => __( 'Are you sure you want to disable the encoding service? Make sure you note your api key before disabling it incase you want to activate it in future.', 'rtmedia' )
697
  );
698
 
699
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_strings', $rtmedia_admin_strings );
@@ -784,7 +784,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
784
  if ( ! isset( $requested ) ){
785
  ?>
786
  <br/>
787
- <p>You can see this page because you have <a href="<?php echo admin_url( 'admin.php?page=rtmedia-addons' ) ?>">subscribed</a> for <a href="https://rtcamp.com/rtmedia/docs/admin/addons/audio-video-encoding/" target="_blank">rtMedia audio/video encoding service</a>.</p> <p>You can regenerate thumbnails of specific video by visiting <a href="<?php echo admin_url( 'upload.php?post_mime_type=video' ); ?>">media page</a> and click on <b>Regenerate Thumbnail</b> option for that particular video.</p> <p>Press <b>Regenerate Pending Thumbnails</b> button to regenerate thumbnails of pending videos.</p> <p><input type="button" class="button button-primary" id="rt-start-media-regenerate" value="<?php echo __( 'Regenerate Pending Thumbnails', 'rtmedia' ) . ' (' . $total . ')'; ?>"/> </p>
788
  <?php
789
  }
790
  ?>
@@ -882,7 +882,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
882
  if ( isset( $videos_without_thumbs ) && is_array( $videos_without_thumbs ) && sizeof( $videos_without_thumbs ) > 0 ){
883
  echo '<div class="error rtmedia-regenerate-video-thumb-error">
884
  <p>
885
- ' . sprintf( __( "You have total %s videos without thumbnails. Click <a href='%s'> here </a> to generate thumbnails. <a href='#' onclick='rtmedia_hide_video_thumb_notice()' style='float:right'>Hide</a>", 'rtmedia' ), sizeof( $videos_without_thumbs ), admin_url( 'admin.php?page=rtmedia-regenerate' ) ) . '
886
  </p>
887
  </div>';
888
  ?>
@@ -1614,7 +1614,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
1614
  if ( ! empty( $not_supported_image ) ){
1615
  echo '<div class="error upload-filetype-network-settings-error">
1616
  <p>
1617
- ' . sprintf( __( 'You have images enabled on rtMedia but your network allowed filetypes does not allow uploading of %s. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), implode( ', ', $not_supported_image ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1618
  <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1619
  </p>
1620
  </div>';
@@ -1625,7 +1625,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
1625
  if ( ! in_array( 'mp4', $upload_filetypes ) ){
1626
  echo '<div class="error upload-filetype-network-settings-error">
1627
  <p>
1628
- ' . sprintf( __( 'You have video enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp4. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1629
  <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1630
  </p>
1631
  </div>';
@@ -1634,7 +1634,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
1634
  }
1635
  if ( isset( $rtmedia->options['audio_enabled'] ) && $rtmedia->options['audio_enabled'] ){
1636
  if ( ! in_array( 'mp3', $upload_filetypes ) ){
1637
- echo '<div class="error upload-filetype-network-settings-error"><p>' . sprintf( __( 'You have audio enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp3. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1638
  <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1639
  </p>
1640
  </div>';
@@ -1758,7 +1758,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
1758
  if ( data.status === true ) {
1759
  alert( "<?php _e( 'Video is sent to generate thumbnails.', 'rtmedia' ) ?>" );
1760
  } else {
1761
- alert( "<?php _e( 'Video can\'t be sent to generate thumbnails.', 'rtmedia' ) ?>" );
1762
  }
1763
  } );
1764
  }
273
  if ( ! $site_option || 'hide' != $site_option ){
274
  rtmedia_update_site_option( 'rtmedia-addon-update-notice', 'show' );
275
  echo '<div class="error rtmedia-addon-upate-notice">
276
+ <p> <b>' . __( 'rtMedia:' ) . '</b> ' . __( 'Please update all premium add-ons that you have purchased from rtCamp from your ', 'rtmedia' ) . ' <a href="https://rtcamp.com/my-account/" target="_blank">' . __( 'account', 'rtmedia' ) . '</a>. <a href="#" onclick="rtmedia_hide_addon_update_notice()" style="float:right">Hide</a> </p>
277
  </div>';
278
  }
279
 
693
  }
694
 
695
  $rtmedia_admin_strings = array(
696
+ 'no_refresh' => __( 'Please do not refresh this page.', 'rtmedia' ), 'something_went_wrong' => __( 'Something went wrong. Please <a href onclick="location.reload();">refresh</a> page.', 'rtmedia' ), 'are_you_sure' => __( 'This will subscribe you to the free plan.', 'rtmedia' ), 'disable_encoding' => __( 'Are you sure you want to disable the encoding service? Make sure you note your api key before disabling it, incase you want to activate it in future.', 'rtmedia' )
697
  );
698
 
699
  wp_localize_script( 'rtmedia-admin', 'rtmedia_admin_strings', $rtmedia_admin_strings );
784
  if ( ! isset( $requested ) ){
785
  ?>
786
  <br/>
787
+ <p>You can see this page because you have <a href="<?php echo admin_url( 'admin.php?page=rtmedia-addons' ) ?>">subscribed</a> for <a href="https://rtcamp.com/rtmedia/docs/admin/addons/audio-video-encoding/" target="_blank">rtMedia audio/video encoding service</a>.</p> <p>You can regenerate thumbnails of a specific video by visiting <a href="<?php echo admin_url( 'upload.php?post_mime_type=video' ); ?>">media page</a> and clicking the <b>Regenerate Thumbnail</b> option for that particular video.</p> <p>Click <b>Regenerate Pending Thumbnails</b> to regenerate thumbnails of pending videos.</p> <p><input type="button" class="button button-primary" id="rt-start-media-regenerate" value="<?php echo __( 'Regenerate Pending Thumbnails', 'rtmedia' ) . ' (' . $total . ')'; ?>"/> </p>
788
  <?php
789
  }
790
  ?>
882
  if ( isset( $videos_without_thumbs ) && is_array( $videos_without_thumbs ) && sizeof( $videos_without_thumbs ) > 0 ){
883
  echo '<div class="error rtmedia-regenerate-video-thumb-error">
884
  <p>
885
+ ' . sprintf( __( "You have %s videos without thumbnails. Click <a href='%s'> here </a> to generate thumbnails. <a href='#' onclick='rtmedia_hide_video_thumb_notice()' style='float:right'>Hide</a>", 'rtmedia' ), sizeof( $videos_without_thumbs ), admin_url( 'admin.php?page=rtmedia-regenerate' ) ) . '
886
  </p>
887
  </div>';
888
  ?>
1614
  if ( ! empty( $not_supported_image ) ){
1615
  echo '<div class="error upload-filetype-network-settings-error">
1616
  <p>
1617
+ ' . sprintf( __( 'You have images enabled on rtMedia but your network allowed filetypes do not permit uploading of %s. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), implode( ', ', $not_supported_image ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1618
  <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1619
  </p>
1620
  </div>';
1625
  if ( ! in_array( 'mp4', $upload_filetypes ) ){
1626
  echo '<div class="error upload-filetype-network-settings-error">
1627
  <p>
1628
+ ' . sprintf( __( 'You have video enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp4. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1629
  <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1630
  </p>
1631
  </div>';
1634
  }
1635
  if ( isset( $rtmedia->options['audio_enabled'] ) && $rtmedia->options['audio_enabled'] ){
1636
  if ( ! in_array( 'mp3', $upload_filetypes ) ){
1637
+ echo '<div class="error upload-filetype-network-settings-error"><p>' . sprintf( __( 'You have audio enabled on BuddyPress Media but your network allowed filetypes do not permit uploading of mp3. Click <a href="%s">here</a> to change your settings manually.', 'rtmedia' ), network_admin_url( 'settings.php#upload_filetypes' ) ) . '
1638
  <br /><strong>' . __( 'Recommended', 'rtmedia' ) . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __( 'Update Network Settings Automatically', 'rtmedia' ) . '"> <img style="display:none;" src="' . admin_url( 'images/wpspin_light.gif' ) . '" />
1639
  </p>
1640
  </div>';
1758
  if ( data.status === true ) {
1759
  alert( "<?php _e( 'Video is sent to generate thumbnails.', 'rtmedia' ) ?>" );
1760
  } else {
1761
+ alert( "<?php _e( 'Video cannot be sent to generate thumbnails.', 'rtmedia' ) ?>" );
1762
  }
1763
  } );
1764
  }
app/admin/RTMediaFormHandler.php CHANGED
@@ -64,7 +64,7 @@ class RTMediaFormHandler {
64
  extract( $args );
65
 
66
  if ( ! isset( $value ) ){
67
- trigger_error( __( 'Please provide "value" in the argument.', 'rtmedia' ) );
68
 
69
  return;
70
  }
@@ -106,7 +106,7 @@ class RTMediaFormHandler {
106
  extract( $args );
107
 
108
  if ( ! isset( $value ) ){
109
- trigger_error( __( 'Please provide "value" in the argument.', 'rtmedia' ) );
110
 
111
  return;
112
  }
@@ -149,7 +149,7 @@ class RTMediaFormHandler {
149
  extract( $args );
150
 
151
  if ( 2 > count( $radios ) ){
152
- trigger_error( __( 'Need to specify atleast to radios else use a checkbox instead', 'rtmedia' ) );
153
 
154
  return;
155
  }
@@ -201,7 +201,7 @@ class RTMediaFormHandler {
201
  extract( $args );
202
 
203
  if ( ! isset( $value ) ){
204
- trigger_error( __( 'Please provide "value" in the argument.', 'rtmedia' ) );
205
 
206
  return;
207
  }
@@ -236,7 +236,7 @@ class RTMediaFormHandler {
236
  extract( $args );
237
 
238
  if ( ! isset( $value ) ){
239
- trigger_error( __( 'Please provide "value" in the argument.', 'rtmedia' ) );
240
 
241
  return;
242
  }
@@ -302,7 +302,7 @@ class RTMediaFormHandler {
302
  'args' => array(
303
  'key' => 'general_enableComments',
304
  'value' => $options['general_enableComments'],
305
- 'desc' => __( 'This will display comment form and comment listing on single media pages as well as inside lightbox (if lightbox is enabled).', 'rtmedia' ),
306
  ),
307
  'group' => '10',
308
  ),
@@ -323,7 +323,7 @@ class RTMediaFormHandler {
323
  'key' => 'general_perPageMedia',
324
  'value' => $options['general_perPageMedia'],
325
  'class' => array( 'rtmedia-setting-text-box' ),
326
- 'desc' => __( 'Number of media you want to show per page on front end.', 'rtmedia' ),
327
  'min' => 1,
328
  ),
329
  'group' => '15',
@@ -335,7 +335,7 @@ class RTMediaFormHandler {
335
  'key' => 'general_display_media',
336
  'radios' => $radios,
337
  'default' => $options['general_display_media'],
338
- 'desc' => __( 'Choose whether you want load more button or pagination buttons.', 'rtmedia' ),
339
  'class' => array( 'rtmedia-load-more-radio' ),
340
  ),
341
  'group' => '15',
@@ -345,7 +345,7 @@ class RTMediaFormHandler {
345
  'args' => array(
346
  'key' => 'general_masonry_layout',
347
  'value' => $options['general_masonry_layout'],
348
- 'desc' => __( 'Masonry works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall.', 'rtmedia' ),
349
  'class' => array( 'rtm_enable_masonry_view' ),
350
  ),
351
  'group' => '18',
@@ -442,7 +442,7 @@ class RTMediaFormHandler {
442
  'args' => array(
443
  'key' => 'general_AllowUserData',
444
  'value' => $options['general_AllowUserData'],
445
- 'desc' => __( 'You can help rtMedia team learn what themes and plugins you are using to make rtMedia better compatible with your sites. No private information about your setup will be sent during tracking.', 'rtmedia' ),
446
  )
447
  ),
448
  'general_showAdminMenu' => array(
@@ -461,7 +461,7 @@ class RTMediaFormHandler {
461
  'args' => array(
462
  'key' => 'rtmedia_add_linkback',
463
  'value' => $options['rtmedia_add_linkback'],
464
- 'desc' => __( 'Help us to promote rtMedia.', 'rtmedia' ),
465
  ),
466
  'group' => 100,
467
  ), //
@@ -471,7 +471,7 @@ class RTMediaFormHandler {
471
  'args' => array(
472
  'key' => 'rtmedia_affiliate_id',
473
  'value' => $options['rtmedia_affiliate_id'],
474
- 'desc' => __( 'Add your affiliate-id along with footer link and get benefited from our affiliation program.', 'rtmedia' ),
475
  ),
476
  'group' => 100,
477
  'after_content' => __( 'You can signup for rtMedia affiliate program from <a href="https://rtcamp.com/affiliates">here</a>' ),
@@ -485,7 +485,7 @@ class RTMediaFormHandler {
485
  'desc' => __( 'This will allow handling API requests for rtMedia sent through any mobile app.', 'rtmedia' ),
486
  ),
487
  'group' => 80,
488
- 'after_content' => __( 'You can refer API document from <a href="https://rtcamp.com/rtmedia/docs/developer/json-api/">here</a>' ),
489
  ), //
490
  );
491
 
@@ -650,7 +650,7 @@ class RTMediaFormHandler {
650
  </h4>
651
  </div>
652
  <div class="columns large-4">
653
- <h4 data-tooltip class="has-tip" title="<?php _e( 'Put a specific media as a featured content on the post.', 'rtmedia' ); ?>">
654
  <abbr><?php _e( 'Set Featured', 'rtmedia' ); ?></abbr>
655
  </h4>
656
  </div>
@@ -806,7 +806,7 @@ class RTMediaFormHandler {
806
  'key' => 'general_videothumbs',
807
  'value' => $options['general_videothumbs'],
808
  'class' => array( 'rtmedia-setting-text-box' ),
809
- 'desc' => __( ' If you choose more than 1 thumbnail, your users will be able to change thumbnail by going to video \'edit\' section. Maximum value is 10.', 'rtmedia' ),
810
  'min' => 1,
811
  'max' => 10,
812
  )
@@ -857,7 +857,7 @@ class RTMediaFormHandler {
857
  <strong
858
  class="<?php echo $option['args']['key']; ?>"><?php echo $option['title']; ?></strong>
859
  <?php call_user_func( $option['callback'], $option['args'] ); ?>
860
- <div><?php _e( "If you want to add some custom CSS code to the plugin and don't want to modify any files, then it's a good place to enter your code at this field." ); ?></div>
861
  </div>
862
  <?php } else { ?>
863
  <div class="columns large-6">
@@ -954,7 +954,7 @@ class RTMediaFormHandler {
954
  'args' => array(
955
  'key' => 'privacy_userOverride',
956
  'value' => $options['privacy_userOverride'],
957
- 'desc' => __( 'If you choose this, user will be able to change privacy of their own uploads.', 'rtmedia' ),
958
  ),
959
  'after_content' => __( 'For group uploads, BuddyPress groups privacy is used.', 'rtmedia' ),
960
  ),
@@ -1064,7 +1064,7 @@ class RTMediaFormHandler {
1064
  'args' => array(
1065
  'key' => 'buddypress_limitOnActivity',
1066
  'value' => $options['buddypress_limitOnActivity'],
1067
- 'desc' => __( 'With bulk uploads activity stream may get flooded. You can control maximum number of medias/files per activity. This limit will not affect the actual number of uploads. Only display. <em>0</em> means unlimited.', 'rtmedia' ),
1068
  'class' => array( 'rtmedia-setting-text-box rtmedia-bp-activity-setting' ),
1069
  'min' => 0,
1070
  ),
@@ -1124,7 +1124,7 @@ class RTMediaFormHandler {
1124
  'id' => 'rtmedia-album-enable',
1125
  'key' => 'general_enableAlbums',
1126
  'value' => $options['general_enableAlbums'],
1127
- 'desc' => __( 'This will add \'album\' tab to BuddyPress profile and group depending on ^above^ settings.', 'rtmedia' ),
1128
  ),
1129
  ),
1130
  );
64
  extract( $args );
65
 
66
  if ( ! isset( $value ) ){
67
+ trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
68
 
69
  return;
70
  }
106
  extract( $args );
107
 
108
  if ( ! isset( $value ) ){
109
+ trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
110
 
111
  return;
112
  }
149
  extract( $args );
150
 
151
  if ( 2 > count( $radios ) ){
152
+ trigger_error( __( 'Need to specify atleast two radios, else use a checkbox instead', 'rtmedia' ) );
153
 
154
  return;
155
  }
201
  extract( $args );
202
 
203
  if ( ! isset( $value ) ){
204
+ trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
205
 
206
  return;
207
  }
236
  extract( $args );
237
 
238
  if ( ! isset( $value ) ){
239
+ trigger_error( __( 'Please provide a "value" in the argument.', 'rtmedia' ) );
240
 
241
  return;
242
  }
302
  'args' => array(
303
  'key' => 'general_enableComments',
304
  'value' => $options['general_enableComments'],
305
+ 'desc' => __( 'This will display the comment form and comment listing on single media pages as well as inside lightbox (if lightbox is enabled).', 'rtmedia' ),
306
  ),
307
  'group' => '10',
308
  ),
323
  'key' => 'general_perPageMedia',
324
  'value' => $options['general_perPageMedia'],
325
  'class' => array( 'rtmedia-setting-text-box' ),
326
+ 'desc' => __( 'Number of media items you want to show per page on front end.', 'rtmedia' ),
327
  'min' => 1,
328
  ),
329
  'group' => '15',
335
  'key' => 'general_display_media',
336
  'radios' => $radios,
337
  'default' => $options['general_display_media'],
338
+ 'desc' => __( 'Choose whether you want the load more button or pagination buttons.', 'rtmedia' ),
339
  'class' => array( 'rtmedia-load-more-radio' ),
340
  ),
341
  'group' => '15',
345
  'args' => array(
346
  'key' => 'general_masonry_layout',
347
  'value' => $options['general_masonry_layout'],
348
+ 'desc' => __( 'Masonry works by placing elements in an optimal position based on available vertical space, similar to a mason fitting stones in a wall.', 'rtmedia' ),
349
  'class' => array( 'rtm_enable_masonry_view' ),
350
  ),
351
  'group' => '18',
442
  'args' => array(
443
  'key' => 'general_AllowUserData',
444
  'value' => $options['general_AllowUserData'],
445
+ 'desc' => __( 'To make rtMedia better compatible with your sites, you can help the rtMedia team learn what themes and plugins you are using. No private information about your setup will be sent during tracking.', 'rtmedia' ),
446
  )
447
  ),
448
  'general_showAdminMenu' => array(
461
  'args' => array(
462
  'key' => 'rtmedia_add_linkback',
463
  'value' => $options['rtmedia_add_linkback'],
464
+ 'desc' => __( 'Help us promote rtMedia.', 'rtmedia' ),
465
  ),
466
  'group' => 100,
467
  ), //
471
  'args' => array(
472
  'key' => 'rtmedia_affiliate_id',
473
  'value' => $options['rtmedia_affiliate_id'],
474
+ 'desc' => __( 'Add your affiliate-id along with footer link and get rewarded by our affiliation program.', 'rtmedia' ),
475
  ),
476
  'group' => 100,
477
  'after_content' => __( 'You can signup for rtMedia affiliate program from <a href="https://rtcamp.com/affiliates">here</a>' ),
485
  'desc' => __( 'This will allow handling API requests for rtMedia sent through any mobile app.', 'rtmedia' ),
486
  ),
487
  'group' => 80,
488
+ 'after_content' => __( 'You can refer to the API document from <a href="https://rtcamp.com/rtmedia/docs/developer/json-api/">here</a>' ),
489
  ), //
490
  );
491
 
650
  </h4>
651
  </div>
652
  <div class="columns large-4">
653
+ <h4 data-tooltip class="has-tip" title="<?php _e( 'Place a specific media as a featured content on the post.', 'rtmedia' ); ?>">
654
  <abbr><?php _e( 'Set Featured', 'rtmedia' ); ?></abbr>
655
  </h4>
656
  </div>
806
  'key' => 'general_videothumbs',
807
  'value' => $options['general_videothumbs'],
808
  'class' => array( 'rtmedia-setting-text-box' ),
809
+ 'desc' => __( ' If you choose more than 1 thumbnail, your users will be able to change the thumbnail by going to video \'edit\' section. Maximum value is 10.', 'rtmedia' ),
810
  'min' => 1,
811
  'max' => 10,
812
  )
857
  <strong
858
  class="<?php echo $option['args']['key']; ?>"><?php echo $option['title']; ?></strong>
859
  <?php call_user_func( $option['callback'], $option['args'] ); ?>
860
+ <div><?php _e( "If you want to add some custom CSS code to the plugin and do not want to modify any files, then this is a good place to enter your code." ); ?></div>
861
  </div>
862
  <?php } else { ?>
863
  <div class="columns large-6">
954
  'args' => array(
955
  'key' => 'privacy_userOverride',
956
  'value' => $options['privacy_userOverride'],
957
+ 'desc' => __( 'If you choose this, users will be able to change privacy of their own uploads.', 'rtmedia' ),
958
  ),
959
  'after_content' => __( 'For group uploads, BuddyPress groups privacy is used.', 'rtmedia' ),
960
  ),
1064
  'args' => array(
1065
  'key' => 'buddypress_limitOnActivity',
1066
  'value' => $options['buddypress_limitOnActivity'],
1067
+ 'desc' => __( 'With bulk uploads activity, the stream may get flooded. You can control the maximum number of media items or files per activity. This limit will not affect the actual number of uploads. This is only for display. <em>0</em> means unlimited.', 'rtmedia' ),
1068
  'class' => array( 'rtmedia-setting-text-box rtmedia-bp-activity-setting' ),
1069
  'min' => 0,
1070
  ),
1124
  'id' => 'rtmedia-album-enable',
1125
  'key' => 'general_enableAlbums',
1126
  'value' => $options['general_enableAlbums'],
1127
+ 'desc' => __( 'This will add \'album\' tab to BuddyPress profile and group depending on the ^above^ settings.', 'rtmedia' ),
1128
  ),
1129
  ),
1130
  );
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -2822,3 +2822,13 @@ function rtmedia_is_global_album( $album_id ) {
2822
  function rtmedia_is_uploader_view_allowed( $allow, $section = 'media_gallery' ){
2823
  return apply_filters( 'rtmedia_allow_uploader_view', $allow, $section );
2824
  }
 
 
 
 
 
 
 
 
 
 
2822
  function rtmedia_is_uploader_view_allowed( $allow, $section = 'media_gallery' ){
2823
  return apply_filters( 'rtmedia_allow_uploader_view', $allow, $section );
2824
  }
2825
+
2826
+ function rtmedia_modify_activity_upload_url( $params ){
2827
+ if( class_exists( 'BuddyPress' ) && ( bp_is_activity_component() || bp_is_groups_component() ) ) {
2828
+ $params['url'] = '/' . bp_get_activity_root_slug() . '/upload/';
2829
+ }
2830
+ return $params;
2831
+ }
2832
+
2833
+ // Fix for BuddyPress multilingual plugin on activity pages
2834
+ add_filter( 'rtmedia_modify_upload_params','rtmedia_modify_activity_upload_url', 999, 1 );
index.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
6
  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
7
- Version: 3.7.27
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
6
  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
7
+ Version: 3.7.28
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
readme.txt CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 4.1 + BuddyPress 2.1.1
9
- Stable tag: 3.7.27
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
 
@@ -128,6 +128,10 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
128
 
129
  Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
130
 
 
 
 
 
131
  = 3.7.27 =
132
  * Fix warnings on BuddyPress activity page
133
  * Show add-on purchase link only when add-on is not purchased
@@ -884,8 +888,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
884
 
885
  == Upgrade Notice ==
886
 
887
- = 3.7.27 =
888
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix warnings on BuddyPress activity page, more validations for admin settings, fix for translations.
889
 
890
  == Sponsors ==
891
 
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 4.1 + BuddyPress 2.1.1
9
+ Stable tag: 3.7.28
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
 
128
 
129
  Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
130
 
131
+ = 3.7.28 =
132
+ * Fixed activity upload issue when BuddyPress Multilingual plugin is active
133
+ * Update admin settings help text
134
+
135
  = 3.7.27 =
136
  * Fix warnings on BuddyPress activity page
137
  * Show add-on purchase link only when add-on is not purchased
888
 
889
  == Upgrade Notice ==
890
 
891
+ = 3.7.28 =
892
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fixed activity upload issue when BuddyPress Multilingual plugin is active, update admin settings help text
893
 
894
  == Sponsors ==
895