Version Description
- Revises free encoding service by 10x, max file size to 200MB and monthly limit to 10GB
- Revised file size to 16GB for premium encoding service
- Fixes bug in admin js on multisite
Download this release
Release Info
Developer | saurabhshukla |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 2.15.2 |
Comparing to | |
See all releases |
Code changes from version 2.15.1 to 2.15.2
- app/assets/js/admin.js +21 -21
- app/helper/BPMediaAddon.php +15 -14
- app/services/BPMediaEncoding.php +10 -11
- index.php +1 -1
- readme.txt +10 -4
app/assets/js/admin.js
CHANGED
@@ -70,7 +70,7 @@ jQuery(document).ready(function($){
|
|
70 |
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html(response).fadeIn('slow');
|
71 |
});
|
72 |
});
|
73 |
-
|
74 |
jQuery(document).on('click',"#bpm-services .encoding-try-now",function(e){
|
75 |
e.preventDefault();
|
76 |
if(confirm(bp_media_admin_strings.are_you_sure)){
|
@@ -91,7 +91,7 @@ jQuery(document).ready(function($){
|
|
91 |
});
|
92 |
}
|
93 |
});
|
94 |
-
|
95 |
jQuery(document).on('click','#api-key-submit',function(e){
|
96 |
e.preventDefault();
|
97 |
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />')
|
@@ -109,14 +109,14 @@ jQuery(document).ready(function($){
|
|
109 |
if(document.URL.toString().indexOf('&update=true') == -1)
|
110 |
tempUrl += '&update=true';
|
111 |
document.location.href = tempUrl;
|
112 |
-
|
113 |
}else{
|
114 |
jQuery('#settings-error-api-key-error').remove();
|
115 |
jQuery('h2:first').after('<div class="error" id="settings-error-api-key-error"><p>'+response.error+'</p></div>');
|
116 |
}
|
117 |
});
|
118 |
});
|
119 |
-
|
120 |
jQuery(document).on('click','#disable-encoding',function(e){
|
121 |
e.preventDefault();
|
122 |
if ( confirm(bp_media_admin_strings.disable_encoding )) {
|
@@ -141,11 +141,11 @@ jQuery(document).ready(function($){
|
|
141 |
});
|
142 |
}
|
143 |
});
|
144 |
-
|
145 |
jQuery('.bp-media-encoding-table').on('click','.bpm-unsubscribe',function(e){
|
146 |
e.preventDefault();
|
147 |
// var note=prompt(bp_media_admin_strings.reason_for_unsubscribe);
|
148 |
-
jQuery( "#bpm-unsubscribe-dialog" ).dialog({
|
149 |
dialogClass: "wp-dialog",
|
150 |
modal: true,
|
151 |
buttons: {
|
@@ -180,9 +180,9 @@ jQuery(document).ready(function($){
|
|
180 |
}
|
181 |
}
|
182 |
});
|
183 |
-
|
184 |
});
|
185 |
-
|
186 |
function fireRequest(data) {
|
187 |
return jQuery.post(ajaxurl, data, function(response){
|
188 |
if(response != 0){
|
@@ -207,7 +207,7 @@ jQuery(document).ready(function($){
|
|
207 |
}
|
208 |
});
|
209 |
}
|
210 |
-
|
211 |
jQuery('#bpmedia-bpalbumimporter').on('change','#bp-album-import-accept',function(){
|
212 |
jQuery('.bp-album-import-accept').toggleClass('i-accept');
|
213 |
jQuery('.bp-album-importer-wizard').slideToggle();
|
@@ -283,7 +283,7 @@ jQuery(document).ready(function($){
|
|
283 |
if ( favorites ) {
|
284 |
favorite_data = {
|
285 |
'action':'bp_media_bp_album_import_favorites'
|
286 |
-
}
|
287 |
jQuery.post(ajaxurl,favorite_data,function(response){
|
288 |
if(response.favorites!==0||response.favorites!=='0'){
|
289 |
if(!jQuery('.bp-album-favorites').length)
|
@@ -301,7 +301,7 @@ jQuery(document).ready(function($){
|
|
301 |
$count=1;
|
302 |
}
|
303 |
}
|
304 |
-
|
305 |
newvals = {
|
306 |
'action':'bp_media_bp_album_import_step_favorites',
|
307 |
'offset':(i-1)*1,
|
@@ -316,7 +316,7 @@ jQuery(document).ready(function($){
|
|
316 |
return fireimportfavoriteRequest(v);
|
317 |
});
|
318 |
});
|
319 |
-
|
320 |
} else {
|
321 |
window.setTimeout(reload_url, 2000);
|
322 |
}
|
@@ -342,10 +342,10 @@ jQuery(document).ready(function($){
|
|
342 |
jQuery('.bp-album-favorites #rtprogressbar>div').css('width',favorites_progw+'%');
|
343 |
if(redirect){
|
344 |
window.setTimeout(reload_url, 2000);
|
345 |
-
}
|
346 |
});
|
347 |
}
|
348 |
-
|
349 |
function reload_url(){
|
350 |
window.location = document.URL;
|
351 |
}
|
@@ -372,7 +372,7 @@ jQuery(document).ready(function($){
|
|
372 |
i = 3; //counter
|
373 |
|
374 |
(function loop() { //recurisve IIFE
|
375 |
-
$el.css("background-color", "#EE0000");
|
376 |
setTimeout(function () {
|
377 |
$el.css("background-color", originalColor);
|
378 |
if (--i) setTimeout(loop, x); //restart loop
|
@@ -385,15 +385,15 @@ jQuery(document).ready(function($){
|
|
385 |
wp_admin_url = ajaxurl.replace('admin-ajax.php','');
|
386 |
if (!jQuery('.bpm-ajax-loader').length)
|
387 |
jQuery(this).after(' <img class="bpm-ajax-loader" src="'+wp_admin_url+'images/wpspin_light.gif" /> <strong>'+bp_media_admin_strings.no_refresh+'</strong>');
|
388 |
-
|
389 |
-
|
390 |
$progress_parent = jQuery('#bpmedia-bpalbumimport');
|
391 |
$values=[];
|
392 |
jQuery(this).parent().find('input').each(function(){
|
393 |
$values [jQuery(this).attr('name')]=[jQuery(this).val()];
|
394 |
|
395 |
});
|
396 |
-
|
397 |
if ( $values['steps'][0] == 0 )
|
398 |
$values['steps'][0]=1;
|
399 |
|
@@ -448,7 +448,7 @@ jQuery(document).ready(function($){
|
|
448 |
});
|
449 |
return false;
|
450 |
});
|
451 |
-
|
452 |
jQuery('#bpmedia-bpalbumimporter').on('click','.deactivate-bp-album',function(e){
|
453 |
e.preventDefault();
|
454 |
$bpalbum = jQuery(this);
|
@@ -462,13 +462,13 @@ jQuery(document).ready(function($){
|
|
462 |
$bpalbum.parent().after('<p>'+bp_media_admin_strings.something_went_wrong+'</p>');
|
463 |
});
|
464 |
});
|
465 |
-
|
466 |
jQuery('.updated').on('click','.bpm-hide-encoding-notice',function(){
|
467 |
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />');
|
468 |
var data ={
|
469 |
action: 'bp_media_hide_encoding_notice'
|
470 |
}
|
471 |
-
jQuery.post(ajaxurl,data,function(response){
|
472 |
if ( response ) {
|
473 |
jQuery('.bpm-hide-encoding-notice').closest('.updated').remove();
|
474 |
}
|
70 |
jQuery('#bp_media_settings_form .bp-media-metabox-holder').html(response).fadeIn('slow');
|
71 |
});
|
72 |
});
|
73 |
+
|
74 |
jQuery(document).on('click',"#bpm-services .encoding-try-now",function(e){
|
75 |
e.preventDefault();
|
76 |
if(confirm(bp_media_admin_strings.are_you_sure)){
|
91 |
});
|
92 |
}
|
93 |
});
|
94 |
+
|
95 |
jQuery(document).on('click','#api-key-submit',function(e){
|
96 |
e.preventDefault();
|
97 |
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />')
|
109 |
if(document.URL.toString().indexOf('&update=true') == -1)
|
110 |
tempUrl += '&update=true';
|
111 |
document.location.href = tempUrl;
|
112 |
+
|
113 |
}else{
|
114 |
jQuery('#settings-error-api-key-error').remove();
|
115 |
jQuery('h2:first').after('<div class="error" id="settings-error-api-key-error"><p>'+response.error+'</p></div>');
|
116 |
}
|
117 |
});
|
118 |
});
|
119 |
+
|
120 |
jQuery(document).on('click','#disable-encoding',function(e){
|
121 |
e.preventDefault();
|
122 |
if ( confirm(bp_media_admin_strings.disable_encoding )) {
|
141 |
});
|
142 |
}
|
143 |
});
|
144 |
+
|
145 |
jQuery('.bp-media-encoding-table').on('click','.bpm-unsubscribe',function(e){
|
146 |
e.preventDefault();
|
147 |
// var note=prompt(bp_media_admin_strings.reason_for_unsubscribe);
|
148 |
+
jQuery( "#bpm-unsubscribe-dialog" ).dialog({
|
149 |
dialogClass: "wp-dialog",
|
150 |
modal: true,
|
151 |
buttons: {
|
180 |
}
|
181 |
}
|
182 |
});
|
183 |
+
|
184 |
});
|
185 |
+
|
186 |
function fireRequest(data) {
|
187 |
return jQuery.post(ajaxurl, data, function(response){
|
188 |
if(response != 0){
|
207 |
}
|
208 |
});
|
209 |
}
|
210 |
+
|
211 |
jQuery('#bpmedia-bpalbumimporter').on('change','#bp-album-import-accept',function(){
|
212 |
jQuery('.bp-album-import-accept').toggleClass('i-accept');
|
213 |
jQuery('.bp-album-importer-wizard').slideToggle();
|
283 |
if ( favorites ) {
|
284 |
favorite_data = {
|
285 |
'action':'bp_media_bp_album_import_favorites'
|
286 |
+
};
|
287 |
jQuery.post(ajaxurl,favorite_data,function(response){
|
288 |
if(response.favorites!==0||response.favorites!=='0'){
|
289 |
if(!jQuery('.bp-album-favorites').length)
|
301 |
$count=1;
|
302 |
}
|
303 |
}
|
304 |
+
|
305 |
newvals = {
|
306 |
'action':'bp_media_bp_album_import_step_favorites',
|
307 |
'offset':(i-1)*1,
|
316 |
return fireimportfavoriteRequest(v);
|
317 |
});
|
318 |
});
|
319 |
+
|
320 |
} else {
|
321 |
window.setTimeout(reload_url, 2000);
|
322 |
}
|
342 |
jQuery('.bp-album-favorites #rtprogressbar>div').css('width',favorites_progw+'%');
|
343 |
if(redirect){
|
344 |
window.setTimeout(reload_url, 2000);
|
345 |
+
}
|
346 |
});
|
347 |
}
|
348 |
+
|
349 |
function reload_url(){
|
350 |
window.location = document.URL;
|
351 |
}
|
372 |
i = 3; //counter
|
373 |
|
374 |
(function loop() { //recurisve IIFE
|
375 |
+
$el.css("background-color", "#EE0000");
|
376 |
setTimeout(function () {
|
377 |
$el.css("background-color", originalColor);
|
378 |
if (--i) setTimeout(loop, x); //restart loop
|
385 |
wp_admin_url = ajaxurl.replace('admin-ajax.php','');
|
386 |
if (!jQuery('.bpm-ajax-loader').length)
|
387 |
jQuery(this).after(' <img class="bpm-ajax-loader" src="'+wp_admin_url+'images/wpspin_light.gif" /> <strong>'+bp_media_admin_strings.no_refresh+'</strong>');
|
388 |
+
|
389 |
+
|
390 |
$progress_parent = jQuery('#bpmedia-bpalbumimport');
|
391 |
$values=[];
|
392 |
jQuery(this).parent().find('input').each(function(){
|
393 |
$values [jQuery(this).attr('name')]=[jQuery(this).val()];
|
394 |
|
395 |
});
|
396 |
+
|
397 |
if ( $values['steps'][0] == 0 )
|
398 |
$values['steps'][0]=1;
|
399 |
|
448 |
});
|
449 |
return false;
|
450 |
});
|
451 |
+
|
452 |
jQuery('#bpmedia-bpalbumimporter').on('click','.deactivate-bp-album',function(e){
|
453 |
e.preventDefault();
|
454 |
$bpalbum = jQuery(this);
|
462 |
$bpalbum.parent().after('<p>'+bp_media_admin_strings.something_went_wrong+'</p>');
|
463 |
});
|
464 |
});
|
465 |
+
|
466 |
jQuery('.updated').on('click','.bpm-hide-encoding-notice',function(){
|
467 |
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />');
|
468 |
var data ={
|
469 |
action: 'bp_media_hide_encoding_notice'
|
470 |
}
|
471 |
+
jQuery.post(ajaxurl,data,function(response){
|
472 |
if ( response ) {
|
473 |
jQuery('.bpm-hide-encoding-notice').closest('.updated').remove();
|
474 |
}
|
app/helper/BPMediaAddon.php
CHANGED
@@ -33,32 +33,33 @@ if (!class_exists('BPMediaAddon')) {
|
|
33 |
|
34 |
if ( $section['callback'] )
|
35 |
call_user_func( $section['callback'], $section );
|
36 |
-
|
37 |
if ( ! isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) )
|
38 |
continue;
|
39 |
-
|
40 |
echo '<table class="form-table">';
|
41 |
do_settings_fields( $page, $section['id'] );
|
42 |
echo '</table>';
|
43 |
}
|
44 |
}
|
45 |
-
|
46 |
public function get_addons() {
|
47 |
|
48 |
$tabs = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
$tabs[] = array(
|
50 |
'title' => 'Plugins',
|
51 |
'name' => __('Plugins', 'buddypress-media'),
|
52 |
'href' => '#bpm-plugins',
|
53 |
'callback' => array($this, 'plugins_content')
|
54 |
);
|
55 |
-
|
56 |
-
$tabs[] = array(
|
57 |
-
'title' => 'Services',
|
58 |
-
'name' => __('Services', 'buddypress-media'),
|
59 |
-
'href' => '#bpm-services',
|
60 |
-
'callback' => array($bp_media_admin->bp_media_encoding, 'encoding_service_intro')
|
61 |
-
);
|
62 |
/* $tabs[] = array(
|
63 |
'title' => 'Themes',
|
64 |
'name' => __('Themes', 'buddypress-media'),
|
@@ -135,7 +136,7 @@ if (!class_exists('BPMediaAddon')) {
|
|
135 |
$addons = apply_filters('bp_media_addons', $addons);
|
136 |
|
137 |
foreach ($addons as $key => $value) {
|
138 |
-
|
139 |
if($key == 0) {
|
140 |
echo '<h3>';
|
141 |
_e('BuddyPress Media Addons for Photos');
|
@@ -151,15 +152,15 @@ if (!class_exists('BPMediaAddon')) {
|
|
151 |
|
152 |
public function services_content($args = '') {
|
153 |
|
154 |
-
|
155 |
$objEncoding->encoding_service_intro();
|
156 |
}
|
157 |
-
|
158 |
public function themes_content($args = '') {
|
159 |
echo '<h3>Coming Soon !!</h3>';
|
160 |
}
|
161 |
|
162 |
-
|
163 |
|
164 |
/**
|
165 |
*
|
33 |
|
34 |
if ( $section['callback'] )
|
35 |
call_user_func( $section['callback'], $section );
|
36 |
+
|
37 |
if ( ! isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) )
|
38 |
continue;
|
39 |
+
|
40 |
echo '<table class="form-table">';
|
41 |
do_settings_fields( $page, $section['id'] );
|
42 |
echo '</table>';
|
43 |
}
|
44 |
}
|
45 |
+
|
46 |
public function get_addons() {
|
47 |
|
48 |
$tabs = array();
|
49 |
+
global $bp_media_admin;
|
50 |
+
$tabs[] = array(
|
51 |
+
'title' => 'Encoding',
|
52 |
+
'name' => __('Audio/Video Encoding', 'buddypress-media'),
|
53 |
+
'href' => '#bpm-services',
|
54 |
+
'callback' => array($bp_media_admin->bp_media_encoding, 'encoding_service_intro')
|
55 |
+
);
|
56 |
$tabs[] = array(
|
57 |
'title' => 'Plugins',
|
58 |
'name' => __('Plugins', 'buddypress-media'),
|
59 |
'href' => '#bpm-plugins',
|
60 |
'callback' => array($this, 'plugins_content')
|
61 |
);
|
62 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
/* $tabs[] = array(
|
64 |
'title' => 'Themes',
|
65 |
'name' => __('Themes', 'buddypress-media'),
|
136 |
$addons = apply_filters('bp_media_addons', $addons);
|
137 |
|
138 |
foreach ($addons as $key => $value) {
|
139 |
+
|
140 |
if($key == 0) {
|
141 |
echo '<h3>';
|
142 |
_e('BuddyPress Media Addons for Photos');
|
152 |
|
153 |
public function services_content($args = '') {
|
154 |
|
155 |
+
|
156 |
$objEncoding->encoding_service_intro();
|
157 |
}
|
158 |
+
|
159 |
public function themes_content($args = '') {
|
160 |
echo '<h3>Coming Soon !!</h3>';
|
161 |
}
|
162 |
|
163 |
+
|
164 |
|
165 |
/**
|
166 |
*
|
app/services/BPMediaEncoding.php
CHANGED
@@ -41,7 +41,7 @@ class BPMediaEncoding {
|
|
41 |
}
|
42 |
}
|
43 |
}
|
44 |
-
if (!bp_get_option('
|
45 |
if (is_multisite()) {
|
46 |
add_action('network_admin_notices', array($this, 'encoding_service_notice'));
|
47 |
}
|
@@ -63,7 +63,7 @@ class BPMediaEncoding {
|
|
63 |
if (in_array($_SERVER['HTTP_HOST'], $blacklist)) {
|
64 |
return $class;
|
65 |
}
|
66 |
-
|
67 |
if (isset($_FILES['bp_media_file'])) {
|
68 |
$ext = end(explode(".", $_FILES['bp_media_file']["name"]));
|
69 |
if (in_array($_FILES['bp_media_file']['type'], array('audio/mp3', 'video/mp4')) || in_array($ext, array('mp3', 'mp4'))) {
|
@@ -105,7 +105,7 @@ class BPMediaEncoding {
|
|
105 |
'name' => __('Encoding', 'buddypress'),
|
106 |
'slug' => 'bp-media-encoding'
|
107 |
);
|
108 |
-
|
109 |
$reordered_tabs = NULL;
|
110 |
if ( count($tabs) > 2 ) {
|
111 |
foreach ($tabs as $key => $tab) {
|
@@ -225,7 +225,7 @@ class BPMediaEncoding {
|
|
225 |
)
|
226 |
?>
|
227 |
<div class="updated">
|
228 |
-
<p><?php printf(__('We have
|
229 |
</div><?php
|
230 |
}
|
231 |
|
@@ -271,7 +271,7 @@ class BPMediaEncoding {
|
|
271 |
|
272 |
<!-- Flag to no shipping -->
|
273 |
<input type="hidden" name="no_shipping" value="1">
|
274 |
-
|
275 |
<input type="hidden" name="notify_url" value="' . trailingslashit($this->api_url) . 'subscribe/paypal">
|
276 |
|
277 |
<!-- Flag to post payment return url -->
|
@@ -283,7 +283,7 @@ class BPMediaEncoding {
|
|
283 |
|
284 |
<input type="hidden" name="src" value="1">
|
285 |
<input type="hidden" name="sra" value="1">
|
286 |
-
|
287 |
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_subscribe_SM.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
|
288 |
</form>';
|
289 |
}
|
@@ -335,14 +335,12 @@ class BPMediaEncoding {
|
|
335 |
</thead>
|
336 |
<tr>
|
337 |
<th><?php _e('File Size Limit', 'buddypress-media'); ?></th>
|
338 |
-
<td>20MB</td>
|
339 |
-
<td>2GB</td>
|
340 |
-
<td>2GB</td>
|
341 |
-
<td>2GB</td>
|
342 |
</tr>
|
343 |
<tr>
|
344 |
<th><?php _e('Bandwidth (monthly)', 'buddypress-media'); ?></th>
|
345 |
-
<td>1GB</td>
|
346 |
<td>100GB</td>
|
347 |
<td>1TB</td>
|
348 |
<td>10TB</td>
|
@@ -507,6 +505,7 @@ class BPMediaEncoding {
|
|
507 |
|
508 |
public function hide_encoding_notice() {
|
509 |
bp_update_option('bpmedia_encoding_service_notice', true);
|
|
|
510 |
echo true;
|
511 |
die();
|
512 |
}
|
41 |
}
|
42 |
}
|
43 |
}
|
44 |
+
if (!bp_get_option('bpmedia_encoding_expansion_notice') && current_user_can('administrator')) {
|
45 |
if (is_multisite()) {
|
46 |
add_action('network_admin_notices', array($this, 'encoding_service_notice'));
|
47 |
}
|
63 |
if (in_array($_SERVER['HTTP_HOST'], $blacklist)) {
|
64 |
return $class;
|
65 |
}
|
66 |
+
|
67 |
if (isset($_FILES['bp_media_file'])) {
|
68 |
$ext = end(explode(".", $_FILES['bp_media_file']["name"]));
|
69 |
if (in_array($_FILES['bp_media_file']['type'], array('audio/mp3', 'video/mp4')) || in_array($ext, array('mp3', 'mp4'))) {
|
105 |
'name' => __('Encoding', 'buddypress'),
|
106 |
'slug' => 'bp-media-encoding'
|
107 |
);
|
108 |
+
|
109 |
$reordered_tabs = NULL;
|
110 |
if ( count($tabs) > 2 ) {
|
111 |
foreach ($tabs as $key => $tab) {
|
225 |
)
|
226 |
?>
|
227 |
<div class="updated">
|
228 |
+
<p><?php printf(__('We have increased the free plan by <strong>10 times</strong>. <a href="%s">Try the audio/video conversion for free, now</a>.', 'buddypress-media'), $link); ?> <button class="bpm-hide-encoding-notice button-secondary" type="button" ><?php _e('Hide Message', 'buddypress-media') ?></button></p>
|
229 |
</div><?php
|
230 |
}
|
231 |
|
271 |
|
272 |
<!-- Flag to no shipping -->
|
273 |
<input type="hidden" name="no_shipping" value="1">
|
274 |
+
|
275 |
<input type="hidden" name="notify_url" value="' . trailingslashit($this->api_url) . 'subscribe/paypal">
|
276 |
|
277 |
<!-- Flag to post payment return url -->
|
283 |
|
284 |
<input type="hidden" name="src" value="1">
|
285 |
<input type="hidden" name="sra" value="1">
|
286 |
+
|
287 |
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_subscribe_SM.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
|
288 |
</form>';
|
289 |
}
|
335 |
</thead>
|
336 |
<tr>
|
337 |
<th><?php _e('File Size Limit', 'buddypress-media'); ?></th>
|
338 |
+
<td>200MB (<del>20MB</del>)</td>
|
339 |
+
<td colspan="3" class="column-posts">16GB (<del>2GB</del>)</td>
|
|
|
|
|
340 |
</tr>
|
341 |
<tr>
|
342 |
<th><?php _e('Bandwidth (monthly)', 'buddypress-media'); ?></th>
|
343 |
+
<td>10GB (<del>1GB</del>)</td>
|
344 |
<td>100GB</td>
|
345 |
<td>1TB</td>
|
346 |
<td>10TB</td>
|
505 |
|
506 |
public function hide_encoding_notice() {
|
507 |
bp_update_option('bpmedia_encoding_service_notice', true);
|
508 |
+
bp_update_option('bpmedia_encoding_expansion_notice', true);
|
509 |
echo true;
|
510 |
die();
|
511 |
}
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: BuddyPress Media
|
4 |
Plugin URI: http://rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
5 |
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!
|
6 |
-
Version: 2.15.
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
3 |
Plugin Name: BuddyPress Media
|
4 |
Plugin URI: http://rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
5 |
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!
|
6 |
+
Version: 2.15.2
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
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.5 + BuddyPress 1.6
|
8 |
Tested up to: WordPress 3.5 + BuddyPress 1.7
|
9 |
-
Stable tag: 2.15.
|
10 |
|
11 |
Adds Photos, Music, Videos & Albums to BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
|
12 |
|
@@ -149,7 +149,13 @@ Please visit [BuddyPress Media's Features page](http://rtcamp.com/buddypress-med
|
|
149 |
== Changelog ==
|
150 |
|
151 |
Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-media/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit BuddyPress Media's Features page") to get some details about future releases.
|
152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
* Fixes bugs in Group settings
|
154 |
* Fixes bugs in Addon settings
|
155 |
|
@@ -450,5 +456,5 @@ Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-medi
|
|
450 |
* HTML5 Video Tag Support (with fallback)
|
451 |
|
452 |
== Upgrade Notice ==
|
453 |
-
= 2.15.
|
454 |
-
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.5 + BuddyPress 1.6
|
8 |
Tested up to: WordPress 3.5 + BuddyPress 1.7
|
9 |
+
Stable tag: 2.15.2
|
10 |
|
11 |
Adds Photos, Music, Videos & Albums to BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
|
12 |
|
149 |
== Changelog ==
|
150 |
|
151 |
Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-media/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit BuddyPress Media's Features page") to get some details about future releases.
|
152 |
+
|
153 |
+
= 2.15.2 =
|
154 |
+
* Revises free encoding service by 10x, max file size to 200MB and monthly limit to 10GB
|
155 |
+
* Revised file size to 16GB for premium encoding service
|
156 |
+
* Fixes bug in admin js on multisite
|
157 |
+
|
158 |
+
= 2.15.1 =
|
159 |
* Fixes bugs in Group settings
|
160 |
* Fixes bugs in Addon settings
|
161 |
|
456 |
* HTML5 Video Tag Support (with fallback)
|
457 |
|
458 |
== Upgrade Notice ==
|
459 |
+
= 2.15.2 =
|
460 |
+
Revised free encoding plan by 10x
|