Version Description
Requires BuddyPress 1.7 or higher, if using BuddyPress. Update rtMedia main template.
=
Download this release
Release Info
Developer | rtcamp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 3.9.3 |
Comparing to | |
See all releases |
Code changes from version 3.9.2 to 3.9.3
- app/main/controllers/template/RTMediaTemplate.php +1 -1
- index.php +1 -1
- readme.txt +7 -3
- templates/main.php +21 -2
app/main/controllers/template/RTMediaTemplate.php
CHANGED
@@ -274,7 +274,7 @@ class RTMediaTemplate {
|
|
274 |
if ( isset( $_POST[ 'rtmedia-filepath-old' ] ) ) {
|
275 |
$is_valid_url = preg_match( "/\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i", $_POST[ 'rtmedia-filepath-old' ] );
|
276 |
|
277 |
-
if ( $is_valid_url && bp_is_active( 'activity' ) ) {
|
278 |
$thumbnailinfo = wp_get_attachment_image_src( $rtmedia_query->media[ 0 ]->media_id, 'rt_media_activity_image' );
|
279 |
$activity_id = rtmedia_activity_id( $rtmedia_query->media[ 0 ]->id );
|
280 |
|
274 |
if ( isset( $_POST[ 'rtmedia-filepath-old' ] ) ) {
|
275 |
$is_valid_url = preg_match( "/\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i", $_POST[ 'rtmedia-filepath-old' ] );
|
276 |
|
277 |
+
if ( $is_valid_url && function_exists( 'bp_is_active' ) && bp_is_active( 'activity' ) ) {
|
278 |
$thumbnailinfo = wp_get_attachment_image_src( $rtmedia_query->media[ 0 ]->media_id, 'rt_media_activity_image' );
|
279 |
$activity_id = rtmedia_activity_id( $rtmedia_query->media[ 0 ]->id );
|
280 |
|
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.9.
|
8 |
Author: rtCamp
|
9 |
Text Domain: buddypress-media
|
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.9.3
|
8 |
Author: rtCamp
|
9 |
Text Domain: buddypress-media
|
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: 4.3.1
|
9 |
-
Stable tag: 3.9.
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
@@ -140,6 +140,10 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
140 |
|
141 |
== Changelog ==
|
142 |
|
|
|
|
|
|
|
|
|
143 |
= 3.9.2 [Nov 15, 2015] =
|
144 |
* Update rtMedia main template
|
145 |
* Fix undefined JS error
|
@@ -1102,8 +1106,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
1102 |
|
1103 |
== Upgrade Notice ==
|
1104 |
|
1105 |
-
= 3.9.
|
1106 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress. Update rtMedia main template
|
1107 |
|
1108 |
== Sponsors ==
|
1109 |
|
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.1
|
9 |
+
Stable tag: 3.9.3
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= 3.9.3 [Nov 19, 2015] =
|
144 |
+
* Update rtMedia main template
|
145 |
+
* Fix undefined function call error
|
146 |
+
|
147 |
= 3.9.2 [Nov 15, 2015] =
|
148 |
* Update rtMedia main template
|
149 |
* Fix undefined JS error
|
1106 |
|
1107 |
== Upgrade Notice ==
|
1108 |
|
1109 |
+
= 3.9.3 =
|
1110 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Update rtMedia main template.
|
1111 |
|
1112 |
== Sponsors ==
|
1113 |
|
templates/main.php
CHANGED
@@ -82,9 +82,28 @@ if ( ! $rt_ajax_request ) {
|
|
82 |
?>
|
83 |
|
84 |
<?php if (bp_has_groups()) : while (bp_groups()) : bp_the_group(); ?>
|
85 |
-
<div id="item-header">
|
86 |
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
</div><!--#item-header-->
|
90 |
|
82 |
?>
|
83 |
|
84 |
<?php if (bp_has_groups()) : while (bp_groups()) : bp_the_group(); ?>
|
|
|
85 |
|
86 |
+
<?php
|
87 |
+
|
88 |
+
/**
|
89 |
+
* Fires before the display of the group home content.
|
90 |
+
*
|
91 |
+
* @since 1.2.0
|
92 |
+
*/
|
93 |
+
do_action( 'bp_before_group_home_content' ); ?>
|
94 |
+
|
95 |
+
<div id="item-header" role="complementary">
|
96 |
+
|
97 |
+
<?php
|
98 |
+
/**
|
99 |
+
* If the cover image feature is enabled, use a specific header
|
100 |
+
*/
|
101 |
+
if ( function_exists( 'bp_group_use_cover_image_header' ) && bp_group_use_cover_image_header() ) :
|
102 |
+
bp_get_template_part( 'groups/single/cover-image-header' );
|
103 |
+
else :
|
104 |
+
bp_get_template_part( 'groups/single/group-header' );
|
105 |
+
endif;
|
106 |
+
?>
|
107 |
|
108 |
</div><!--#item-header-->
|
109 |
|