rtMedia for WordPress, BuddyPress and bbPress - Version 3.8.19

Version Description

  • Fix getid3 related issue
  • Added new theme: Foodmania
  • New wrapper functions to upload media
Download this release

Release Info

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

Code changes from version 3.8.18 to 3.8.19

app/helper/RTMediaThemes.php CHANGED
@@ -120,6 +120,16 @@ class RTMediaThemes {
120
  'buy_url' => 'https://rtcamp.com/products/inspirebook/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
121
  'description' => __( 'InspireBook is a premium WordPress theme, designed especially for BuddyPress and rtMedia powered social-networks.', 'rtmedia' ),
122
  'tags' => 'black, blue, white, light, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
 
 
 
 
 
 
 
 
 
 
123
  )
124
  );
125
  ?>
120
  'buy_url' => 'https://rtcamp.com/products/inspirebook/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
121
  'description' => __( 'InspireBook is a premium WordPress theme, designed especially for BuddyPress and rtMedia powered social-networks.', 'rtmedia' ),
122
  'tags' => 'black, blue, white, light, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
123
+ ),
124
+ 'foodmania' => array(
125
+ 'name' => __( 'Foodmania', 'rtmedia' ),
126
+ 'image' => 'https://rtcamp-481283.c.cdn77.org/wp-content/uploads/edd/2015/08/foodmania-img1.png',
127
+ 'demo_url' => 'http://demo.rtcamp.com/foodmania/',
128
+ 'author' => __( 'rtCamp', 'rtmedia' ),
129
+ 'author_url' => 'https://rtcamp.com/',
130
+ 'buy_url' => 'https://rtcamp.com/products/foodmania/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media',
131
+ 'description' => __( 'Its premium WordPress theme, designed especially for Food, recipe and photography community sites.', 'rtmedia' ),
132
+ 'tags' => 'black, yellow, white, dark, one-column, two-columns, right-sidebar, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, responsive-layout, full-width-template, buddypress',
133
  )
134
  );
135
  ?>
app/main/controllers/media/RTMediaMedia.php CHANGED
@@ -440,10 +440,10 @@ class RTMediaMedia {
440
 
441
  $attachments = array();
442
 
443
- foreach ( $file_object as $file ) {
444
  $uploaded[ 'title' ] = wp_kses( $uploaded[ 'title' ], wp_kses_allowed_html() );
445
  $uploaded[ 'description' ] = sanitize_text_field( $uploaded[ 'description' ] );
446
- $attachments[ ] = array(
447
  'post_mime_type' => $file[ 'type' ],
448
  'guid' => $file[ 'url' ],
449
  'post_title' => $uploaded[ 'title' ] ? $uploaded[ 'title' ] : preg_replace( "/\\.[^.\\s]{3,4}$/", "", $file[ 'name' ] ),
@@ -451,6 +451,10 @@ class RTMediaMedia {
451
  'post_parent' => $album_id,
452
  'post_author' => $uploaded[ 'media_author' ]
453
  );
 
 
 
 
454
  }
455
 
456
  return $attachments;
440
 
441
  $attachments = array();
442
 
443
+ foreach ( $file_object as $index => $file ) {
444
  $uploaded[ 'title' ] = wp_kses( $uploaded[ 'title' ], wp_kses_allowed_html() );
445
  $uploaded[ 'description' ] = sanitize_text_field( $uploaded[ 'description' ] );
446
+ $attachments[$index] = array(
447
  'post_mime_type' => $file[ 'type' ],
448
  'guid' => $file[ 'url' ],
449
  'post_title' => $uploaded[ 'title' ] ? $uploaded[ 'title' ] : preg_replace( "/\\.[^.\\s]{3,4}$/", "", $file[ 'name' ] ),
451
  'post_parent' => $album_id,
452
  'post_author' => $uploaded[ 'media_author' ]
453
  );
454
+
455
+ if( ! empty( $uploaded['date'] ) ){
456
+ $attachments[$index]['post_date'] = $uploaded['date'];
457
+ }
458
  }
459
 
460
  return $attachments;
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -2833,3 +2833,47 @@ function rtmedia_get_allowed_upload_types_array() {
2833
  return $types;
2834
  }
2835
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2833
  return $types;
2834
  }
2835
 
2836
+ /**
2837
+ *
2838
+ * Upload and add media
2839
+ *
2840
+ * @param array $upload_params
2841
+ *
2842
+ * @return mixed $media_id
2843
+ */
2844
+ function rtmedia_add_media( $upload_params = array() ){
2845
+
2846
+ if( empty( $upload_params ) ){
2847
+ $upload_params = $_POST;
2848
+ }
2849
+
2850
+ $upload_model = new RTMediaUploadModel();
2851
+ $upload_array = $upload_model->set_post_object( $upload_params );
2852
+
2853
+ $rtupload = new RTMediaUpload ( $upload_array );
2854
+ $media_id = isset( $rtupload->media_ids[ 0 ] ) ? $rtupload->media_ids[ 0 ] : false;
2855
+
2856
+ return $media_id;
2857
+ }
2858
+
2859
+ /**
2860
+ *
2861
+ * Add multiple meta key and value for media.
2862
+ *
2863
+ * @param $media_id
2864
+ * @param $meta_key_val
2865
+ *
2866
+ * @return array
2867
+ */
2868
+ function rtmedia_add_multiple_meta( $media_id, $meta_key_val ){
2869
+ $meta_ids = array();
2870
+ if( !empty( $media_id ) && !empty( $meta_key_val ) ){
2871
+ $media_meta = new RTMediaMeta();
2872
+ foreach( $meta_key_val as $meta_key => $meta_val ){
2873
+ $meta_ids[] = $media_meta->add_meta( $media_id, $meta_key, $meta_val );;
2874
+ }
2875
+ }
2876
+
2877
+ return $meta_ids;
2878
+ }
2879
+
app/main/controllers/upload/RTMediaUpload.php CHANGED
@@ -16,7 +16,7 @@ class RTMediaUpload {
16
 
17
  /**
18
  *
19
- * @param type $uploaded
20
  *
21
  * @return boolean
22
  */
16
 
17
  /**
18
  *
19
+ * @param array $uploaded
20
  *
21
  * @return boolean
22
  */
app/main/controllers/upload/RTMediaUploadModel.php CHANGED
@@ -23,10 +23,11 @@ class RTMediaUploadModel {
23
 
24
  /**
25
  *
26
- * @return type
27
  */
28
- function set_post_object () {
29
- $this->upload = wp_parse_args ( $_POST, $this->upload );
 
30
  $this->sanitize_object ();
31
  return $this->upload;
32
  }
@@ -46,7 +47,7 @@ class RTMediaUploadModel {
46
  * @global type $rtmedia_interaction
47
  */
48
  function sanitize_object () {
49
-
50
  if ( ! $this->has_context () ) {
51
  // Set context_id to Logged in user id if context is profile and context_id is not provided
52
  if( $this->upload[ 'context' ] == 'profile' ) {
23
 
24
  /**
25
  *
26
+ * @return array
27
  */
28
+ function set_post_object ( $upload_params = array() ) {
29
+ $upload_array = empty( $upload_params ) ? $_POST : $upload_params;
30
+ $this->upload = wp_parse_args ( $upload_array, $this->upload );
31
  $this->sanitize_object ();
32
  return $this->upload;
33
  }
47
  * @global type $rtmedia_interaction
48
  */
49
  function sanitize_object () {
50
+
51
  if ( ! $this->has_context () ) {
52
  // Set context_id to Logged in user id if context is profile and context_id is not provided
53
  if( $this->upload[ 'context' ] == 'profile' ) {
app/main/controllers/upload/processors/RTMediaUploadFile.php CHANGED
@@ -60,7 +60,7 @@ class RTMediaUploadFile {
60
  }
61
  $uploaded_file[ $key ][ 'name' ] = $file[ 'name' ];
62
  } catch ( RTMediaUploadException $e ) {
63
- echo $e->getMessage();
64
  }
65
 
66
  if ( strpos( $file[ 'type' ], 'image' ) !== false ){
@@ -103,6 +103,15 @@ class RTMediaUploadFile {
103
  $upload_dir[ 'url' ] = trailingslashit( str_replace( $upload_dir[ 'subdir' ], '', $upload_dir[ 'url' ] ) ) . $rtmedia_folder_name . '/' . $rtmedia_upload_prefix . $id . $upload_dir[ 'subdir' ];
104
  }
105
 
 
 
 
 
 
 
 
 
 
106
  $upload_dir = apply_filters( "rtmedia_filter_upload_dir", $upload_dir, $this->uploaded );
107
 
108
  return $upload_dir;
60
  }
61
  $uploaded_file[ $key ][ 'name' ] = $file[ 'name' ];
62
  } catch ( RTMediaUploadException $e ) {
63
+ return new WP_Error( 'upload_error', $e->getMessage() );
64
  }
65
 
66
  if ( strpos( $file[ 'type' ], 'image' ) !== false ){
103
  $upload_dir[ 'url' ] = trailingslashit( str_replace( $upload_dir[ 'subdir' ], '', $upload_dir[ 'url' ] ) ) . $rtmedia_folder_name . '/' . $rtmedia_upload_prefix . $id . $upload_dir[ 'subdir' ];
104
  }
105
 
106
+ // set dir as per the upload date
107
+ if( isset( $this->uploaded['date'] ) ){
108
+ $str_date = strtotime( $this->uploaded['date'] );
109
+ $year_month = date( 'Y/m', $str_date );
110
+
111
+ $upload_dir[ 'path' ] = trailingslashit( str_replace( $upload_dir[ 'subdir' ], '', $upload_dir[ 'path' ] ) ) . $year_month;
112
+ $upload_dir[ 'url' ] = trailingslashit( str_replace( $upload_dir[ 'subdir' ], '', $upload_dir[ 'url' ] ) ) . $year_month;
113
+ }
114
+
115
  $upload_dir = apply_filters( "rtmedia_filter_upload_dir", $upload_dir, $this->uploaded );
116
 
117
  return $upload_dir;
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.8.18
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.8.19
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
lib/getid3/getid3.php CHANGED
@@ -10,11 +10,6 @@
10
  // ///
11
  /////////////////////////////////////////////////////////////////
12
 
13
- // Do not proceed getID3 if already exist.
14
- if ( class_exists ( "getID3" ) ) {
15
- return;
16
- }
17
-
18
  // define a constant rather than looking up every time it is needed
19
  if (!defined('GETID3_OS_ISWINDOWS')) {
20
  define('GETID3_OS_ISWINDOWS', (stripos(PHP_OS, 'WIN') === 0));
@@ -73,6 +68,16 @@ unset($open_basedir, $temp_dir);
73
 
74
  // End: Defines
75
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  class getID3
78
  {
@@ -1824,8 +1829,9 @@ abstract class getid3_handler {
1824
 
1825
  }
1826
 
1827
-
1828
- class getid3_exception extends Exception
1829
- {
1830
- public $message;
 
1831
  }
10
  // ///
11
  /////////////////////////////////////////////////////////////////
12
 
 
 
 
 
 
13
  // define a constant rather than looking up every time it is needed
14
  if (!defined('GETID3_OS_ISWINDOWS')) {
15
  define('GETID3_OS_ISWINDOWS', (stripos(PHP_OS, 'WIN') === 0));
68
 
69
  // End: Defines
70
 
71
+ // Do not proceed getID3 if already exist.
72
+ if ( class_exists ( "getID3" ) ) {
73
+ return;
74
+ }
75
+
76
+ if ( class_exists ( "getid3_exception" ) ) {
77
+ return;
78
+ }
79
+
80
+
81
 
82
  class getID3
83
  {
1829
 
1830
  }
1831
 
1832
+ if ( ! class_exists ( "getid3_exception" ) ) {
1833
+ class getid3_exception extends Exception
1834
+ {
1835
+ public $message;
1836
+ }
1837
  }
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: 4.3
9
- Stable tag: 3.8.18
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
@@ -40,58 +40,58 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
40
  6. **Responsive** - Album Slideshow (Lightbox), video player, uploads work on mobiles & tablets. Support for swipe guestures.
41
  7. **Privacy** - Control who can see media files, albums and BuddyPress activities.
42
  8. **Templating system** - Completely customise rtMedia by modifying the template files. Just copy over the template folder to your theme.
43
- 9. **[Featured Media](http://docs.rtcamp.com/rtmedia/developer/featured-media/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "Featured Media documentation")** - This can be used for facebook-style cover photo on profiles.
44
- 10. **[rtMedia Uploader](http://docs.rtcamp.com/rtmedia/features/shortcodes/uploader-shortcode/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Uploader")** - Use `[rtmedia_uploader]` shortcode or `<?php rtmedia_uploader() ?>` template tag, to show drag-n-drop uploader in any WordPress area (post, page, custom-post, etc).
45
- 11. **[rtMedia Gallery](http://docs.rtcamp.com/rtmedia/features/shortcodes/gallery-shortcode/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Gallery")** - Display media gallery anywhere on your site using `[rtmedia_gallery]` shortcode or `<?php rtmedia_gallery ?>` template tag.
46
 
47
  = Audio/Video Conversion =
48
 
49
  rtMedia has 3 premium solutions to take care of audio/video conversion.
50
 
51
- 1. **[Audio/Video Encoding Service](https://rtcamp.com/rtmedia/addons/audio-video-encoding-service/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "Audio/Video Encoding Service")** - If free plan is not enough for you, there is monthly subscription service also. Easiest to setup.
52
- 2. **[FFMPEG-Addon](https://rtcamp.com/products/rtmedia-ffmpeg-addon/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia FFMPEG Addon")** - Requires FFMPEG & Media-Node installed on a VPS/Dedicated server.
53
- 3. **[Kaltura-Addon](https://rtcamp.com/products/rtmedia-kaltura-add-on/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Kaltura Addon for Kaltura.com/Kaltura-CE/Kaltura On-Prem version")** - Requires a Kaltura.com account or Kaltura-CE or Kaltura-on-Prem server.
54
 
55
  [Comparison of audio/video encoding solutions can be found here.](http://rtcamp.com/rtmedia/addons/compare-encoding-solutions/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Comparison of audio/video encoding solutions")
56
 
57
  = rtMedia Premium Addons =
58
 
59
- 1. **[Instagram-Effects](https://rtcamp.com/products/rtmedia-instagram/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Instagram Addon")** - Users can apply Instagram like filters to photos.
60
- 2. **[Photo-Tagging](https://rtcamp.com/products/rtmedia-photo-tagging/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Photo-Tagging Addon")** - Users can tag their friends/other users in photos.
61
- 3. **[Photo-Watermark](https://rtcamp.com/products/rtmedia-photo-watermark/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Photo Watermark Addon")** - rtMedia Photo Watermark add-on let you watermarked or copyright your uploaded photos.)
62
- 4. **[Membership](https://rtcamp.com/products/rtmedia-membership/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Membership")** - It provides membership functionality in your site.
63
- 5. **[Social-Sync](https://rtcamp.com/products/rtmedia-social-sync/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Social Sync")** - It allows you to import media from your Facebook account.
64
- 6. **[myCRED-Points](https://rtcamp.com/products/rtmedia-mycred/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia myCRED")** - It allows you to integrate rtMedia with myCRED and award virtual points for various rtMedia activities, like media upload, likes, deleted, albums creation, playlist, etc.
65
- 7. **[CubePoints](https://rtcamp.com/products/rtmedia-cubepoints/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia CubePoints")** - It allows you to integrate rtMedia with CubePoints and award virtual points for various rtMedia activities, like upload media, delete media, create albums, playlists, etc.
66
- 8. **[Playlists](https://rtcamp.com/products/rtmedia-playlists/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Playlists")** - This plugin is used to create a playlist for uploaded music file with rtMedia.
67
- 9. **[Favorites](https://rtcamp.com/products/rtmedia-favorites/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Favorites")** - This plugin allows users to create their own list of favorite media.
68
- 10. **[Upload-Terms](https://rtcamp.com/products/rtmedia-upload-terms/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Upload Terms")** - This plugin is useful to set terms of services page on website during user upload media on website.
69
- 11. **[Moderation](https://rtcamp.com/products/rtmedia-moderation/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Moderation")** - This plugin is for reporting media if user find offensive.
70
- 12. **[Custom-Attributes](https://rtcamp.com/products/rtmedia-custom-attributes/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Custom Attributes")** - This plugin is for categorizing media using attributes defined by site owner when uploading.
71
- 13. **[Docs-and-Other-files](https://rtcamp.com/products/rtmedia-docs-files/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Docs and Other files")** - This plugin allows uploading for doc, pdf and other file types such as zip, tar, etc.
72
- 14. **[Default-Albums](https://rtcamp.com/products/rtmedia-default-albums/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Default Albums")** - This plugin allows the creation of multiple default albums for rtMedia uploads.
73
- 15. **[Podcast-Feed](https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Podcast (RSS and Atom feeds)")** - Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.
74
- 16. **[Restrictions](https://rtcamp.com/products/rtmedia-restrictions/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Restrictions")** - Site admin can set limits in terms of total size & file count.
75
- 17. **[bbPress-Attachments](https://rtcamp.com/products/rtmedia-bbpress-attachments/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia bbPress Attachments")** - Attach media files to bbPress forum topics and replies.
76
- 18. **[WordPress-Sitewide-Gallery](https://rtcamp.com/products/rtmedia-wordpress-sitewide-gallery/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia WordPress Sitewide Gallery")** - Site admin can create and upload media into WordPress album.
77
- 19. **[WordPress-Comment-Attachments](https://rtcamp.com/products/rtmedia-wordpress-comment-attachments/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia WordPress Comment Attachments")** - Allow users to upload a media file in WordPress comment attachment box.
78
- 20. **[Social-Sharing](https://rtcamp.com/products/rtmedia-social-sharing/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Social Sharing")** - Share uploaded media on social network sites like Facebook, twitter, linkedin, Google+. This addon integrate with [rtSocial](https://wordpress.org/plugins/rtsocial/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media) plugin.
79
- 21. **[Sidebar-Widgets](https://rtcamp.com/products/rtmedia-sidebar-widgets/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Sidebar Widgets")** - This addon provide widgets to upload media and display gallery for rtMedia plugin.
80
- 22. **[5-Star-Ratings](https://rtcamp.com/products/rtmedia-star-ratings/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia 5 Star Ratings")** - User can rate the media files from 1 to 5 star.
81
- 23. **[Edit-Mp3-Info-(ID3 Tags)](https://rtcamp.com/products/rtmedia-edit-mp3-info/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia - Edit Mp3 Info (ID3 Tags)")** - Allow user to edit MP3 FIle Audio tags (ID 3 tags).
82
- 24. **[Sorting](https://rtcamp.com/products/rtmedia-sorting/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Sorting")** - Sort uploaded media based on file size, ascending/descending title, upload date of media.
83
- 25. **[Bulk-Edit](https://rtcamp.com/products/rtmedia-bulk-edit/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Bulk Edit")** - Allow users to move files from one album to another, change attributes, change privacy, delete files in bulk.
84
- 26. **[BuddyPress-Profile-Picture](https://rtcamp.com/products/rtmedia-buddypress-profile-picture/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia BuddyPress Profile Picture")** - Allow users to set their profile picture from existing uploaded media file.
85
- 27. **[Album-Cover-Art](https://rtcamp.com/products/rtmedia-album-cover-art/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Album Cover Art")** - Allow users to set album cover from uploaded image.
86
- 28. **[Direct-Download-Link](https://rtcamp.com/products/rtmedia-direct-download-link/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Direct Download Link")** - This addon provide a download button for all the uploaded media.
87
- 29. **[Upload-by-URL](https://rtcamp.com/products/rtmedia-upload-by-url/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Upload by URL")** - Allow users to upload media using absolute URL.
88
- 30. **[Likes](https://rtcamp.com/products/rtmedia-likes/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Likes")** - This add-on let you know who liked media. User can also see which media file he/she liked under user profile.
89
- 31. **[Activity-URL-Preview](https://rtcamp.com/products/rtmedia-activity-url-preview/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Activity URL Preview")** - This addon provides a preview of the URL that is shared and shows up on BuddyPress activity.
90
- 32. **[View-Counter](https://rtcamp.com/products/rtmedia-view-counter/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia View Counter")** - Enable view count for all the uploaded media.
91
- 33. **[Shortcode-Generator](https://rtcamp.com/products/rtmedia-shortcode-generator/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Shortcode Generator")** - The shortcode generator button added in WordPress post and page editor for all the rtMedia shortcodes.
92
- 34. **[Album-Privacy](https://rtcamp.com/products/rtmedia-album-privacy/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Album Privacy")** - Set album privacy when user create new albums or edit album.
93
- 35. **[BuddyPress-Group-Media-Control](https://rtcamp.com/products/rtmedia-buddypress-group-media-control/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia BuddyPress Group Media Control")** - Allow group owner to provide media upload feature for their group.
94
- 36. **[Set-Custom-Thumbnail-for-Audio/Video](https://rtcamp.com/products/rtmedia-set-custom-thumbnail-for-audiovideo/?utm_source####readme&utm_medium####plugin&utm_campaign####buddypress-media "rtMedia Set Custom Thumbnail for Audio/Video")** - Allow media owner to change the thumbnail of uploaded audio/video files.
95
 
96
  = Important Links =
97
 
@@ -140,6 +140,11 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
143
  = 3.8.18 =
144
  * Filter for media action text
145
  * Updated getid3 lib to latest version
@@ -1072,8 +1077,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
1072
 
1073
  == Upgrade Notice ==
1074
 
1075
- = 3.8.18 =
1076
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Filter for media action text, updated getid3 lib to latest version.
1077
 
1078
  == Sponsors ==
1079
 
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: 4.3
9
+ Stable tag: 3.8.19
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
 
40
  6. **Responsive** - Album Slideshow (Lightbox), video player, uploads work on mobiles & tablets. Support for swipe guestures.
41
  7. **Privacy** - Control who can see media files, albums and BuddyPress activities.
42
  8. **Templating system** - Completely customise rtMedia by modifying the template files. Just copy over the template folder to your theme.
43
+ 9. **[Featured Media](http://docs.rtcamp.com/rtmedia/developers/featured-media.html/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Featured Media documentation")** - This can be used for facebook-style cover photo on profiles.
44
+ 10. **[rtMedia Uploader](http://docs.rtcamp.com/rtmedia/features/shortcodes/uploader-shortcode/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Uploader")** - Use `[rtmedia_uploader]` shortcode or `<?php rtmedia_uploader() ?>` template tag, to show drag-n-drop uploader in any WordPress area (post, page, custom-post, etc).
45
+ 11. **[rtMedia Gallery](http://docs.rtcamp.com/rtmedia/features/shortcodes/gallery-shortcode/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Gallery")** - Display media gallery anywhere on your site using `[rtmedia_gallery]` shortcode or `<?php rtmedia_gallery ?>` template tag.
46
 
47
  = Audio/Video Conversion =
48
 
49
  rtMedia has 3 premium solutions to take care of audio/video conversion.
50
 
51
+ 1. **[Audio/Video Encoding Service](https://rtcamp.com/rtmedia/addons/audio-video-encoding-service/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Audio/Video Encoding Service")** - If free plan is not enough for you, there is monthly subscription service also. Easiest to setup.
52
+ 2. **[FFMPEG-Addon](https://rtcamp.com/products/rtmedia-ffmpeg-addon/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia FFMPEG Addon")** - Requires FFMPEG & Media-Node installed on a VPS/Dedicated server.
53
+ 3. **[Kaltura-Addon](https://rtcamp.com/products/rtmedia-kaltura-add-on/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Kaltura Addon for Kaltura.com/Kaltura-CE/Kaltura On-Prem version")** - Requires a Kaltura.com account or Kaltura-CE or Kaltura-on-Prem server.
54
 
55
  [Comparison of audio/video encoding solutions can be found here.](http://rtcamp.com/rtmedia/addons/compare-encoding-solutions/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Comparison of audio/video encoding solutions")
56
 
57
  = rtMedia Premium Addons =
58
 
59
+ 1. **[Instagram-Effects](https://rtcamp.com/products/rtmedia-instagram/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Instagram Addon")** - Users can apply Instagram like filters to photos.
60
+ 2. **[Photo-Tagging](https://rtcamp.com/products/rtmedia-photo-tagging/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Photo-Tagging Addon")** - Users can tag their friends/other users in photos.
61
+ 3. **[Photo-Watermark](https://rtcamp.com/products/rtmedia-photo-watermark/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Photo Watermark Addon")** - rtMedia Photo Watermark add-on let you watermarked or copyright your uploaded photos.)
62
+ 4. **[Membership](https://rtcamp.com/products/rtmedia-membership/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Membership")** - It provides membership functionality in your site.
63
+ 5. **[Social-Sync](https://rtcamp.com/products/rtmedia-social-sync/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Social Sync")** - It allows you to import media from your Facebook account.
64
+ 6. **[myCRED-Points](https://rtcamp.com/products/rtmedia-mycred/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia myCRED")** - It allows you to integrate rtMedia with myCRED and award virtual points for various rtMedia activities, like media upload, likes, deleted, albums creation, playlist, etc.
65
+ 7. **[CubePoints](https://rtcamp.com/products/rtmedia-cubepoints/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia CubePoints")** - It allows you to integrate rtMedia with CubePoints and award virtual points for various rtMedia activities, like upload media, delete media, create albums, playlists, etc.
66
+ 8. **[Playlists](https://rtcamp.com/products/rtmedia-playlists/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Playlists")** - This plugin is used to create a playlist for uploaded music file with rtMedia.
67
+ 9. **[Favorites](https://rtcamp.com/products/rtmedia-favorites/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Favorites")** - This plugin allows users to create their own list of favorite media.
68
+ 10. **[Upload-Terms](https://rtcamp.com/products/rtmedia-upload-terms/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Upload Terms")** - This plugin is useful to set terms of services page on website during user upload media on website.
69
+ 11. **[Moderation](https://rtcamp.com/products/rtmedia-moderation/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Moderation")** - This plugin is for reporting media if user find offensive.
70
+ 12. **[Custom-Attributes](https://rtcamp.com/products/rtmedia-custom-attributes/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Custom Attributes")** - This plugin is for categorizing media using attributes defined by site owner when uploading.
71
+ 13. **[Docs-and-Other-files](https://rtcamp.com/products/rtmedia-docs-files/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Docs and Other files")** - This plugin allows uploading for doc, pdf and other file types such as zip, tar, etc.
72
+ 14. **[Default-Albums](https://rtcamp.com/products/rtmedia-default-albums/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Default Albums")** - This plugin allows the creation of multiple default albums for rtMedia uploads.
73
+ 15. **[Podcast-Feed](https://rtcamp.com/products/rtmedia-podcast-feed/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Podcast (RSS and Atom feeds)")** - Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.
74
+ 16. **[Restrictions](https://rtcamp.com/products/rtmedia-restrictions/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Restrictions")** - Site admin can set limits in terms of total size & file count.
75
+ 17. **[bbPress-Attachments](https://rtcamp.com/products/rtmedia-bbpress-attachments/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia bbPress Attachments")** - Attach media files to bbPress forum topics and replies.
76
+ 18. **[WordPress-Sitewide-Gallery](https://rtcamp.com/products/rtmedia-wordpress-sitewide-gallery/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia WordPress Sitewide Gallery")** - Site admin can create and upload media into WordPress album.
77
+ 19. **[WordPress-Comment-Attachments](https://rtcamp.com/products/rtmedia-wordpress-comment-attachments/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia WordPress Comment Attachments")** - Allow users to upload a media file in WordPress comment attachment box.
78
+ 20. **[Social-Sharing](https://rtcamp.com/products/rtmedia-social-sharing/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Social Sharing")** - Share uploaded media on social network sites like Facebook, twitter, linkedin, Google+. This addon integrate with [rtSocial](https://wordpress.org/plugins/rtsocial/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media) plugin.
79
+ 21. **[Sidebar-Widgets](https://rtcamp.com/products/rtmedia-sidebar-widgets/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Sidebar Widgets")** - This addon provide widgets to upload media and display gallery for rtMedia plugin.
80
+ 22. **[5-Star-Ratings](https://rtcamp.com/products/rtmedia-star-ratings/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia 5 Star Ratings")** - User can rate the media files from 1 to 5 star.
81
+ 23. **[Edit-Mp3-Info-(ID3 Tags)](https://rtcamp.com/products/rtmedia-edit-mp3-info/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia - Edit Mp3 Info (ID3 Tags)")** - Allow user to edit MP3 FIle Audio tags (ID 3 tags).
82
+ 24. **[Sorting](https://rtcamp.com/products/rtmedia-sorting/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Sorting")** - Sort uploaded media based on file size, ascending/descending title, upload date of media.
83
+ 25. **[Bulk-Edit](https://rtcamp.com/products/rtmedia-bulk-edit/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Bulk Edit")** - Allow users to move files from one album to another, change attributes, change privacy, delete files in bulk.
84
+ 26. **[BuddyPress-Profile-Picture](https://rtcamp.com/products/rtmedia-buddypress-profile-picture/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia BuddyPress Profile Picture")** - Allow users to set their profile picture from existing uploaded media file.
85
+ 27. **[Album-Cover-Art](https://rtcamp.com/products/rtmedia-album-cover-art/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Album Cover Art")** - Allow users to set album cover from uploaded image.
86
+ 28. **[Direct-Download-Link](https://rtcamp.com/products/rtmedia-direct-download-link/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Direct Download Link")** - This addon provide a download button for all the uploaded media.
87
+ 29. **[Upload-by-URL](https://rtcamp.com/products/rtmedia-upload-by-url/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Upload by URL")** - Allow users to upload media using absolute URL.
88
+ 30. **[Likes](https://rtcamp.com/products/rtmedia-likes/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Likes")** - This add-on let you know who liked media. User can also see which media file he/she liked under user profile.
89
+ 31. **[Activity-URL-Preview](https://rtcamp.com/products/rtmedia-activity-url-preview/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Activity URL Preview")** - This addon provides a preview of the URL that is shared and shows up on BuddyPress activity.
90
+ 32. **[View-Counter](https://rtcamp.com/products/rtmedia-view-counter/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia View Counter")** - Enable view count for all the uploaded media.
91
+ 33. **[Shortcode-Generator](https://rtcamp.com/products/rtmedia-shortcode-generator/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Shortcode Generator")** - The shortcode generator button added in WordPress post and page editor for all the rtMedia shortcodes.
92
+ 34. **[Album-Privacy](https://rtcamp.com/products/rtmedia-album-privacy/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Album Privacy")** - Set album privacy when user create new albums or edit album.
93
+ 35. **[BuddyPress-Group-Media-Control](https://rtcamp.com/products/rtmedia-buddypress-group-media-control/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia BuddyPress Group Media Control")** - Allow group owner to provide media upload feature for their group.
94
+ 36. **[Set-Custom-Thumbnail-for-Audio/Video](https://rtcamp.com/products/rtmedia-set-custom-thumbnail-for-audiovideo/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "rtMedia Set Custom Thumbnail for Audio/Video")** - Allow media owner to change the thumbnail of uploaded audio/video files.
95
 
96
  = Important Links =
97
 
140
 
141
  == Changelog ==
142
 
143
+ = 3.8.19 =
144
+ * Fix getid3 related issue
145
+ * Added new theme: Foodmania
146
+ * New wrapper functions to upload media
147
+
148
  = 3.8.18 =
149
  * Filter for media action text
150
  * Updated getid3 lib to latest version
1077
 
1078
  == Upgrade Notice ==
1079
 
1080
+ = 3.8.19 =
1081
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix getid3 related issue, new wrapper functions to upload media.
1082
 
1083
  == Sponsors ==
1084