Version Description
- Fixed bug where when a user visits another member's media tab when groups are inactive, they'd get an error.
- Improved long album title and count display.
Download this release
Release Info
Developer | saurabhshukla |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5 to 2.5.1
- app/assets/css/main.css +1 -0
- app/main/group/BPMediaGroup.php +1 -1
- app/main/profile/BPMediaAlbum.php +1 -1
- index.php +1 -1
- readme.txt +8 -4
app/assets/css/main.css
CHANGED
@@ -14,6 +14,7 @@ ul.bp-media-gallery h3{max-width: 150px;overflow: hidden;text-align: center;font
|
|
14 |
ul.bp-media-gallery a{width:150px;}
|
15 |
ul.bp-media-gallery li span img{height: 150px;}
|
16 |
.bp-media-single .activity-list .activity-content,.bp-media-single div.activity-comments{margin-left:0;}
|
|
|
17 |
/*li.media div.activity-content div.activity-inner p{display:none;}*/
|
18 |
div.bp_media_title{margin-bottom:10px;}
|
19 |
#bp-media-footer {color: #4D4D4D;text-align: center;text-shadow: #FAFAFA 1px 1px 0;}
|
14 |
ul.bp-media-gallery a{width:150px;}
|
15 |
ul.bp-media-gallery li span img{height: 150px;}
|
16 |
.bp-media-single .activity-list .activity-content,.bp-media-single div.activity-comments{margin-left:0;}
|
17 |
+
#bp-media-selected-album{max-width: 320px;}
|
18 |
/*li.media div.activity-content div.activity-inner p{display:none;}*/
|
19 |
div.bp_media_title{margin-bottom:10px;}
|
20 |
#bp-media-footer {color: #4D4D4D;text-align: center;text-shadow: #FAFAFA 1px 1px 0;}
|
app/main/group/BPMediaGroup.php
CHANGED
@@ -156,7 +156,7 @@ class BPMediaGroup {
|
|
156 |
static function can_upload() {
|
157 |
/** @todo Implementation Pending */
|
158 |
global $bp;
|
159 |
-
if (isset($bp->loggedin_user->id) && is_numeric($bp->loggedin_user->id)) {
|
160 |
return groups_is_user_member($bp->loggedin_user->id, bp_get_current_group_id());
|
161 |
} else {
|
162 |
return false;
|
156 |
static function can_upload() {
|
157 |
/** @todo Implementation Pending */
|
158 |
global $bp;
|
159 |
+
if (isset($bp->loggedin_user->id) && is_numeric($bp->loggedin_user->id) && class_exists( 'BP_Group_Extension' )) {
|
160 |
return groups_is_user_member($bp->loggedin_user->id, bp_get_current_group_id());
|
161 |
} else {
|
162 |
return false;
|
app/main/profile/BPMediaAlbum.php
CHANGED
@@ -203,7 +203,7 @@ class BPMediaAlbum{
|
|
203 |
<a href="<?php echo $this->url ?>" title="<?php _e($this->description,BP_MEDIA_TXT_DOMAIN); ?>">
|
204 |
<?php echo $this->thumbnail; ?>
|
205 |
</a>
|
206 |
-
<h3 title="<?php echo $this->name ?>"><a href="<?php echo $this->url ?>" title="<?php _e($this->description,BP_MEDIA_TXT_DOMAIN); ?>"><?php echo $this->name
|
207 |
</li><?php
|
208 |
}
|
209 |
|
203 |
<a href="<?php echo $this->url ?>" title="<?php _e($this->description,BP_MEDIA_TXT_DOMAIN); ?>">
|
204 |
<?php echo $this->thumbnail; ?>
|
205 |
</a>
|
206 |
+
<h3 title="<?php echo $this->name ?>"><a href="<?php echo $this->url ?>" title="<?php _e($this->description,BP_MEDIA_TXT_DOMAIN); ?>"><?php echo ( ( strlen( $this->name ) > 14 ) ? substr( $this->name, 0, 14 ) . "…" : $this->name );?> </a><?php echo ' ('.count($this->media_entries).')'; ?></h3>
|
207 |
</li><?php
|
208 |
}
|
209 |
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: BuddyPress Media
|
4 |
Plugin URI: http://rtcamp.com/buddypress-media/
|
5 |
Description: This plugin adds missing media rich features like photos, videos and audios uploading to BuddyPress which are essential if you are building social network, seriously!
|
6 |
-
Version: 2.5
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com
|
3 |
Plugin Name: BuddyPress Media
|
4 |
Plugin URI: http://rtcamp.com/buddypress-media/
|
5 |
Description: This plugin adds missing media rich features like photos, videos and audios uploading to BuddyPress which are essential if you are building social network, seriously!
|
6 |
+
Version: 2.5.1
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com
|
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: 3.5
|
8 |
Tested up to: 3.5
|
9 |
-
Stable tag: 2.5
|
10 |
|
11 |
Adds Photos, Music, Videos & Albums to your BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
|
12 |
|
@@ -87,7 +87,11 @@ Please visit [BuddyPress Media's Features page](http://rtcamp.com/buddypress-med
|
|
87 |
== Changelog ==
|
88 |
|
89 |
Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-media/roadmap/ "Visit BuddyPress Media's Features page") to get some details about future releases.
|
90 |
-
= 2.
|
|
|
|
|
|
|
|
|
91 |
* Bug fixes for admin notices on multisite installs.
|
92 |
* Bug fixes for activity on multiple uploads.
|
93 |
* Updated upload UI. Now uploads are possible from all tabs.
|
@@ -207,5 +211,5 @@ Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-medi
|
|
207 |
* HTML5 Video Tag Support (with fallback)
|
208 |
|
209 |
== Upgrade Notice ==
|
210 |
-
=2.5=
|
211 |
-
Album
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.5
|
8 |
Tested up to: 3.5
|
9 |
+
Stable tag: 2.5.1
|
10 |
|
11 |
Adds Photos, Music, Videos & Albums to your BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
|
12 |
|
87 |
== Changelog ==
|
88 |
|
89 |
Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-media/roadmap/ "Visit BuddyPress Media's Features page") to get some details about future releases.
|
90 |
+
= 2.5.1 =
|
91 |
+
* Fixed bug where when a user visits another member's media tab when groups are inactive, they'd get an error.
|
92 |
+
* Improved long album title and count display.
|
93 |
+
|
94 |
+
= 2.5 =
|
95 |
* Bug fixes for admin notices on multisite installs.
|
96 |
* Bug fixes for activity on multiple uploads.
|
97 |
* Updated upload UI. Now uploads are possible from all tabs.
|
211 |
* HTML5 Video Tag Support (with fallback)
|
212 |
|
213 |
== Upgrade Notice ==
|
214 |
+
=2.5.1=
|
215 |
+
Album title and count display fixed. Fixed bug with inactive groups.
|