rtMedia for WordPress, BuddyPress and bbPress - Version 2.4.2

Version Description

  • Fixed bug where settings weren't getting saved on multisites.
  • Workaround for bug where the last activity wouldn't show up.
  • Fixed bug with iOS uploads.
  • Some minor code changes
Download this release

Release Info

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

Code changes from version 2.4.1 to 2.4.2

app/admin/BPMediaAdmin.php CHANGED
@@ -64,7 +64,7 @@ if (!class_exists('BPMediaAdmin')) {
64
  * Render the BuddyPress Media Settings page
65
  */
66
  public function settings_page() {
67
- $this->render_page('bp-media-settings', true);
68
  }
69
 
70
  /**
@@ -90,7 +90,7 @@ if (!class_exists('BPMediaAdmin')) {
90
  *
91
  * @global string BP_MEDIA_TXT_DOMAIN
92
  */
93
- public function render_page($page, $is_settings = false) {
94
  ?>
95
 
96
  <div class="wrap bp-media-admin <?php echo $this->get_current_tab(); ?>">
@@ -105,15 +105,15 @@ if (!class_exists('BPMediaAdmin')) {
105
 
106
  <div id="bp-media-settings-boxes">
107
  <?php
108
- $settings_url = ( is_multisite() ) ? network_admin_url('network/edit.php?action=bp_media_options') : 'options.php';
109
  ?>
110
  <form id="bp_media_settings_form" name="bp_media_settings_form" action="<?php echo $settings_url; ?>" method="post" enctype="multipart/form-data">
111
  <div class="bp-media-metabox-holder"><?php
112
  // if (isset($_REQUEST['request_type'])) {
113
  // bp_media_bug_report_form($_REQUEST['request_type']);
114
  // } else {
115
- if ($is_settings) {
116
- settings_fields('bp_media');
117
  do_settings_sections($page);
118
  submit_button();
119
  } else {
@@ -193,11 +193,9 @@ if (!class_exists('BPMediaAdmin')) {
193
  'name' => __('Support', BP_MEDIA_TXT_DOMAIN),
194
  'class' => ($tab == 'bp-media-support') ? $active_class : $idle_class . ' last_tab'
195
  );
196
-
197
- $i = '1';
198
  foreach ($tabs as $tab) {
199
  $tabs_html.= '<a title="' . $tab['title'] . '" href="' . $tab['href'] . '" class="' . $tab['class'] . '">' . $tab['name'] . '</a>';
200
- $i++;
201
  }
202
  echo $tabs_html;
203
  }
@@ -241,9 +239,16 @@ if (!class_exists('BPMediaAdmin')) {
241
  }
242
 
243
  /* Multisite Save Options - http://wordpress.stackexchange.com/questions/64968/settings-api-in-multisite-missing-update-message#answer-72503 */
244
-
245
  public function save_multisite_options() {
246
- update_site_option('bp_media_options', $_POST['bp_media_options']);
 
 
 
 
 
 
 
 
247
  // redirect to settings page in network
248
  wp_redirect(
249
  add_query_arg(
64
  * Render the BuddyPress Media Settings page
65
  */
66
  public function settings_page() {
67
+ $this->render_page('bp-media-settings', 'bp_media');
68
  }
69
 
70
  /**
90
  *
91
  * @global string BP_MEDIA_TXT_DOMAIN
92
  */
93
+ public function render_page($page, $option_group = NULL) {
94
  ?>
95
 
96
  <div class="wrap bp-media-admin <?php echo $this->get_current_tab(); ?>">
105
 
106
  <div id="bp-media-settings-boxes">
107
  <?php
108
+ $settings_url = ( is_multisite() ) ? network_admin_url('edit.php?action=bp_media_options') : 'options.php';
109
  ?>
110
  <form id="bp_media_settings_form" name="bp_media_settings_form" action="<?php echo $settings_url; ?>" method="post" enctype="multipart/form-data">
111
  <div class="bp-media-metabox-holder"><?php
112
  // if (isset($_REQUEST['request_type'])) {
113
  // bp_media_bug_report_form($_REQUEST['request_type']);
114
  // } else {
115
+ if ($option_group) {
116
+ settings_fields($option_group);
117
  do_settings_sections($page);
118
  submit_button();
119
  } else {
193
  'name' => __('Support', BP_MEDIA_TXT_DOMAIN),
194
  'class' => ($tab == 'bp-media-support') ? $active_class : $idle_class . ' last_tab'
195
  );
196
+ $tabs = apply_filters('bp_media_add_sub_tabs', $tabs, $tab);
 
197
  foreach ($tabs as $tab) {
198
  $tabs_html.= '<a title="' . $tab['title'] . '" href="' . $tab['href'] . '" class="' . $tab['class'] . '">' . $tab['name'] . '</a>';
 
199
  }
200
  echo $tabs_html;
201
  }
239
  }
240
 
241
  /* Multisite Save Options - http://wordpress.stackexchange.com/questions/64968/settings-api-in-multisite-missing-update-message#answer-72503 */
 
242
  public function save_multisite_options() {
243
+
244
+ global $bp_media_admin;
245
+ if (isset($_POST['refresh-count'])) {
246
+ $bp_media_admin->update_count();
247
+ }
248
+ do_action('bp_media_sanitize_settings', $_POST);
249
+
250
+ bp_update_option('bp_media_options', $_POST['bp_media_options']);
251
+
252
  // redirect to settings page in network
253
  wp_redirect(
254
  add_query_arg(
app/assets/css/main.css CHANGED
@@ -14,7 +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;}
20
  #wpbody-content div.metabox-fixed{width: 280px;margin-right: -300px;float: right;}
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;}
20
  #wpbody-content div.metabox-fixed{width: 280px;margin-right: -300px;float: right;}
app/helper/BPMediaSettings.php CHANGED
@@ -22,23 +22,28 @@ if (!class_exists('BPMediaSettings')) {
22
  global $bp_media_addon;
23
  add_settings_section('bpm-settings', __('BuddyPress Media Settings', BP_MEDIA_TXT_DOMAIN), '', 'bp-media-settings');
24
  add_settings_field('bpm-video', __('Video', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
 
25
  'option' => 'videos_enabled',
26
  'desc' => __('Check to enable video upload functionality', BP_MEDIA_TXT_DOMAIN)
27
  ));
28
  add_settings_field('bpm-audio', __('Audio', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
 
29
  'option' => 'audio_enabled',
30
  'desc' => __('Check to enable audio upload functionality', BP_MEDIA_TXT_DOMAIN)
31
  ));
32
  add_settings_field('bpm-image', __('Images', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
 
33
  'option' => 'images_enabled',
34
  'desc' => __('Check to enable images upload functionality', BP_MEDIA_TXT_DOMAIN)
35
  ));
36
  add_settings_field('bpm-download', __('Download', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
 
37
  'option' => 'download_enabled',
38
  'desc' => __('Check to enable download functionality', BP_MEDIA_TXT_DOMAIN)
39
  ));
40
  add_settings_section('bpm-spread-the-word', __('Spread the Word', BP_MEDIA_TXT_DOMAIN), '', 'bp-media-settings');
41
  add_settings_field('bpm-spread-the-word-settings', __('Spread the Word', BP_MEDIA_TXT_DOMAIN), array($this, 'radio'), 'bp-media-settings', 'bpm-spread-the-word', array(
 
42
  'option' => 'remove_linkback',
43
  'radios' => array(
44
  2 => __('Yes, I support BuddyPress Media', BP_MEDIA_TXT_DOMAIN),
@@ -70,10 +75,11 @@ if (!class_exists('BPMediaSettings')) {
70
  global $bp_media_admin;
71
  if (isset($_POST['refresh-count'])) {
72
  if ($bp_media_admin->update_count())
73
- add_settings_error('Recount Success', 'recount-success', __('Recounting of media files done successfully', BP_MEDIA_TXT_DOMAIN), 'updated');
74
  else
75
- add_settings_error('Recount Fail', 'recount-fail', __('Recounting Failed', BP_MEDIA_TXT_DOMAIN));
76
  }
 
77
  return $input;
78
  }
79
 
@@ -87,6 +93,7 @@ if (!class_exists('BPMediaSettings')) {
87
  global $bp_media;
88
  $options = $bp_media->options;
89
  $defaults = array(
 
90
  'option' => '',
91
  'desc' => '',
92
  );
@@ -96,11 +103,18 @@ if (!class_exists('BPMediaSettings')) {
96
  trigger_error(__('Please provide "option" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( \'option\' => \'option_name\' ) ', BP_MEDIA_TXT_DOMAIN));
97
  return;
98
  }
 
 
 
 
 
 
 
99
  if (!isset($options[$option]))
100
  $options[$option] = '';
101
  ?>
102
  <label for="<?php echo $option; ?>">
103
- <input<?php checked($options[$option]); ?> name="bp_media_options[<?php echo $option; ?>]" id="<?php echo $option; ?>" value="1" type="checkbox" />
104
  <?php echo $desc; ?>
105
  </label><?php
106
  }
@@ -115,6 +129,7 @@ if (!class_exists('BPMediaSettings')) {
115
  global $bp_media;
116
  $options = $bp_media->options;
117
  $defaults = array(
 
118
  'option' => '',
119
  'radios' => array(),
120
  'default' => '',
@@ -128,12 +143,20 @@ if (!class_exists('BPMediaSettings')) {
128
  trigger_error(__('Need to specify atleast to radios else use a checkbox instead', BP_MEDIA_TXT_DOMAIN));
129
  return;
130
  }
 
 
 
 
 
 
 
131
  if ((isset($options[$option]) && empty($options[$option])) || !isset($options[$option])) {
132
  $options[$option] = $default;
133
  }
 
134
  foreach ($radios as $value => $desc) {
135
  ?>
136
- <label for="<?php echo sanitize_title($desc); ?>"><input<?php checked($options[$option], $value); ?> value="<?php echo $value; ?>" name="bp_media_options[<?php echo $option; ?>]" id="<?php echo sanitize_title($desc); ?>" type="radio" /><?php echo $desc; ?></label><br /><?php
137
  }
138
  }
139
 
@@ -147,6 +170,7 @@ if (!class_exists('BPMediaSettings')) {
147
  global $bp_media;
148
  $options = $bp_media->options;
149
  $defaults = array(
 
150
  'option' => '',
151
  'desc' => '',
152
  );
@@ -156,11 +180,18 @@ if (!class_exists('BPMediaSettings')) {
156
  trigger_error(__('Please provide "option" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( \'option\' => \'option_name\' )', BP_MEDIA_TXT_DOMAIN));
157
  return;
158
  }
 
 
 
 
 
 
 
159
  if ((isset($options[$option]) && empty($options[$option])) || !isset($options[$option])) {
160
  $options[$option] = '';
161
  }
162
  ?>
163
- <label for="<?php echo sanitize_title($option); ?>"><input value="<?php echo $options[$option]; ?>" name="bp_media_options[<?php echo $option; ?>]" id="<?php echo sanitize_title($option); ?>" type="text" /><?php
164
  if (!empty($desc)) {
165
  echo '<br /><span class="description">' . $desc . '</span>';
166
  }
@@ -175,6 +206,7 @@ if (!class_exists('BPMediaSettings')) {
175
  */
176
  public function dropdown($args) {
177
  $defaults = array(
 
178
  'option' => '',
179
  'none' => true,
180
  'values' => ''
@@ -188,14 +220,24 @@ if (!class_exists('BPMediaSettings')) {
188
  trigger_error(__('Please provide some values to populate the dropdown. Format : array( \'value\' => \'option\' )', BP_MEDIA_TXT_DOMAIN));
189
  return;
190
  }
191
- ?>
192
- <select name="<?php echo $option; ?>" id="<?php echo $option; ?>"><?php if ($none) { ?>
 
 
 
 
 
 
 
 
 
 
193
  <option><?php __e('None', BP_MEDIA_TXT_DOMAIN); ?></option><?php
194
  }
195
  foreach ($values as $value => $text) {
196
  ?>
197
- <option value="<?php echo $value; ?>"><?php echo $text; ?></option><?php }
198
- ?>
199
  </select><?php
200
  }
201
 
@@ -207,6 +249,7 @@ if (!class_exists('BPMediaSettings')) {
207
  */
208
  public function button($args) {
209
  $defaults = array(
 
210
  'option' => '',
211
  'name' => 'Save Changes',
212
  'desc' => '',
@@ -217,7 +260,11 @@ if (!class_exists('BPMediaSettings')) {
217
  trigger_error('Please provide "option" value ( Required ) in the argument. Pass argument to add_settings_field in the following format array( \'option\' => \'option_name\', \'link\' => \'linkurl\' )');
218
  return;
219
  }
220
- submit_button($name, '', $option, false);
 
 
 
 
221
  if (!empty($desc)) {
222
  ?>
223
  <span class="description"><?php echo $desc; ?></a><?php
22
  global $bp_media_addon;
23
  add_settings_section('bpm-settings', __('BuddyPress Media Settings', BP_MEDIA_TXT_DOMAIN), '', 'bp-media-settings');
24
  add_settings_field('bpm-video', __('Video', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
25
+ 'setting' => 'bp_media_options',
26
  'option' => 'videos_enabled',
27
  'desc' => __('Check to enable video upload functionality', BP_MEDIA_TXT_DOMAIN)
28
  ));
29
  add_settings_field('bpm-audio', __('Audio', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
30
+ 'setting' => 'bp_media_options',
31
  'option' => 'audio_enabled',
32
  'desc' => __('Check to enable audio upload functionality', BP_MEDIA_TXT_DOMAIN)
33
  ));
34
  add_settings_field('bpm-image', __('Images', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
35
+ 'setting' => 'bp_media_options',
36
  'option' => 'images_enabled',
37
  'desc' => __('Check to enable images upload functionality', BP_MEDIA_TXT_DOMAIN)
38
  ));
39
  add_settings_field('bpm-download', __('Download', BP_MEDIA_TXT_DOMAIN), array($this, 'checkbox'), 'bp-media-settings', 'bpm-settings', array(
40
+ 'setting' => 'bp_media_options',
41
  'option' => 'download_enabled',
42
  'desc' => __('Check to enable download functionality', BP_MEDIA_TXT_DOMAIN)
43
  ));
44
  add_settings_section('bpm-spread-the-word', __('Spread the Word', BP_MEDIA_TXT_DOMAIN), '', 'bp-media-settings');
45
  add_settings_field('bpm-spread-the-word-settings', __('Spread the Word', BP_MEDIA_TXT_DOMAIN), array($this, 'radio'), 'bp-media-settings', 'bpm-spread-the-word', array(
46
+ 'setting' => 'bp_media_options',
47
  'option' => 'remove_linkback',
48
  'radios' => array(
49
  2 => __('Yes, I support BuddyPress Media', BP_MEDIA_TXT_DOMAIN),
75
  global $bp_media_admin;
76
  if (isset($_POST['refresh-count'])) {
77
  if ($bp_media_admin->update_count())
78
+ add_settings_error(__('Recount Success', BP_MEDIA_TXT_DOMAIN), 'recount-success', __('Recounting of media files done successfully', BP_MEDIA_TXT_DOMAIN), 'updated');
79
  else
80
+ add_settings_error(__('Recount Fail', BP_MEDIA_TXT_DOMAIN), 'recount-fail', __('Recounting Failed', BP_MEDIA_TXT_DOMAIN));
81
  }
82
+ do_action('bp_media_sanitize_settings', $_POST, $input);
83
  return $input;
84
  }
85
 
93
  global $bp_media;
94
  $options = $bp_media->options;
95
  $defaults = array(
96
+ 'setting' => '',
97
  'option' => '',
98
  'desc' => '',
99
  );
103
  trigger_error(__('Please provide "option" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( \'option\' => \'option_name\' ) ', BP_MEDIA_TXT_DOMAIN));
104
  return;
105
  }
106
+
107
+ if (!empty($setting)) {
108
+ $name = $setting . '[' . $option . ']';
109
+ $options = bp_get_option($setting);
110
+ } else
111
+ $name = $option;
112
+
113
  if (!isset($options[$option]))
114
  $options[$option] = '';
115
  ?>
116
  <label for="<?php echo $option; ?>">
117
+ <input<?php checked($options[$option]); ?> name="<?php echo $name; ?>" id="<?php echo $option; ?>" value="1" type="checkbox" />
118
  <?php echo $desc; ?>
119
  </label><?php
120
  }
129
  global $bp_media;
130
  $options = $bp_media->options;
131
  $defaults = array(
132
+ 'setting' => '',
133
  'option' => '',
134
  'radios' => array(),
135
  'default' => '',
143
  trigger_error(__('Need to specify atleast to radios else use a checkbox instead', BP_MEDIA_TXT_DOMAIN));
144
  return;
145
  }
146
+
147
+ if (!empty($setting)) {
148
+ $name = $setting . '[' . $option . ']';
149
+ $options = bp_get_option($setting);
150
+ } else
151
+ $name = $option;
152
+
153
  if ((isset($options[$option]) && empty($options[$option])) || !isset($options[$option])) {
154
  $options[$option] = $default;
155
  }
156
+
157
  foreach ($radios as $value => $desc) {
158
  ?>
159
+ <label for="<?php echo sanitize_title($desc); ?>"><input<?php checked($options[$option], $value); ?> value="<?php echo $value; ?>" name="<?php echo $name; ?>" id="<?php echo sanitize_title($desc); ?>" type="radio" /><?php echo $desc; ?></label><br /><?php
160
  }
161
  }
162
 
170
  global $bp_media;
171
  $options = $bp_media->options;
172
  $defaults = array(
173
+ 'setting' => '',
174
  'option' => '',
175
  'desc' => '',
176
  );
180
  trigger_error(__('Please provide "option" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( \'option\' => \'option_name\' )', BP_MEDIA_TXT_DOMAIN));
181
  return;
182
  }
183
+
184
+ if (!empty($setting)) {
185
+ $name = $setting . '[' . $option . ']';
186
+ $options = bp_get_option($setting);
187
+ } else
188
+ $name = $option;
189
+
190
  if ((isset($options[$option]) && empty($options[$option])) || !isset($options[$option])) {
191
  $options[$option] = '';
192
  }
193
  ?>
194
+ <label for="<?php echo sanitize_title($option); ?>"><input value="<?php echo $options[$option]; ?>" name="<?php echo $name; ?>" id="<?php echo sanitize_title($option); ?>" type="text" /><?php
195
  if (!empty($desc)) {
196
  echo '<br /><span class="description">' . $desc . '</span>';
197
  }
206
  */
207
  public function dropdown($args) {
208
  $defaults = array(
209
+ 'setting' => '',
210
  'option' => '',
211
  'none' => true,
212
  'values' => ''
220
  trigger_error(__('Please provide some values to populate the dropdown. Format : array( \'value\' => \'option\' )', BP_MEDIA_TXT_DOMAIN));
221
  return;
222
  }
223
+
224
+ if (!empty($setting)) {
225
+ $name = $setting . '[' . $option . ']';
226
+ $options = bp_get_option($setting);
227
+ } else
228
+ $name = $option;
229
+
230
+ if ((isset($options[$option]) && empty($options[$option])) || !isset($options[$option])) {
231
+ $options[$option] = '';
232
+ }
233
+ ?>
234
+ <select name="<?php echo $name; ?>" id="<?php echo $option; ?>"><?php if ($none) { ?>
235
  <option><?php __e('None', BP_MEDIA_TXT_DOMAIN); ?></option><?php
236
  }
237
  foreach ($values as $value => $text) {
238
  ?>
239
+ <option<?php selected($options[$option], $value); ?> value="<?php echo $value; ?>"><?php echo $text; ?></option><?php }
240
+ ?>
241
  </select><?php
242
  }
243
 
249
  */
250
  public function button($args) {
251
  $defaults = array(
252
+ 'setting' => '',
253
  'option' => '',
254
  'name' => 'Save Changes',
255
  'desc' => '',
260
  trigger_error('Please provide "option" value ( Required ) in the argument. Pass argument to add_settings_field in the following format array( \'option\' => \'option_name\', \'link\' => \'linkurl\' )');
261
  return;
262
  }
263
+ if (!empty($setting)) {
264
+ $button = $setting . '[' . $option . ']';
265
+ } else
266
+ $button = $option;
267
+ submit_button($name, '', $button, false);
268
  if (!empty($desc)) {
269
  ?>
270
  <span class="description"><?php echo $desc; ?></a><?php
app/helper/BPMediaSupport.php CHANGED
@@ -95,12 +95,16 @@ if (!class_exists('BPMediaSupport')) {
95
  global $bp_media;
96
  $form_data = wp_parse_args($_POST['form_data']);
97
  if ($form_data['request_type'] == 'premium_support') {
 
98
  $title = __('BuddyPress Media Premium Support Request from', BP_MEDIA_TXT_DOMAIN);
99
  } elseif ($form_data['request_type'] == 'new_feature') {
 
100
  $title = __('BuddyPress Media New Feature Request from', BP_MEDIA_TXT_DOMAIN);
101
  } elseif ($form_data['request_type'] == 'bug_report') {
 
102
  $title = __('BuddyPress Media Bug Report from', BP_MEDIA_TXT_DOMAIN);
103
  } else {
 
104
  $title = __('BuddyPress Media Contact from', BP_MEDIA_TXT_DOMAIN);
105
  }
106
  $message = '<html>
@@ -165,7 +169,7 @@ if (!class_exists('BPMediaSupport')) {
165
  </html>';
166
  add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
167
  $headers = 'From: ' . $form_data['name'] . ' <' . $form_data['email'] . '>' . "\r\n";
168
- if (wp_mail($bp_media->support_email, '[buddypress-media] Bug Report | Premium Support from '.str_replace( array('http://', 'https://'), '', $form_data['website']), $message, $headers)) {
169
  if ($form_data['request_type'] == 'new_feature') {
170
  echo '<p>' . __('Thank you for your Feedback/Suggestion.', BP_MEDIA_TXT_DOMAIN) . '</p>';
171
  } else {
95
  global $bp_media;
96
  $form_data = wp_parse_args($_POST['form_data']);
97
  if ($form_data['request_type'] == 'premium_support') {
98
+ $mail_type = 'Premium Support';
99
  $title = __('BuddyPress Media Premium Support Request from', BP_MEDIA_TXT_DOMAIN);
100
  } elseif ($form_data['request_type'] == 'new_feature') {
101
+ $mail_type = 'New Feature Request';
102
  $title = __('BuddyPress Media New Feature Request from', BP_MEDIA_TXT_DOMAIN);
103
  } elseif ($form_data['request_type'] == 'bug_report') {
104
+ $mail_type = 'Bug Report';
105
  $title = __('BuddyPress Media Bug Report from', BP_MEDIA_TXT_DOMAIN);
106
  } else {
107
+ $mail_type = 'Bug Report';
108
  $title = __('BuddyPress Media Contact from', BP_MEDIA_TXT_DOMAIN);
109
  }
110
  $message = '<html>
169
  </html>';
170
  add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
171
  $headers = 'From: ' . $form_data['name'] . ' <' . $form_data['email'] . '>' . "\r\n";
172
+ if (wp_mail($bp_media->support_email, '[buddypress-media] ' . $mail_type . ' from ' . str_replace(array('http://', 'https://'), '', $form_data['website']), $message, $headers)) {
173
  if ($form_data['request_type'] == 'new_feature') {
174
  echo '<p>' . __('Thank you for your Feedback/Suggestion.', BP_MEDIA_TXT_DOMAIN) . '</p>';
175
  } else {
app/main/includes/BPMediaActions.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Description of BPMediaActions
4
  *
@@ -8,24 +9,24 @@ class BPMediaActions {
8
 
9
  function __construct() {
10
  add_action('bp_media_before_content', 'BPMediaActions::show_messages');
11
- add_action('wp_enqueue_scripts', array($this,'enqueue_scripts_styles'), 11);
12
  add_action('bp_before_activity_delete', 'BPMediaActions::delete_activity_handler');
13
- add_action('wp_enqueue_scripts', array($this,'upload_enqueue'));
14
  add_action('init', 'BPMediaActions::init_count');
15
- add_action('bp_activity_entry_meta', array($this,'action_buttons'));
16
  add_action('bp_media_before_delete_media', 'BPMediaActions::delete_media_handler');
17
- add_action('bp_media_after_add_album', array($this,'album_create_activity'));
18
- add_action('bp_media_album_updated', array($this,'album_activity_update'));
19
- add_action('bp_media_after_delete_media', array($this,'album_activity_sync'));
20
  add_action('bp_media_after_add_media', 'BPMediaActions::activity_create_after_add_media', 10, 2);
21
- add_action('wp_ajax_bp_media_load_more', array($this,'load_more'));
22
- add_action('wp_ajax_nopriv_bp_media_load_more', array($this,'load_more'));
23
- add_action('delete_attachment', array($this,'delete_attachment_handler'));
24
- add_action('wp_ajax_bp_media_add_album', array($this,'add_album'));
25
- add_action('wp_ajax_nopriv_bp_media_add_album', array($this,'add_album'));
26
  global $bp_media_options;
27
  if (isset($bp_media_options['remove_linkback']) && $bp_media_options['remove_linkback'] != '1')
28
- add_action('bp_footer', array($this,'footer'));
29
  }
30
 
31
  /**
@@ -43,9 +44,9 @@ class BPMediaActions {
43
  if (isset($_POST['action']) && $_POST['action'] == 'wp_handle_upload') {
44
  /** This section can help in the group activity handling */
45
  if (isset($_POST['bp_media_group_id']) && intval($_POST['bp_media_group_id'])) {
46
- remove_action('bp_media_after_add_media','BPMediaActions::activity_create_after_add_media', 10, 2);
47
- add_action('bp_media_after_add_media', 'BPMediaGroupAction::bp_media_groups_activity_create_after_add_media', 10, 2);
48
- add_filter('bp_media_force_hide_activity', 'bp_media_groups_force_hide_activity');
49
  }
50
  /* @var $bp_media_entry BPMediaHostWordpress */
51
  if (isset($_FILES) && is_array($_FILES) && array_key_exists('bp_media_file', $_FILES) && $_FILES['bp_media_file']['name'] != '') {
@@ -182,7 +183,7 @@ class BPMediaActions {
182
 
183
  static function delete_media_handler($media_id) {
184
  /* @var $media BPMediaHostWordpress */
185
- remove_action('bp_before_activity_delete','BPMediaActions::delete_activity_handler');
186
  $activity_id = get_post_meta($media_id, 'bp_media_child_activity', true);
187
  if ($activity_id == NULL)
188
  return false;
1
  <?php
2
+
3
  /**
4
  * Description of BPMediaActions
5
  *
9
 
10
  function __construct() {
11
  add_action('bp_media_before_content', 'BPMediaActions::show_messages');
12
+ add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts_styles'), 11);
13
  add_action('bp_before_activity_delete', 'BPMediaActions::delete_activity_handler');
14
+ add_action('wp_enqueue_scripts', array($this, 'upload_enqueue'));
15
  add_action('init', 'BPMediaActions::init_count');
16
+ add_action('bp_activity_entry_meta', array($this, 'action_buttons'));
17
  add_action('bp_media_before_delete_media', 'BPMediaActions::delete_media_handler');
18
+ add_action('bp_media_after_add_album', array($this, 'album_create_activity'));
19
+ add_action('bp_media_album_updated', array($this, 'album_activity_update'));
20
+ add_action('bp_media_after_delete_media', array($this, 'album_activity_sync'));
21
  add_action('bp_media_after_add_media', 'BPMediaActions::activity_create_after_add_media', 10, 2);
22
+ add_action('wp_ajax_bp_media_load_more', array($this, 'load_more'));
23
+ add_action('wp_ajax_nopriv_bp_media_load_more', array($this, 'load_more'));
24
+ add_action('delete_attachment', array($this, 'delete_attachment_handler'));
25
+ add_action('wp_ajax_bp_media_add_album', array($this, 'add_album'));
26
+ add_action('wp_ajax_nopriv_bp_media_add_album', array($this, 'add_album'));
27
  global $bp_media_options;
28
  if (isset($bp_media_options['remove_linkback']) && $bp_media_options['remove_linkback'] != '1')
29
+ add_action('bp_footer', array($this, 'footer'));
30
  }
31
 
32
  /**
44
  if (isset($_POST['action']) && $_POST['action'] == 'wp_handle_upload') {
45
  /** This section can help in the group activity handling */
46
  if (isset($_POST['bp_media_group_id']) && intval($_POST['bp_media_group_id'])) {
47
+ remove_action('bp_media_after_add_media', 'BPMediaActions::activity_create_after_add_media', 10, 2);
48
+ add_action('bp_media_after_add_media', 'BPMediaGroupAction::groups_activity_create_after_add_media', 10, 2);
49
+ add_filter('bp_media_force_hide_activity', 'BPMediaGroupAction::bp_media_groups_force_hide_activity');
50
  }
51
  /* @var $bp_media_entry BPMediaHostWordpress */
52
  if (isset($_FILES) && is_array($_FILES) && array_key_exists('bp_media_file', $_FILES) && $_FILES['bp_media_file']['name'] != '') {
183
 
184
  static function delete_media_handler($media_id) {
185
  /* @var $media BPMediaHostWordpress */
186
+ remove_action('bp_before_activity_delete', 'BPMediaActions::delete_activity_handler');
187
  $activity_id = get_post_meta($media_id, 'bp_media_child_activity', true);
188
  if ($activity_id == NULL)
189
  return false;
app/main/includes/BPMediaFilters.php CHANGED
@@ -227,7 +227,7 @@ class BPMediaFilters {
227
  // Addons
228
  $bp_media_admin_nav[] = array(
229
  'parent' => 'bp-media-menu',
230
- 'id' => 'my-account-addons',
231
  'title' => __('Addons', BP_MEDIA_TXT_DOMAIN),
232
  'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-addons'), 'admin.php'))
233
  );
@@ -235,11 +235,13 @@ class BPMediaFilters {
235
  // Support
236
  $bp_media_admin_nav[] = array(
237
  'parent' => 'bp-media-menu',
238
- 'id' => 'my-account-support',
239
  'title' => __('Support', BP_MEDIA_TXT_DOMAIN),
240
  'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-support'), 'admin.php'))
241
  );
242
-
 
 
243
  foreach ($bp_media_admin_nav as $admin_menu)
244
  $wp_admin_bar->add_menu($admin_menu);
245
  }
227
  // Addons
228
  $bp_media_admin_nav[] = array(
229
  'parent' => 'bp-media-menu',
230
+ 'id' => 'bp-media-addons',
231
  'title' => __('Addons', BP_MEDIA_TXT_DOMAIN),
232
  'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-addons'), 'admin.php'))
233
  );
235
  // Support
236
  $bp_media_admin_nav[] = array(
237
  'parent' => 'bp-media-menu',
238
+ 'id' => 'bp-media-support',
239
  'title' => __('Support', BP_MEDIA_TXT_DOMAIN),
240
  'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-support'), 'admin.php'))
241
  );
242
+
243
+ $bp_media_admin_nav = apply_filters('bp_media_add_admin_bar_item', $bp_media_admin_nav);
244
+
245
  foreach ($bp_media_admin_nav as $admin_menu)
246
  $wp_admin_bar->add_menu($admin_menu);
247
  }
app/main/includes/BPMediaFunction.php CHANGED
@@ -3,7 +3,8 @@
3
  class BPMediaFunction {
4
 
5
  function __construct() {
6
- add_action('bp_init', array($this,'swap_filters'));
 
7
  add_action('wp_ajax_my_featured_action', array($this,'implement_featured_ajax'));
8
  add_action('wp_ajax_nopriv_my_featured_action', array($this,'implement_featured_ajax'));
9
  }
@@ -78,17 +79,19 @@ class BPMediaFunction {
78
  }
79
  *
80
  */
81
- static function conditional_override_allowed_tags($content, $activity = null) {
82
  global $bp_media;
83
- if ($activity != null && in_array($activity->type, $bp_media->activity_types)) {
84
 
 
85
  add_filter('bp_activity_allowed_tags', 'BPMediaFunction::override_allowed_tags', 1);
86
  }
 
87
  return $content;
 
88
  }
89
 
90
  function swap_filters() {
91
- add_filter('bp_get_activity_content_body', 'BPMediaFunction::conditional_override_allowed_tags', 1, 2);
92
  }
93
 
94
  /**
3
  class BPMediaFunction {
4
 
5
  function __construct() {
6
+ //add_action('bp_init', array($this,'swap_filters'));
7
+ add_filter('bp_get_activity_content_body', array($this,'conditional_override_allowed_tags'), 1, 2);
8
  add_action('wp_ajax_my_featured_action', array($this,'implement_featured_ajax'));
9
  add_action('wp_ajax_nopriv_my_featured_action', array($this,'implement_featured_ajax'));
10
  }
79
  }
80
  *
81
  */
82
+ function conditional_override_allowed_tags($content, $activity = null) {
83
  global $bp_media;
 
84
 
85
+ if ($activity != null && in_array($activity->type, $bp_media->activity_types)) {
86
  add_filter('bp_activity_allowed_tags', 'BPMediaFunction::override_allowed_tags', 1);
87
  }
88
+
89
  return $content;
90
+
91
  }
92
 
93
  function swap_filters() {
94
+ //add_filter('bp_get_activity_content_body', 'BPMediaFunction::conditional_override_allowed_tags', 2, 2);
95
  }
96
 
97
  /**
app/main/includes/BPMediaHostWordpress.php CHANGED
@@ -375,8 +375,8 @@ class BPMediaHostWordpress {
375
  'display_comments' => 'stream',
376
  'include' => $activity_id,
377
  'max' => 1
378
- ))) :
379
- while (bp_activities()) : bp_the_activity();
380
  do_action('bp_before_activity_entry');
381
  ?>
382
  <div class="activity">
@@ -426,8 +426,9 @@ class BPMediaHostWordpress {
426
  </ul>
427
  </div>
428
  <?php
429
- endwhile;
430
- else:
 
431
  ?>
432
  <div class="activity">
433
  <ul id="activity-stream" class="activity-list item-list">
@@ -444,7 +445,7 @@ class BPMediaHostWordpress {
444
  </ul>
445
  </div>
446
  <?php
447
- endif;
448
  }
449
 
450
  /**
375
  'display_comments' => 'stream',
376
  'include' => $activity_id,
377
  'max' => 1
378
+ ))) {
379
+ while (bp_activities()) { bp_the_activity();
380
  do_action('bp_before_activity_entry');
381
  ?>
382
  <div class="activity">
426
  </ul>
427
  </div>
428
  <?php
429
+ }
430
+ }
431
+ else{
432
  ?>
433
  <div class="activity">
434
  <ul id="activity-stream" class="activity-list item-list">
445
  </ul>
446
  </div>
447
  <?php
448
+ }
449
  }
450
 
451
  /**
app/main/includes/bp-media-upload-handler.php CHANGED
@@ -1,36 +1,38 @@
1
  <?php
2
- ignore_user_abort(true);
3
 
4
- /** Define the server path to the file wp-config here, if you placed WP-CONTENT outside the classic file structure */
 
 
 
5
 
6
- $path = '/'; // It should be end with a trailing slash
7
 
8
- /** That's all, stop editing from here **/
 
9
 
10
- if ( !defined('WP_LOAD_PATH') ) {
 
11
 
12
  /** classic root path if wp-content and plugins is below wp-config.php */
13
- $classic_root = dirname(dirname(dirname(dirname(dirname(dirname(dirname( __FILE__ ))))))).'/';
14
  echo $classic_root;
15
  //$classic_root = dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . '/' ;
16
- if (file_exists( $classic_root . 'wp-load.php') )
17
- define( 'WP_LOAD_PATH', $classic_root);
 
 
 
18
  else
19
- if (file_exists( $path . 'wp-load.php') )
20
- define( 'WP_LOAD_PATH', $path);
21
- else
22
- exit("Could not find wp-load.php");
23
  }
24
 
25
  // let's load WordPress
26
  require_once( WP_LOAD_PATH . 'wp-load.php');
27
 
28
  //require_once( WP_LOAD_PATH . 'wp-admin/admin.php');
29
-
30
  // Check for rights
31
- if ( !is_user_logged_in() )
32
- wp_die(__("You are not allowed to be here"));
33
 
34
  BPMediaActions::handle_uploads();
35
-
36
  ?>
1
  <?php
 
2
 
3
+ //set headers to NOT cache a page, as ios6 will, if not told to!
4
+ header( "Cache-Control: no-cache, must-revalidate" ); //HTTP 1.1
5
+ header( "Pragma: no-cache" ); //HTTP 1.0
6
+ header( "Expires: Sat, 26 Jul 1997 05:00:00 GMT" ); // Date in the past
7
 
8
+ ignore_user_abort( true );
9
 
10
+ /** Define the server path to the file wp-config here, if you placed WP-CONTENT outside the classic file structure */
11
+ $path = '/'; // It should be end with a trailing slash
12
 
13
+ /** That's all, stop editing from here * */
14
+ if ( ! defined( 'WP_LOAD_PATH' ) ) {
15
 
16
  /** classic root path if wp-content and plugins is below wp-config.php */
17
+ $classic_root = dirname( dirname( dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) ) ) . '/';
18
  echo $classic_root;
19
  //$classic_root = dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . '/' ;
20
+ if ( file_exists( $classic_root . 'wp-load.php' ) )
21
+ define( 'WP_LOAD_PATH', $classic_root );
22
+ else
23
+ if ( file_exists( $path . 'wp-load.php' ) )
24
+ define( 'WP_LOAD_PATH', $path );
25
  else
26
+ exit( "Could not find wp-load.php" );
 
 
 
27
  }
28
 
29
  // let's load WordPress
30
  require_once( WP_LOAD_PATH . 'wp-load.php');
31
 
32
  //require_once( WP_LOAD_PATH . 'wp-admin/admin.php');
 
33
  // Check for rights
34
+ if ( ! is_user_logged_in() )
35
+ wp_die( __( "You are not allowed to be here" ) );
36
 
37
  BPMediaActions::handle_uploads();
 
38
  ?>
app/main/profile/BPMediaUploadScreen.php CHANGED
@@ -79,9 +79,9 @@ class BPMediaUploadScreen extends BPMediaScreen {
79
  if ( isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] == 'wp_handle_upload' ) {
80
  /** This section can help in the group activity handling */
81
  if ( isset( $_POST[ 'bp_media_group_id' ] ) && intval( $_POST[ 'bp_media_group_id' ] ) ) {
82
- remove_action( 'bp_media_after_add_media', 'BPMediaActions::p_media_activity_create_after_add_media', 10, 2 );
83
- add_action( 'bp_media_after_add_media', 'BPMediaGroupAction::bp_media_groups_activity_create_after_add_media', 10, 2 );
84
- add_filter( 'bp_media_force_hide_activity', 'bp_media_groups_force_hide_activity' );
85
  }
86
  /* @var $bp_media_entry BPMediaHostWordpress */
87
  if ( isset( $_FILES ) && is_array( $_FILES ) && array_key_exists( 'bp_media_file', $_FILES ) && $_FILES[ 'bp_media_file' ][ 'name' ] != '' ) {
79
  if ( isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] == 'wp_handle_upload' ) {
80
  /** This section can help in the group activity handling */
81
  if ( isset( $_POST[ 'bp_media_group_id' ] ) && intval( $_POST[ 'bp_media_group_id' ] ) ) {
82
+ remove_action( 'bp_media_after_add_media', 'BPMediaActions::activity_create_after_add_media', 10, 2 );
83
+ add_action( 'bp_media_after_add_media', 'BPMediaGroupAction::groups_activity_create_after_add_media', 10, 2 );
84
+ add_filter( 'bp_media_force_hide_activity', 'BPMediaGroupAction::bp_media_groups_force_hide_activity' );
85
  }
86
  /* @var $bp_media_entry BPMediaHostWordpress */
87
  if ( isset( $_FILES ) && is_array( $_FILES ) && array_key_exists( 'bp_media_file', $_FILES ) && $_FILES[ 'bp_media_file' ][ 'name' ] != '' ) {
index.php CHANGED
@@ -3,11 +3,10 @@
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.4.1
7
  Author: rtCamp
8
  Text Domain: buddypress-media
9
  Author URI: http://rtcamp.com
10
- Text domain: buddypress-media
11
  */
12
 
13
  /**
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.4.2
7
  Author: rtCamp
8
  Text Domain: buddypress-media
9
  Author URI: http://rtcamp.com
 
10
  */
11
 
12
  /**
languages/buddypress-media.po ADDED
@@ -0,0 +1,1009 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Buddypress Media\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-01-14 17:03+0530\n"
6
+ "PO-Revision-Date: 2013-01-14 17:03+0530\n"
7
+ "Last-Translator: Saurabh Shukla <saurabh.shukla@rtcamp.com>\n"
8
+ "Language-Team: rtCamp <info@rtcamp.com>\n"
9
+ "Language: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: ../.\n"
15
+ "X-Poedit-SearchPath-0: .\n"
16
+
17
+ #: app/helper/BPMediaWidget.php:22
18
+ msgid "Argument missing. id is required."
19
+ msgstr ""
20
+
21
+ #: app/helper/BPMediaFeed.php:38
22
+ msgid "No items"
23
+ msgstr ""
24
+
25
+ #: app/helper/BPMediaFeed.php:44
26
+ msgid "Posted "
27
+ msgstr ""
28
+
29
+ #: app/helper/BPMediaSettings.php:23
30
+ msgid "BuddyPress Media Settings"
31
+ msgstr ""
32
+
33
+ #: app/helper/BPMediaSettings.php:24
34
+ msgid "Video"
35
+ msgstr ""
36
+
37
+ #: app/helper/BPMediaSettings.php:26
38
+ msgid "Check to enable video upload functionality"
39
+ msgstr ""
40
+
41
+ #: app/helper/BPMediaSettings.php:28
42
+ msgid "Audio"
43
+ msgstr ""
44
+
45
+ #: app/helper/BPMediaSettings.php:30
46
+ msgid "Check to enable audio upload functionality"
47
+ msgstr ""
48
+
49
+ #: app/helper/BPMediaSettings.php:32
50
+ msgid "Images"
51
+ msgstr ""
52
+
53
+ #: app/helper/BPMediaSettings.php:34
54
+ msgid "Check to enable images upload functionality"
55
+ msgstr ""
56
+
57
+ #: app/helper/BPMediaSettings.php:36
58
+ msgid "Download"
59
+ msgstr ""
60
+
61
+ #: app/helper/BPMediaSettings.php:38
62
+ msgid "Check to enable download functionality"
63
+ msgstr ""
64
+
65
+ #: app/helper/BPMediaSettings.php:40
66
+ #: app/helper/BPMediaSettings.php:41
67
+ msgid "Spread the Word"
68
+ msgstr ""
69
+
70
+ #: app/helper/BPMediaSettings.php:44
71
+ msgid "Yes, I support BuddyPress Media"
72
+ msgstr ""
73
+
74
+ #: app/helper/BPMediaSettings.php:45
75
+ msgid "No, I don't want to support BuddyPress Media"
76
+ msgstr ""
77
+
78
+ #: app/helper/BPMediaSettings.php:48
79
+ msgid "BuddyPress Media Other Options"
80
+ msgstr ""
81
+
82
+ #: app/helper/BPMediaSettings.php:49
83
+ msgid "Re-Count Media Entries"
84
+ msgstr ""
85
+
86
+ #: app/helper/BPMediaSettings.php:52
87
+ msgid "It will re-count all media entries of all users and correct any discrepancies."
88
+ msgstr ""
89
+
90
+ #: app/helper/BPMediaSettings.php:55
91
+ msgid "BuddyPress Media Addons for Audio/Video Conversion"
92
+ msgstr ""
93
+
94
+ #: app/helper/BPMediaSettings.php:56
95
+ msgid "Submit a request form"
96
+ msgstr ""
97
+
98
+ #: app/helper/BPMediaSettings.php:57
99
+ msgid "Request Type"
100
+ msgstr ""
101
+
102
+ #: app/helper/BPMediaSettings.php:73
103
+ msgid "Recounting of media files done successfully"
104
+ msgstr ""
105
+
106
+ #: app/helper/BPMediaSettings.php:75
107
+ msgid "Recounting Failed"
108
+ msgstr ""
109
+
110
+ #: app/helper/BPMediaSettings.php:96
111
+ msgid "Please provide \"option\" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( 'option' => 'option_name' ) "
112
+ msgstr ""
113
+
114
+ #: app/helper/BPMediaSettings.php:126
115
+ #: app/helper/BPMediaSettings.php:156
116
+ msgid "Please provide \"option\" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( 'option' => 'option_name' )"
117
+ msgstr ""
118
+
119
+ #: app/helper/BPMediaSettings.php:128
120
+ msgid "Need to specify atleast to radios else use a checkbox instead"
121
+ msgstr ""
122
+
123
+ #: app/helper/BPMediaSettings.php:158
124
+ msgid "Please provide some values to populate the dropdown. Format : array( 'value' => 'option' )"
125
+ msgstr ""
126
+
127
+ #: app/helper/BPMediaSupport.php:23
128
+ msgid "Submit a Bug Report"
129
+ msgstr ""
130
+
131
+ #: app/helper/BPMediaSupport.php:26
132
+ msgid "Submit a New Feature Request"
133
+ msgstr ""
134
+
135
+ #: app/helper/BPMediaSupport.php:29
136
+ msgid "Submit a Premium Support Request"
137
+ msgstr ""
138
+
139
+ #: app/helper/BPMediaSupport.php:37
140
+ #: app/helper/BPMediaSupport.php:113
141
+ msgid "Name"
142
+ msgstr ""
143
+
144
+ #: app/helper/BPMediaSupport.php:40
145
+ #: app/helper/BPMediaSupport.php:116
146
+ msgid "Email"
147
+ msgstr ""
148
+
149
+ #: app/helper/BPMediaSupport.php:43
150
+ #: app/helper/BPMediaSupport.php:119
151
+ msgid "Website"
152
+ msgstr ""
153
+
154
+ #: app/helper/BPMediaSupport.php:46
155
+ #: app/helper/BPMediaSupport.php:122
156
+ msgid "Phone"
157
+ msgstr ""
158
+
159
+ #: app/helper/BPMediaSupport.php:49
160
+ #: app/helper/BPMediaSupport.php:125
161
+ msgid "Subject"
162
+ msgstr ""
163
+
164
+ #: app/helper/BPMediaSupport.php:52
165
+ #: app/helper/BPMediaSupport.php:128
166
+ msgid "Details"
167
+ msgstr ""
168
+
169
+ #: app/helper/BPMediaSupport.php:68
170
+ msgid "Your WP Admin Login:"
171
+ msgstr ""
172
+
173
+ #: app/helper/BPMediaSupport.php:71
174
+ msgid "Your WP Admin password:"
175
+ msgstr ""
176
+
177
+ #: app/helper/BPMediaSupport.php:74
178
+ msgid "Your SSH / FTP host:"
179
+ msgstr ""
180
+
181
+ #: app/helper/BPMediaSupport.php:77
182
+ msgid "Your SSH / FTP login:"
183
+ msgstr ""
184
+
185
+ #: app/helper/BPMediaSupport.php:80
186
+ msgid "Your SSH / FTP password:"
187
+ msgstr ""
188
+
189
+ #: app/helper/BPMediaSupport.php:98
190
+ msgid "BuddyPress Media Premium Support Request from"
191
+ msgstr ""
192
+
193
+ #: app/helper/BPMediaSupport.php:100
194
+ msgid "BuddyPress Media New Feature Request from"
195
+ msgstr ""
196
+
197
+ #: app/helper/BPMediaSupport.php:102
198
+ msgid "BuddyPress Media Bug Report from"
199
+ msgstr ""
200
+
201
+ #: app/helper/BPMediaSupport.php:104
202
+ msgid "BuddyPress Media Contact from"
203
+ msgstr ""
204
+
205
+ #: app/helper/BPMediaSupport.php:131
206
+ msgid "Request ID"
207
+ msgstr ""
208
+
209
+ #: app/helper/BPMediaSupport.php:134
210
+ msgid "Server Address"
211
+ msgstr ""
212
+
213
+ #: app/helper/BPMediaSupport.php:137
214
+ msgid "IP Address"
215
+ msgstr ""
216
+
217
+ #: app/helper/BPMediaSupport.php:140
218
+ msgid "Server Type"
219
+ msgstr ""
220
+
221
+ #: app/helper/BPMediaSupport.php:143
222
+ msgid "User Agent"
223
+ msgstr ""
224
+
225
+ #: app/helper/BPMediaSupport.php:147
226
+ msgid "WordPress Admin Username"
227
+ msgstr ""
228
+
229
+ #: app/helper/BPMediaSupport.php:150
230
+ msgid "WordPress Admin Password"
231
+ msgstr ""
232
+
233
+ #: app/helper/BPMediaSupport.php:153
234
+ msgid "SSH FTP Host"
235
+ msgstr ""
236
+
237
+ #: app/helper/BPMediaSupport.php:156
238
+ msgid "SSH FTP Username"
239
+ msgstr ""
240
+
241
+ #: app/helper/BPMediaSupport.php:159
242
+ msgid "SSH FTP Password"
243
+ msgstr ""
244
+
245
+ #: app/helper/BPMediaSupport.php:170
246
+ msgid "Thank you for your Feedback/Suggestion."
247
+ msgstr ""
248
+
249
+ #: app/helper/BPMediaSupport.php:172
250
+ msgid "Thank you for posting your support request."
251
+ msgstr ""
252
+
253
+ #: app/helper/BPMediaSupport.php:173
254
+ msgid "We will get back to you shortly."
255
+ msgstr ""
256
+
257
+ #: app/helper/BPMediaSupport.php:176
258
+ msgid "Your server failed to send an email."
259
+ msgstr ""
260
+
261
+ #: app/helper/BPMediaSupport.php:177
262
+ msgid "Kindly contact your server support to fix this."
263
+ msgstr ""
264
+
265
+ #: app/helper/BPMediaSupport.php:178
266
+ #, php-format
267
+ msgid "You can alternatively create a support request <a href=\"%s\">here</a>"
268
+ msgstr ""
269
+
270
+ #: app/helper/BPMediaAddon.php:26
271
+ msgid "BuddyPress-Media FFMPEG Add-on"
272
+ msgstr ""
273
+
274
+ #: app/helper/BPMediaAddon.php:29
275
+ msgid "Add supports for more audio & video formats using open-source media-node."
276
+ msgstr ""
277
+
278
+ #: app/helper/BPMediaAddon.php:30
279
+ msgid "Media node comes with automated setup script for Ubuntu/Debian."
280
+ msgstr ""
281
+
282
+ #: app/helper/BPMediaAddon.php:36
283
+ msgid "BuddyPress-Media Kaltura Add-on"
284
+ msgstr ""
285
+
286
+ #: app/helper/BPMediaAddon.php:39
287
+ msgid "Add support for more video formats using Kaltura video solution."
288
+ msgstr ""
289
+
290
+ #: app/helper/BPMediaAddon.php:40
291
+ msgid "Works with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise."
292
+ msgstr ""
293
+
294
+ #: app/helper/BPMediaAddon.php:82
295
+ msgid "Buy Now"
296
+ msgstr ""
297
+
298
+ #: app/helper/BPMediaAddon.php:83
299
+ msgid "Live Demo"
300
+ msgstr ""
301
+
302
+ #: app/helper/BPMediaUpgrade.php:30
303
+ #, php-format
304
+ msgid "Please click upgrade to upgrade the database of BuddyPress Media <a class=\"button\" id=\"refresh_media_count\" href =\"%s\" class=\"button\" title=\"It will migrate your BuddyPress Media's earlier database to new database.\">Upgrade</a>"
305
+ msgstr ""
306
+
307
+ #: app/helper/BPMediaUpgrade.php:103
308
+ #: app/helper/BPMediaUpgrade.php:156
309
+ #: app/main/group/BPMediaGroupAction.php:95
310
+ #, php-format
311
+ msgid "%1$s added a %2$s"
312
+ msgstr ""
313
+
314
+ #: app/admin/BPMediaAdmin.php:54
315
+ msgid "Buddypress Media Component"
316
+ msgstr ""
317
+
318
+ #: app/admin/BPMediaAdmin.php:54
319
+ msgid "BuddyPress Media"
320
+ msgstr ""
321
+
322
+ #: app/admin/BPMediaAdmin.php:55
323
+ #: app/admin/BPMediaAdmin.php:175
324
+ msgid "Buddypress Media Settings"
325
+ msgstr ""
326
+
327
+ #: app/admin/BPMediaAdmin.php:55
328
+ #: app/admin/BPMediaAdmin.php:176
329
+ #: app/main/BuddyPressMedia.php:193
330
+ msgid "Settings"
331
+ msgstr ""
332
+
333
+ #: app/admin/BPMediaAdmin.php:56
334
+ #: app/admin/BPMediaAdmin.php:182
335
+ msgid "Buddypress Media Addons"
336
+ msgstr ""
337
+
338
+ #: app/admin/BPMediaAdmin.php:56
339
+ #: app/admin/BPMediaAdmin.php:183
340
+ msgid "Addons"
341
+ msgstr ""
342
+
343
+ #: app/admin/BPMediaAdmin.php:57
344
+ #: app/admin/BPMediaAdmin.php:189
345
+ msgid "Buddypress Media Support"
346
+ msgstr ""
347
+
348
+ #: app/admin/BPMediaAdmin.php:57
349
+ msgid "Support "
350
+ msgstr ""
351
+
352
+ #: app/admin/BPMediaAdmin.php:95
353
+ #: app/main/BuddyPressMedia.php:128
354
+ #: app/main/BuddyPressMedia.php:131
355
+ msgid "Media"
356
+ msgstr ""
357
+
358
+ #: app/admin/BPMediaAdmin.php:148
359
+ #: app/admin/BPMediaAdmin.php:149
360
+ msgid "Buddypress Media"
361
+ msgstr ""
362
+
363
+ #: app/admin/BPMediaAdmin.php:190
364
+ msgid "Support"
365
+ msgstr ""
366
+
367
+ #: app/admin/BPMediaAdmin.php:257
368
+ msgid "Empowering The Web With WordPress"
369
+ msgstr ""
370
+
371
+ #: app/admin/BPMediaAdmin.php:257
372
+ msgid "rtCamp"
373
+ msgstr ""
374
+
375
+ #: app/admin/BPMediaAdmin.php:259
376
+ msgid "Become a fan on Facebook"
377
+ msgstr ""
378
+
379
+ #: app/admin/BPMediaAdmin.php:259
380
+ msgid "Facebook"
381
+ msgstr ""
382
+
383
+ #: app/admin/BPMediaAdmin.php:260
384
+ msgid "Follow us on Twitter"
385
+ msgstr ""
386
+
387
+ #: app/admin/BPMediaAdmin.php:260
388
+ msgid "Twitter"
389
+ msgstr ""
390
+
391
+ #: app/admin/BPMediaAdmin.php:261
392
+ msgid "Subscribe to our feeds"
393
+ msgstr ""
394
+
395
+ #: app/admin/BPMediaAdmin.php:261
396
+ msgid "RSS Feed"
397
+ msgstr ""
398
+
399
+ #: app/admin/BPMediaAdmin.php:266
400
+ msgid "Read FAQ"
401
+ msgstr ""
402
+
403
+ #: app/admin/BPMediaAdmin.php:267
404
+ msgid "Free Support Forum"
405
+ msgstr ""
406
+
407
+ #: app/admin/BPMediaAdmin.php:268
408
+ msgid "Github Issue Tracker"
409
+ msgstr ""
410
+
411
+ #: app/admin/BPMediaAdmin.php:269
412
+ msgid "Hire us!"
413
+ msgstr ""
414
+
415
+ #: app/admin/BPMediaAdmin.php:269
416
+ msgid "To get professional customisation/setup service."
417
+ msgstr ""
418
+
419
+ #: app/admin/BPMediaAdmin.php:271
420
+ msgid "Need Help?"
421
+ msgstr ""
422
+
423
+ #: app/admin/BPMediaAdmin.php:273
424
+ msgid "Help the development keep going."
425
+ msgstr ""
426
+
427
+ #: app/admin/BPMediaAdmin.php:274
428
+ msgid "Help us release more amazing features faster. Consider making a donation to our consistent efforts."
429
+ msgstr ""
430
+
431
+ #: app/admin/BPMediaAdmin.php:275
432
+ msgid "Donate"
433
+ msgstr ""
434
+
435
+ #: app/admin/BPMediaAdmin.php:278
436
+ msgid "BuddyPress Media Kaltura"
437
+ msgstr ""
438
+
439
+ #: app/admin/BPMediaAdmin.php:278
440
+ msgid "BPM-Kaltura"
441
+ msgstr ""
442
+
443
+ #: app/admin/BPMediaAdmin.php:278
444
+ msgid "Add support for Kaltura.com/Kaltura-CE based video conversion support"
445
+ msgstr ""
446
+
447
+ #: app/admin/BPMediaAdmin.php:279
448
+ msgid "BuddyPress Media FFMPEG"
449
+ msgstr ""
450
+
451
+ #: app/admin/BPMediaAdmin.php:279
452
+ msgid "BPM-FFMPEG"
453
+ msgstr ""
454
+
455
+ #: app/admin/BPMediaAdmin.php:279
456
+ msgid "Add FFMEG-based audio/video conversion support"
457
+ msgstr ""
458
+
459
+ #: app/admin/BPMediaAdmin.php:281
460
+ msgid "Are you a developer?"
461
+ msgstr ""
462
+
463
+ #: app/admin/BPMediaAdmin.php:282
464
+ #, php-format
465
+ msgid "If you are developing a BuddyPress Media addon we would like to include it in above list. We can also help you sell them. <a href=\"%s\">More info!</a>"
466
+ msgstr ""
467
+
468
+ #: app/admin/BPMediaAdmin.php:283
469
+ msgid "Premium Addons"
470
+ msgstr ""
471
+
472
+ #: app/admin/BPMediaAdmin.php:286
473
+ msgid "Latest News"
474
+ msgstr ""
475
+
476
+ #: app/main/BuddyPressMedia.php:134
477
+ msgid "Photos"
478
+ msgstr ""
479
+
480
+ #: app/main/BuddyPressMedia.php:137
481
+ msgid "Photo"
482
+ msgstr ""
483
+
484
+ #: app/main/BuddyPressMedia.php:140
485
+ msgid "Videos"
486
+ msgstr ""
487
+
488
+ #: app/main/BuddyPressMedia.php:146
489
+ #: app/main/BuddyPressMedia.php:149
490
+ msgid "Music"
491
+ msgstr ""
492
+
493
+ #: app/main/BuddyPressMedia.php:152
494
+ msgid "Albums"
495
+ msgstr ""
496
+
497
+ #: app/main/BuddyPressMedia.php:155
498
+ msgid "Album"
499
+ msgstr ""
500
+
501
+ #: app/main/BuddyPressMedia.php:158
502
+ msgid "Upload"
503
+ msgstr ""
504
+
505
+ #: app/main/BuddyPressMedia.php:251
506
+ #, php-format
507
+ msgid "The BuddyPress version installed is an older version and is not supported, please update BuddyPress to use BuddyPress Media Plugin.<a class=\"alignright\" href=\"%1$s\">X</a>"
508
+ msgstr ""
509
+
510
+ #: app/main/BuddyPressMedia.php:256
511
+ #, php-format
512
+ msgid "You have not installed BuddyPress. Please install latest version of BuddyPress to use BuddyPress Media plugin.<a class=\"alignright\" href=\"%1$s\">X</a>"
513
+ msgstr ""
514
+
515
+ #: app/main/profile/BPMediaTemplate.php:18
516
+ msgid "Select Album"
517
+ msgstr ""
518
+
519
+ #: app/main/profile/BPMediaTemplate.php:19
520
+ #: app/main/profile/BPMediaTemplate.php:66
521
+ msgid "x"
522
+ msgstr ""
523
+
524
+ #: app/main/profile/BPMediaTemplate.php:65
525
+ msgid "Create Album"
526
+ msgstr ""
527
+
528
+ #: app/main/profile/BPMediaTemplate.php:69
529
+ msgid "Album Name"
530
+ msgstr ""
531
+
532
+ #: app/main/profile/BPMediaTemplate.php:79
533
+ msgid "Drop files here"
534
+ msgstr ""
535
+
536
+ #: app/main/profile/BPMediaTemplate.php:80
537
+ msgid " or "
538
+ msgstr ""
539
+
540
+ #: app/main/profile/BPMediaTemplate.php:81
541
+ msgid "Select Files"
542
+ msgstr ""
543
+
544
+ #: app/main/profile/BPMediaScreen.php:107
545
+ #: app/main/profile/BPMediaScreen.php:327
546
+ msgid "The requested url does not exist"
547
+ msgstr ""
548
+
549
+ #: app/main/profile/BPMediaScreen.php:118
550
+ #, php-format
551
+ msgid "%s List Page"
552
+ msgstr ""
553
+
554
+ #: app/main/profile/BPMediaScreen.php:176
555
+ #: app/main/profile/BPMediaAlbumScreen.php:59
556
+ #, php-format
557
+ msgid "Sorry, no %s were found."
558
+ msgstr ""
559
+
560
+ #: app/main/profile/BPMediaScreen.php:274
561
+ #, php-format
562
+ msgid "Edit %s"
563
+ msgstr ""
564
+
565
+ #: app/main/profile/BPMediaScreen.php:289
566
+ #, php-format
567
+ msgid "%s Title"
568
+ msgstr ""
569
+
570
+ #: app/main/profile/BPMediaScreen.php:295
571
+ #, php-format
572
+ msgid "%s Description"
573
+ msgstr ""
574
+
575
+ #: app/main/profile/BPMediaScreen.php:301
576
+ msgid "Update"
577
+ msgstr ""
578
+
579
+ #: app/main/profile/BPMediaScreen.php:302
580
+ msgid "Back to Media File"
581
+ msgstr ""
582
+
583
+ #: app/main/profile/BPMediaScreen.php:303
584
+ msgid "Back to Media"
585
+ msgstr ""
586
+
587
+ #: app/main/profile/BPMediaScreen.php:320
588
+ msgid "You do not have access to this page."
589
+ msgstr ""
590
+
591
+ #: app/main/profile/BPMediaScreen.php:348
592
+ msgid "Media deleted successfully"
593
+ msgstr ""
594
+
595
+ #: app/main/profile/BPMediaUploadScreen.php:27
596
+ msgid "Upload Media"
597
+ msgstr ""
598
+
599
+ #: app/main/profile/BPMediaUploadScreen.php:69
600
+ msgid "You are not allowed to be here"
601
+ msgstr ""
602
+
603
+ #: app/main/profile/BPMediaUploadScreen.php:91
604
+ #: app/main/profile/BPMediaUploadScreen.php:115
605
+ msgid "File uploaded is not supported"
606
+ msgstr ""
607
+
608
+ #: app/main/profile/BPMediaUploadScreen.php:98
609
+ msgid "Image uploads are disabled"
610
+ msgstr ""
611
+
612
+ #: app/main/profile/BPMediaUploadScreen.php:104
613
+ msgid "Video uploads are disabled"
614
+ msgstr ""
615
+
616
+ #: app/main/profile/BPMediaUploadScreen.php:110
617
+ msgid "Audio uploads are disabled"
618
+ msgstr ""
619
+
620
+ #: app/main/profile/BPMediaUploadScreen.php:128
621
+ msgid "Upload Successful"
622
+ msgstr ""
623
+
624
+ #: app/main/profile/BPMediaUploadScreen.php:133
625
+ msgid "You did not specified a file to upload"
626
+ msgstr ""
627
+
628
+ #: app/main/profile/BPMediaAlbumScreen.php:94
629
+ msgid "Sorry, no media items were found in this album."
630
+ msgstr ""
631
+
632
+ #: app/main/profile/BPMediaAlbum.php:42
633
+ msgid "Sorry, the requested album does not exist."
634
+ msgstr ""
635
+
636
+ #: app/main/group/BPMediaGroupElementExtension.php:62
637
+ msgid "Sorry, the requested media does not belong to the group"
638
+ msgstr ""
639
+
640
+ #: app/main/group/BPMediaGroup.php:163
641
+ msgid "Media Settings"
642
+ msgstr ""
643
+
644
+ #: app/main/group/BPMediaGroupsExtension.php:31
645
+ #: app/main/group/BPMediaGroupsExtension.php:69
646
+ msgid "Album Creation Control"
647
+ msgstr ""
648
+
649
+ #: app/main/group/BPMediaGroupsExtension.php:32
650
+ #: app/main/group/BPMediaGroupsExtension.php:70
651
+ msgid "Who can create Albums in this group?"
652
+ msgstr ""
653
+
654
+ #: app/main/group/BPMediaGroupsExtension.php:36
655
+ #: app/main/group/BPMediaGroupsExtension.php:74
656
+ msgid "All Group Members"
657
+ msgstr ""
658
+
659
+ #: app/main/group/BPMediaGroupsExtension.php:40
660
+ #: app/main/group/BPMediaGroupsExtension.php:78
661
+ msgid "Group Admins and Mods only"
662
+ msgstr ""
663
+
664
+ #: app/main/group/BPMediaGroupsExtension.php:44
665
+ #: app/main/group/BPMediaGroupsExtension.php:82
666
+ msgid "Group Admin only"
667
+ msgstr ""
668
+
669
+ #: app/main/group/BPMediaGroupsExtension.php:86
670
+ msgid "Save Changes"
671
+ msgstr ""
672
+
673
+ #: app/main/group/BPMediaGroupsExtension.php:106
674
+ msgid "There was an error saving, please try again"
675
+ msgstr ""
676
+
677
+ #: app/main/group/BPMediaGroupsExtension.php:108
678
+ msgid "Settings saved successfully"
679
+ msgstr ""
680
+
681
+ #: app/main/group/BPMediaGroupsExtension.php:124
682
+ msgid ""
683
+ "You could display a small snippet of information from your group extension here. It will show on the group\n"
684
+ "\t home screen."
685
+ msgstr ""
686
+
687
+ #: app/main/widgets/BPMediaPopularMedia.php:15
688
+ msgid "The most popular media on your site"
689
+ msgstr ""
690
+
691
+ #: app/main/widgets/BPMediaPopularMedia.php:16
692
+ #: app/main/widgets/BPMediaPopularMedia.php:22
693
+ msgid "Popular Media"
694
+ msgstr ""
695
+
696
+ #: app/main/widgets/BPMediaPopularMedia.php:32
697
+ msgid "comments"
698
+ msgstr ""
699
+
700
+ #: app/main/widgets/BPMediaPopularMedia.php:33
701
+ msgid "Views"
702
+ msgstr ""
703
+
704
+ #: app/main/widgets/BPMediaPopularMedia.php:62
705
+ msgid "No popular media found"
706
+ msgstr ""
707
+
708
+ #: app/main/widgets/BPMediaPopularMedia.php:84
709
+ #: app/main/widgets/BPMediaRecentMedia.php:193
710
+ msgid "Title:"
711
+ msgstr ""
712
+
713
+ #: app/main/widgets/BPMediaPopularMedia.php:87
714
+ #: app/main/widgets/BPMediaRecentMedia.php:196
715
+ msgid "Number of posts to show:"
716
+ msgstr ""
717
+
718
+ #: app/main/widgets/BPMediaRecentMedia.php:15
719
+ msgid "The most recent media uploaded on your site"
720
+ msgstr ""
721
+
722
+ #: app/main/widgets/BPMediaRecentMedia.php:16
723
+ #: app/main/widgets/BPMediaRecentMedia.php:22
724
+ msgid "Recent Media"
725
+ msgstr ""
726
+
727
+ #: app/main/widgets/BPMediaRecentMedia.php:32
728
+ msgid "All"
729
+ msgstr ""
730
+
731
+ #: app/main/widgets/BPMediaRecentMedia.php:64
732
+ msgid "No recent media found"
733
+ msgstr ""
734
+
735
+ #: app/main/widgets/BPMediaRecentMedia.php:100
736
+ msgid "No recent photo found"
737
+ msgstr ""
738
+
739
+ #: app/main/widgets/BPMediaRecentMedia.php:135
740
+ msgid "No recent audio found"
741
+ msgstr ""
742
+
743
+ #: app/main/widgets/BPMediaRecentMedia.php:170
744
+ msgid "No recent video found"
745
+ msgstr ""
746
+
747
+ #: app/main/includes/BPMediaHostWordpress.php:46
748
+ msgid "Sorry, the requested media does not exist."
749
+ msgstr ""
750
+
751
+ #: app/main/includes/BPMediaHostWordpress.php:84
752
+ msgid "Error Uploading File"
753
+ msgstr ""
754
+
755
+ #: app/main/includes/BPMediaHostWordpress.php:112
756
+ msgid "MP4 file you have uploaded is corrupt."
757
+ msgstr ""
758
+
759
+ #: app/main/includes/BPMediaHostWordpress.php:119
760
+ #: app/main/includes/BPMediaHostWordpress.php:124
761
+ msgid "The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264."
762
+ msgstr ""
763
+
764
+ #: app/main/includes/BPMediaHostWordpress.php:129
765
+ msgid "The MP4 file you have uploaded is not a video file."
766
+ msgstr ""
767
+
768
+ #: app/main/includes/BPMediaHostWordpress.php:141
769
+ msgid "MP3 file you have uploaded is currupt."
770
+ msgstr ""
771
+
772
+ #: app/main/includes/BPMediaHostWordpress.php:148
773
+ #: app/main/includes/BPMediaHostWordpress.php:153
774
+ msgid "The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3."
775
+ msgstr ""
776
+
777
+ #: app/main/includes/BPMediaHostWordpress.php:158
778
+ msgid "The MP3 file you have uploaded is not an audio file."
779
+ msgstr ""
780
+
781
+ #: app/main/includes/BPMediaHostWordpress.php:172
782
+ msgid "Media File you have tried to upload is not supported. Supported media files are .jpg, .png, .gif, .mp3, .mov and .mp4."
783
+ msgstr ""
784
+
785
+ #: app/main/includes/BPMediaHostWordpress.php:179
786
+ msgid "Error creating attachment for the media file, please try again"
787
+ msgstr ""
788
+
789
+ #: app/main/includes/BPMediaHostWordpress.php:252
790
+ #, php-format
791
+ msgid "%s uploaded a media."
792
+ msgstr ""
793
+
794
+ #: app/main/includes/BPMediaHostWordpress.php:266
795
+ msgid "Uploaded by "
796
+ msgstr ""
797
+
798
+ #: app/main/includes/BPMediaHostWordpress.php:393
799
+ #, php-format
800
+ msgid "Comment <span>%s</span>"
801
+ msgstr ""
802
+
803
+ #: app/main/includes/BPMediaHostWordpress.php:397
804
+ msgid "Favorite"
805
+ msgstr ""
806
+
807
+ #: app/main/includes/BPMediaHostWordpress.php:399
808
+ msgid "Remove Favorite"
809
+ msgstr ""
810
+
811
+ #: app/main/includes/BPMediaHostWordpress.php:418
812
+ msgid "Post"
813
+ msgstr ""
814
+
815
+ #: app/main/includes/BPMediaHostWordpress.php:418
816
+ msgid "or press esc to cancel."
817
+ msgstr ""
818
+
819
+ #: app/main/includes/BPMediaHostWordpress.php:441
820
+ msgid "Delete"
821
+ msgstr ""
822
+
823
+ #: app/main/includes/BPMediaUtils.php:37
824
+ msgid "It will migrate your BuddyPress Media's earlier database to new database."
825
+ msgstr ""
826
+
827
+ #: app/main/includes/BPMediaUtils.php:134
828
+ msgid "Bug Report"
829
+ msgstr ""
830
+
831
+ #: app/main/includes/BPMediaUtils.php:137
832
+ msgid "New Feature Request"
833
+ msgstr ""
834
+
835
+ #: app/main/includes/BPMediaUtils.php:140
836
+ msgid "Premium Support Request"
837
+ msgstr ""
838
+
839
+ #: app/main/includes/BPMediaUtils.php:283
840
+ msgid "Thank you, Your bug report sent successfully."
841
+ msgstr ""
842
+
843
+ #: app/main/includes/BPMediaUtils.php:286
844
+ msgid "Thank you, Your new feature request sent successfully."
845
+ msgstr ""
846
+
847
+ #: app/main/includes/BPMediaUtils.php:289
848
+ msgid "Thank you, Your premium support request sent successfully, We will contact you soon."
849
+ msgstr ""
850
+
851
+ #: app/main/includes/BPMediaUtils.php:339
852
+ #: app/main/includes/BPMediaUtils.php:637
853
+ msgid "BuddyPress Media Support"
854
+ msgstr ""
855
+
856
+ #: app/main/includes/BPMediaUtils.php:345
857
+ msgid "Spread the word"
858
+ msgstr ""
859
+
860
+ #: app/main/includes/BPMediaUtils.php:346
861
+ msgid "BuddyPress Media Other options"
862
+ msgstr ""
863
+
864
+ #: app/main/includes/BPMediaUtils.php:612
865
+ msgid "Need Help/Support?"
866
+ msgstr ""
867
+
868
+ #: app/main/includes/BPMediaUtils.php:620
869
+ msgid "Hire Us!"
870
+ msgstr ""
871
+
872
+ #: app/main/includes/BPMediaUtils.php:621
873
+ msgid "We are available for customisation and premium support. Get on touch with us. :-)"
874
+ msgstr ""
875
+
876
+ #: app/main/includes/BPMediaUtils.php:652
877
+ msgid "Request type:"
878
+ msgstr ""
879
+
880
+ #: app/main/includes/BPMediaUtils.php:654
881
+ msgid "-- Choose Type --"
882
+ msgstr ""
883
+
884
+ #: app/main/includes/BPMediaUtils.php:655
885
+ msgid "Premium Support"
886
+ msgstr ""
887
+
888
+ #: app/main/includes/BPMediaUtils.php:656
889
+ msgid "Suggest a New Feature"
890
+ msgstr ""
891
+
892
+ #: app/main/includes/BPMediaUtils.php:688
893
+ #, php-format
894
+ msgid ""
895
+ " Please use our <a href=\"%s\">free support forum</a>.<br/><span class=\"bpm-aligncenter\">OR</span><br/>\n"
896
+ "\t\t<a href=\"%s\">Hire us!</a> To get professional customisation/setup service."
897
+ msgstr ""
898
+
899
+ #: app/main/includes/BPMediaTemplateFunctions.php:28
900
+ msgid "Media Title"
901
+ msgstr ""
902
+
903
+ #: app/main/includes/BPMediaTemplateFunctions.php:29
904
+ msgid "Media Description"
905
+ msgstr ""
906
+
907
+ #: app/main/includes/BPMediaTemplateFunctions.php:30
908
+ msgid "Select Media File"
909
+ msgstr ""
910
+
911
+ #: app/main/includes/BPMediaComponent.php:67
912
+ msgid "Search Media..."
913
+ msgstr ""
914
+
915
+ #: app/main/includes/BPMediaComponent.php:316
916
+ msgid "Create"
917
+ msgstr ""
918
+
919
+ #: app/main/includes/BPMediaComponent.php:318
920
+ msgid "Edit Album"
921
+ msgstr ""
922
+
923
+ #: app/main/includes/BPMediaComponent.php:319
924
+ msgid "New Album"
925
+ msgstr ""
926
+
927
+ #: app/main/includes/BPMediaComponent.php:320
928
+ msgid "All Albums"
929
+ msgstr ""
930
+
931
+ #: app/main/includes/BPMediaComponent.php:321
932
+ msgid "View Album"
933
+ msgstr ""
934
+
935
+ #: app/main/includes/BPMediaComponent.php:322
936
+ msgid "Search Albums"
937
+ msgstr ""
938
+
939
+ #: app/main/includes/BPMediaComponent.php:323
940
+ msgid "No album found"
941
+ msgstr ""
942
+
943
+ #: app/main/includes/BPMediaComponent.php:324
944
+ msgid "No album found in Trash"
945
+ msgstr ""
946
+
947
+ #: app/main/includes/BPMediaComponent.php:348
948
+ msgid "Add New Media"
949
+ msgstr ""
950
+
951
+ #: app/main/includes/BPMediaComponent.php:355
952
+ msgid "BuddyPress Media's Media Files"
953
+ msgstr ""
954
+
955
+ #: app/main/includes/BPMediaFunction.php:189
956
+ #, php-format
957
+ msgid "%1$s added new media in album %2$s"
958
+ msgstr ""
959
+
960
+ #: app/main/includes/BPMediaFilters.php:296
961
+ msgid "Users"
962
+ msgstr ""
963
+
964
+ #: app/main/includes/BPMediaFilters.php:298
965
+ msgid "Total Photos"
966
+ msgstr ""
967
+
968
+ #: app/main/includes/BPMediaFilters.php:299
969
+ msgid "Total Videos"
970
+ msgstr ""
971
+
972
+ #: app/main/includes/BPMediaFilters.php:300
973
+ msgid "Total Audio"
974
+ msgstr ""
975
+
976
+ #: app/main/includes/BPMediaFilters.php:301
977
+ msgid "Total Albums"
978
+ msgstr ""
979
+
980
+ #: app/main/includes/BPMediaFilters.php:303
981
+ msgid "Groups"
982
+ msgstr ""
983
+
984
+ #: app/main/includes/BPMediaActions.php:254
985
+ msgid "Edit Media"
986
+ msgstr ""
987
+
988
+ #: app/main/includes/BPMediaActions.php:254
989
+ msgid "Edit"
990
+ msgstr ""
991
+
992
+ #: app/main/includes/BPMediaActions.php:266
993
+ #: app/main/includes/BPMediaActions.php:271
994
+ msgid "Featured Media"
995
+ msgstr ""
996
+
997
+ #: app/main/includes/BPMediaActions.php:266
998
+ msgid "Featured"
999
+ msgstr ""
1000
+
1001
+ #: app/main/includes/BPMediaActions.php:271
1002
+ msgid "Remove Featured"
1003
+ msgstr ""
1004
+
1005
+ #: app/main/includes/BPMediaActions.php:534
1006
+ #, php-format
1007
+ msgid "%1$s created an album %2$s"
1008
+ msgstr ""
1009
+
readme.txt CHANGED
@@ -6,8 +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.4.1
10
- Text domain: buddypress-media
11
 
12
  Adds Photos, Music, Videos & Albums to your BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
13
 
@@ -19,6 +18,10 @@ BuddyPress Media adds Photos, Music, Videos & Albums to your BuddyPress. Support
19
 
20
  BuddyPress Media now includes [full translation support](https://rtcamp.com/tutorials/buddypress-media-translation/). Head over to the [translation project](http://rtcamp.com/translate/projects/buddypress-media/) to contribute your translations. If you don't see the language of your choice, let us know in the support forum, we'll add it.
21
 
 
 
 
 
22
  = Features =
23
 
24
  * Images, Music, Videos Upload
@@ -77,11 +80,16 @@ Please visit [BuddyPress Media's Features page](http://rtcamp.com/buddypress-med
77
  == Changelog ==
78
 
79
  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.
 
 
 
 
 
80
 
81
  = 2.4.1 =
82
  * New Widget added with more options!
83
  * Fixed 'Show More' action on Group Album thanks to [bowoolley](http://profiles.wordpress.org/bowoolley/)
84
- * Fixed conflicts with 'BuddyPress Activity Plus', thanks to [number_6] (http://profiles.wordpress.org/number_6/) and param-veer(https://github.com/param-veer)
85
  * Some more housekeeping, code cleanup and documentation.
86
 
87
  = 2.4 =
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.4.2
 
10
 
11
  Adds Photos, Music, Videos & Albums to your BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
12
 
18
 
19
  BuddyPress Media now includes [full translation support](https://rtcamp.com/tutorials/buddypress-media-translation/). Head over to the [translation project](http://rtcamp.com/translate/projects/buddypress-media/) to contribute your translations. If you don't see the language of your choice, let us know in the support forum, we'll add it.
20
 
21
+ = iOS6 Uploads =
22
+
23
+ There's a bug in iOS 6, due to which multiple image uploads won't work. It provides all images as image.jpeg which the WordPress uploader (plupload) doesn't like. It assumes that it's got duplicate images and will upload just one.
24
+
25
  = Features =
26
 
27
  * Images, Music, Videos Upload
80
  == Changelog ==
81
 
82
  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.
83
+ = 2.4.2 =
84
+ * Fixed bug where settings weren't getting saved on multisites.
85
+ * Workaround for bug where the last activity wouldn't show up.
86
+ * Fixed bug with iOS uploads.
87
+ * Some minor code changes
88
 
89
  = 2.4.1 =
90
  * New Widget added with more options!
91
  * Fixed 'Show More' action on Group Album thanks to [bowoolley](http://profiles.wordpress.org/bowoolley/)
92
+ * Fixed conflicts with 'BuddyPress Activity Plus', thanks to [number_6](http://profiles.wordpress.org/number_6/) and [param-veer](https://github.com/param-veer)
93
  * Some more housekeeping, code cleanup and documentation.
94
 
95
  = 2.4 =