Version Description
- Bug fixes
Download this release
Release Info
Developer | faishal |
Plugin | ![]() |
Version | 3.2.5 |
Comparing to | |
See all releases |
Code changes from version 3.2.4 to 3.2.5
- app/admin/RTMediaAdmin.php +1 -1
- app/admin/RTMediaFormHandler.php +2 -2
- app/main/RTMedia.php +1 -2
- app/main/controllers/template/rt-template-functions.php +1 -1
- index.php +1 -1
- readme.txt +10 -7
app/admin/RTMediaAdmin.php
CHANGED
@@ -452,7 +452,7 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
|
|
452 |
if(!$site_option || $site_option != "hide") {
|
453 |
update_site_option("rtmedia-video-thumb-notice", "show");
|
454 |
$videos_without_thumbs = get_video_without_thumbs();
|
455 |
-
if(isset($videos_without_thumbs) && is_array($videos_without_thumbs) &&
|
456 |
echo '<div class="error rtmedia-regenerate-video-thumb-error">
|
457 |
<p>
|
458 |
' . sprintf ( __ ( 'You have total '. sizeof($videos_without_thumbs) .' videos without thumbnails. Click <a href="'. admin_url('admin.php?page=rtmedia-regenerate') .'"> here </a> to generate thumbnails. <a href="#" onclick="rtmedia_hide_video_thumb_notice()" style="float:right">Hide</a>' ) ) . '
|
452 |
if(!$site_option || $site_option != "hide") {
|
453 |
update_site_option("rtmedia-video-thumb-notice", "show");
|
454 |
$videos_without_thumbs = get_video_without_thumbs();
|
455 |
+
if(isset($videos_without_thumbs) && is_array($videos_without_thumbs) && sizeof($videos_without_thumbs) > 0 ) {
|
456 |
echo '<div class="error rtmedia-regenerate-video-thumb-error">
|
457 |
<p>
|
458 |
' . sprintf ( __ ( 'You have total '. sizeof($videos_without_thumbs) .' videos without thumbnails. Click <a href="'. admin_url('admin.php?page=rtmedia-regenerate') .'"> here </a> to generate thumbnails. <a href="#" onclick="rtmedia_hide_video_thumb_notice()" style="float:right">Hide</a>' ) ) . '
|
app/admin/RTMediaFormHandler.php
CHANGED
@@ -316,7 +316,7 @@ class RTMediaFormHandler {
|
|
316 |
$render = array();
|
317 |
$allowed_media_type = $rtmedia->allowed_types;
|
318 |
$allowed_media_type = apply_filters("rtmedia_allowed_types", $allowed_media_type);
|
319 |
-
|
320 |
foreach ($options as $key => $value) {
|
321 |
$data = explode('_', $key);
|
322 |
if(!isset($render[$data[1]])) {
|
@@ -351,7 +351,7 @@ class RTMediaFormHandler {
|
|
351 |
<?php
|
352 |
$even = 0;
|
353 |
foreach ($render_data as $key=>$section) {
|
354 |
-
if( isset($section['settings_visibility']) &&
|
355 |
if( ++$even%2 ) {
|
356 |
echo '<div class="row rt-odd">';
|
357 |
}
|
316 |
$render = array();
|
317 |
$allowed_media_type = $rtmedia->allowed_types;
|
318 |
$allowed_media_type = apply_filters("rtmedia_allowed_types", $allowed_media_type);
|
319 |
+
|
320 |
foreach ($options as $key => $value) {
|
321 |
$data = explode('_', $key);
|
322 |
if(!isset($render[$data[1]])) {
|
351 |
<?php
|
352 |
$even = 0;
|
353 |
foreach ($render_data as $key=>$section) {
|
354 |
+
if( isset($section['settings_visibility']) && $section['settings_visibility'] == true ) {
|
355 |
if( ++$even%2 ) {
|
356 |
echo '<div class="row rt-odd">';
|
357 |
}
|
app/main/RTMedia.php
CHANGED
@@ -561,7 +561,6 @@ class RTMedia
|
|
561 |
'privacy' => false,
|
562 |
'nav' => true,
|
563 |
'like' => false,
|
564 |
-
'cover_art' => false,
|
565 |
'featured' => false,
|
566 |
'Group' => false,
|
567 |
'ViewCount' => false
|
@@ -722,7 +721,7 @@ class RTMedia
|
|
722 |
wp_localize_script('rtmedia-main', 'rtmedia_media_delete_confirmation', __('Are you sure you want to delete this media?',"rtMedia"));
|
723 |
wp_localize_script('rtmedia-main', 'rtmedia_album_delete_confirmation', __('Are you sure you want to delete this Album?',"rtMedia"));
|
724 |
wp_localize_script('rtmedia-main', 'rtmedia_drop_media_msg', __('Drop files here',"rtMedia"));
|
725 |
-
wp_localize_script('rtmedia-main', 'rtmedia_album_created_msg', __('album created successfully.',"rtMedia"));
|
726 |
wp_localize_script('rtmedia-main', 'rtmedia_something_wrong_msg', __('Something went wrong. Please try again.',"rtMedia"));
|
727 |
wp_localize_script('rtmedia-main', 'rtmedia_empty_album_name_msg', __('Enter an album name.',"rtMedia"));
|
728 |
wp_localize_script('rtmedia-main', 'rtmedia_max_file_msg', __('Max file size is',"rtMedia"));
|
561 |
'privacy' => false,
|
562 |
'nav' => true,
|
563 |
'like' => false,
|
|
|
564 |
'featured' => false,
|
565 |
'Group' => false,
|
566 |
'ViewCount' => false
|
721 |
wp_localize_script('rtmedia-main', 'rtmedia_media_delete_confirmation', __('Are you sure you want to delete this media?',"rtMedia"));
|
722 |
wp_localize_script('rtmedia-main', 'rtmedia_album_delete_confirmation', __('Are you sure you want to delete this Album?',"rtMedia"));
|
723 |
wp_localize_script('rtmedia-main', 'rtmedia_drop_media_msg', __('Drop files here',"rtMedia"));
|
724 |
+
wp_localize_script('rtmedia-main', 'rtmedia_album_created_msg', ' ' . __('album created successfully.',"rtMedia"));
|
725 |
wp_localize_script('rtmedia-main', 'rtmedia_something_wrong_msg', __('Something went wrong. Please try again.',"rtMedia"));
|
726 |
wp_localize_script('rtmedia-main', 'rtmedia_empty_album_name_msg', __('Enter an album name.',"rtMedia"));
|
727 |
wp_localize_script('rtmedia-main', 'rtmedia_max_file_msg', __('Max file size is',"rtMedia"));
|
app/main/controllers/template/rt-template-functions.php
CHANGED
@@ -1075,7 +1075,7 @@ function rtmedia_create_album () {
|
|
1075 |
global $rtmedia_query;
|
1076 |
$user_id = get_current_user_id ();
|
1077 |
$display = false;
|
1078 |
-
if ( isset ( $rtmedia_query->query[ 'context' ] ) && in_array ( $rtmedia_query->query[ 'context' ], array( 'profile', 'group' ) ) ) {
|
1079 |
switch ( $rtmedia_query->query[ 'context' ] ) {
|
1080 |
case 'profile':
|
1081 |
if ( $rtmedia_query->query[ 'context_id' ] == $user_id ) {
|
1075 |
global $rtmedia_query;
|
1076 |
$user_id = get_current_user_id ();
|
1077 |
$display = false;
|
1078 |
+
if ( isset ( $rtmedia_query->query[ 'context' ] ) && in_array ( $rtmedia_query->query[ 'context' ], array( 'profile', 'group' ) ) && $user_id != 0 ) {
|
1079 |
switch ( $rtmedia_query->query[ 'context' ] ) {
|
1080 |
case 'profile':
|
1081 |
if ( $rtmedia_query->query[ 'context_id' ] == $user_id ) {
|
index.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: http://rtcamp.com/buddypress-media/?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.2.
|
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/buddypress-media/?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.2.5
|
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 3.6.1 + BuddyPress 1.8.1
|
9 |
-
Stable tag: 3.2.
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
|
12 |
|
@@ -78,11 +78,11 @@ rtMedia has 3 premium solutions to take care of audio/video conversion.
|
|
78 |
|
79 |
= Important Links =
|
80 |
|
81 |
-
* [Project Homepage](http://rtcamp.com/rtmedia/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's
|
82 |
* [Roadmap](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Roadmap page")
|
83 |
-
* [Documentation](http://rtcamp.com/rtmedia/
|
84 |
-
* [FAQ](http://rtcamp.com/rtmedia/
|
85 |
-
* [Support](http://rtcamp.com/rtmedia/
|
86 |
* [GitHub](http://github.com/rtCamp/rtMedia/) - Please mention your wordpress.org username when sending pull requests.
|
87 |
* [Translations](http://rtcamp.com/translate/projects/rtmedia?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media) - Please do NOT use Github for translations. Instead Use [this GlotPress project](http://rtcamp.com/translate/projects/rtmedia?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media)
|
88 |
|
@@ -119,6 +119,9 @@ Please visit [rtMedia's Features page](http://rtcamp.com/rtmedia/?utm_source=rea
|
|
119 |
|
120 |
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.
|
121 |
|
|
|
|
|
|
|
122 |
= 3.2.4 =
|
123 |
* Updated polish,solvak and spanish transalation.
|
124 |
* Fixed multiple gallery on same page,comment sync for single media in activity, comments visibilty when not-logged in.
|
@@ -126,7 +129,7 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
|
|
126 |
|
127 |
= 3.2.3 =
|
128 |
* Bug fixed for group avatar upload while creating a group in buddypress
|
129 |
-
* Fixed multisite
|
130 |
|
131 |
= 3.2.2 =
|
132 |
* Fixed header already sent issue
|
@@ -578,7 +581,7 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
|
|
578 |
|
579 |
== Upgrade Notice ==
|
580 |
|
581 |
-
= 3.2.
|
582 |
Requires BuddyPress 1.7 or higher, if using BuddyPress. Updated translation files and bug fixes.
|
583 |
|
584 |
== Sponsors ==
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.6
|
8 |
Tested up to: WordPress 3.6.1 + BuddyPress 1.8.1
|
9 |
+
Stable tag: 3.2.5
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
|
12 |
|
78 |
|
79 |
= Important Links =
|
80 |
|
81 |
+
* [Project Homepage](http://rtcamp.com/rtmedia/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Project Homepage")
|
82 |
* [Roadmap](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Roadmap page")
|
83 |
+
* [Documentation](http://rtcamp.com/rtmedia/docs/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Documentation page")
|
84 |
+
* [FAQ](http://rtcamp.com/rtmedia/faq/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's FAQ page")
|
85 |
+
* [Support](http://rtcamp.com/rtmedia/support/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's support page")
|
86 |
* [GitHub](http://github.com/rtCamp/rtMedia/) - Please mention your wordpress.org username when sending pull requests.
|
87 |
* [Translations](http://rtcamp.com/translate/projects/rtmedia?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media) - Please do NOT use Github for translations. Instead Use [this GlotPress project](http://rtcamp.com/translate/projects/rtmedia?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media)
|
88 |
|
119 |
|
120 |
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.
|
121 |
|
122 |
+
= 3.2.5 =
|
123 |
+
* Bug fixes
|
124 |
+
|
125 |
= 3.2.4 =
|
126 |
* Updated polish,solvak and spanish transalation.
|
127 |
* Fixed multiple gallery on same page,comment sync for single media in activity, comments visibilty when not-logged in.
|
129 |
|
130 |
= 3.2.3 =
|
131 |
* Bug fixed for group avatar upload while creating a group in buddypress
|
132 |
+
* Fixed multisite
|
133 |
|
134 |
= 3.2.2 =
|
135 |
* Fixed header already sent issue
|
581 |
|
582 |
== Upgrade Notice ==
|
583 |
|
584 |
+
= 3.2.5 =
|
585 |
Requires BuddyPress 1.7 or higher, if using BuddyPress. Updated translation files and bug fixes.
|
586 |
|
587 |
== Sponsors ==
|