Version Description
- Fixes bug in navigation
- Fixes bug in admin menu
- Resolves delete album issue (when activity is enabled)
- Adds option to disable encoding
- Translations Updated
Download this release
Release Info
Developer | saurabhshukla |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 2.13.1 |
Comparing to | |
See all releases |
Code changes from version 2.12.1 to 2.13.1
- Screenshot1.png +0 -0
- Screenshot2.png +0 -0
- Screenshot3.png +0 -0
- Screenshot4.png +0 -0
- Screenshot5.png +0 -0
- Screenshot6.png +0 -0
- Screenshot7.png +0 -0
- Screenshot8.png +0 -0
- Screenshot9.png +0 -0
- Screenshots10.png +0 -0
- Screenshots11.png +0 -0
- app/admin/BPMediaAdmin.php +252 -251
- app/assets/css/main.css +28 -5
- app/assets/img/bpm-contest-banner.jpg +0 -0
- app/assets/js/admin.js +119 -0
- app/helper/BPMediaAddon.php +6 -1
- app/helper/BPMediaSettings.php +3 -34
- app/helper/rtProgress.php +6 -2
- app/main/BPMediaLoader.php +2 -2
- app/main/includes/BPMediaActions.php +16 -0
- app/main/includes/BPMediaFilters.php +8 -1
- app/main/includes/BPMediaHostWordpress.php +0 -1
- app/main/profile/BPMediaAlbumScreen.php +1 -1
- app/main/profile/BPMediaScreen.php +1 -1
- app/services/BPMediaEncoding.php +534 -0
- app/services/BPMediaEncodingTranscoder.php +146 -0
- index.php +2 -1
- languages/buddypress-media-ar_AR.mo +0 -0
- languages/buddypress-media-de_DE.mo +0 -0
- languages/buddypress-media-es_ES.mo +0 -0
- languages/buddypress-media-fa_IR.mo +0 -0
- languages/buddypress-media-fr_FR.mo +0 -0
- languages/buddypress-media-it_IT.mo +0 -0
- languages/buddypress-media-ja_JA.mo +0 -0
- languages/buddypress-media-nl_NL.mo +0 -0
- languages/buddypress-media-pl_PL.mo +0 -0
- languages/buddypress-media-pt_BR.mo +0 -0
- languages/buddypress-media-ro_RO.mo +0 -0
- languages/buddypress-media-sr_SR.mo +0 -0
- languages/buddypress-media.mo +0 -0
- languages/buddypress-media.po +890 -745
- readme.txt +16 -5
- screenshot-1.png +0 -0
- screenshot-10.png +0 -0
- screenshot-11.png +0 -0
- screenshot-12.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- screenshot-6.png +0 -0
- screenshot-7.png +0 -0
- screenshot-8.png +0 -0
- screenshot-9.png +0 -0
Screenshot1.png
DELETED
Binary file
|
Screenshot2.png
DELETED
Binary file
|
Screenshot3.png
DELETED
Binary file
|
Screenshot4.png
DELETED
Binary file
|
Screenshot5.png
DELETED
Binary file
|
Screenshot6.png
DELETED
Binary file
|
Screenshot7.png
DELETED
Binary file
|
Screenshot8.png
DELETED
Binary file
|
Screenshot9.png
DELETED
Binary file
|
Screenshots10.png
DELETED
Binary file
|
Screenshots11.png
DELETED
Binary file
|
app/admin/BPMediaAdmin.php
CHANGED
@@ -14,6 +14,7 @@ if (!class_exists('BPMediaAdmin')) {
|
|
14 |
|
15 |
public $bp_media_upgrade;
|
16 |
public $bp_media_settings;
|
|
|
17 |
public $bp_media_support;
|
18 |
public $bp_media_feed;
|
19 |
|
@@ -41,13 +42,14 @@ if (!class_exists('BPMediaAdmin')) {
|
|
41 |
add_filter('plugin_row_meta', array($this, 'plugin_meta_premium_addon_link'), 1, 4);
|
42 |
if (is_admin()) {
|
43 |
add_action('admin_enqueue_scripts', array($this, 'ui'));
|
44 |
-
add_action(bp_core_admin_hook(), array($this, 'menu'));
|
45 |
if (current_user_can('manage_options'))
|
46 |
add_action('bp_admin_tabs', array($this, 'tab'));
|
47 |
if (is_multisite())
|
48 |
add_action('network_admin_edit_bp_media', array($this, 'save_multisite_options'));
|
49 |
}
|
50 |
$this->bp_media_settings = new BPMediaSettings();
|
|
|
51 |
}
|
52 |
|
53 |
/**
|
@@ -62,11 +64,15 @@ if (!class_exists('BPMediaAdmin')) {
|
|
62 |
*/
|
63 |
public function ui($hook) {
|
64 |
$admin_ajax = admin_url('admin-ajax.php');
|
65 |
-
|
|
|
66 |
wp_localize_script('bp-media-admin', 'bp_media_admin_ajax', $admin_ajax);
|
|
|
67 |
$bp_media_admin_strings = array(
|
68 |
'no_refresh' => __('Please do not refresh this page.', 'buddypress-media'),
|
69 |
-
'something_went_wrong' => __('Something went wronng. Please <a href onclick="location.reload();">refresh</a> page.', 'buddypress-media')
|
|
|
|
|
70 |
);
|
71 |
wp_localize_script('bp-media-admin', 'bp_media_admin_strings', $bp_media_admin_strings);
|
72 |
wp_localize_script('bp-media-admin', 'settings_url', add_query_arg(
|
@@ -76,6 +82,7 @@ if (!class_exists('BPMediaAdmin')) {
|
|
76 |
array('page' => 'bp-media-settings'), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php'))
|
77 |
));
|
78 |
wp_enqueue_style('bp-media-admin', BP_MEDIA_URL . 'app/assets/css/main.css', '', BP_MEDIA_VERSION);
|
|
|
79 |
}
|
80 |
|
81 |
/**
|
@@ -87,16 +94,11 @@ if (!class_exists('BPMediaAdmin')) {
|
|
87 |
global $wpdb;
|
88 |
add_menu_page(__('BuddyPress Media Component', 'buddypress-media'), __('BuddyPress Media', 'buddypress-media'), 'manage_options', 'bp-media-settings', array($this, 'settings_page'));
|
89 |
add_submenu_page('bp-media-settings', __('BuddyPress Media Settings', 'buddypress-media'), __('Settings', 'buddypress-media'), 'manage_options', 'bp-media-settings', array($this, 'settings_page'));
|
90 |
-
if (!BPMediaPrivacy::is_installed()) {
|
91 |
-
add_submenu_page('bp-media-settings', __('BuddyPress Media Database Update', 'buddypress-media'), __('Update Database', 'buddypress-media'), 'manage_options', 'bp-media-privacy', array($this, 'privacy_page'));
|
92 |
-
}
|
93 |
-
|
94 |
-
add_submenu_page('bp-media-settings', __('Importer', 'buddypress-media'), __('Importer', 'buddypress-media'), 'manage_options', 'bp-media-importer', array($this, 'bp_importer_page'));
|
95 |
-
|
96 |
add_submenu_page('bp-media-settings', __('BuddyPress Media Addons', 'buddypress-media'), __('Addons', 'buddypress-media'), 'manage_options', 'bp-media-addons', array($this, 'addons_page'));
|
97 |
add_submenu_page('bp-media-settings', __('BuddyPress Media Support', 'buddypress-media'), __('Support ', 'buddypress-media'), 'manage_options', 'bp-media-support', array($this, 'support_page'));
|
98 |
-
|
99 |
-
|
|
|
100 |
}
|
101 |
}
|
102 |
|
@@ -169,130 +171,124 @@ if (!class_exists('BPMediaAdmin')) {
|
|
169 |
<?php
|
170 |
$settings_url = ( is_multisite() ) ? network_admin_url('edit.php?action=' . $option_group) : 'options.php';
|
171 |
?>
|
172 |
-
|
173 |
-
<
|
174 |
-
|
175 |
settings_fields($option_group);
|
176 |
do_settings_sections($page);
|
177 |
submit_button();
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
?>
|
182 |
-
<div class="rt-link alignright"><?php _e('By', 'buddypress-media'); ?> <a href="http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" title="<?php _e('Empowering The Web With WordPress', 'buddypress-media'); ?>"><img src="<?php echo BP_MEDIA_URL; ?>app/assets/img/rtcamp-logo.png"></a></div>
|
183 |
-
</div>
|
184 |
|
185 |
-
|
186 |
</div><!-- .bp-media-settings-boxes -->
|
187 |
<div class="metabox-fixed metabox-holder alignright bp-media-metabox-holder">
|
188 |
<?php $this->admin_sidebar(); ?>
|
189 |
</div>
|
190 |
</div><!-- .metabox-holder -->
|
191 |
</div><!-- .bp-media-admin --><?php
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
/**
|
196 |
-
* Adds a tab for Media settings in the BuddyPress settings page
|
197 |
-
*
|
198 |
-
* @global type $bp_media
|
199 |
-
*/
|
200 |
-
public function tab() {
|
201 |
-
|
202 |
-
$tabs_html = '';
|
203 |
-
$idle_class = 'nav-tab';
|
204 |
-
$active_class = 'nav-tab nav-tab-active';
|
205 |
-
$tabs = array();
|
206 |
-
|
207 |
-
// Check to see which tab we are on
|
208 |
-
$tab = $this->get_current_tab();
|
209 |
-
/* BuddyPress Media */
|
210 |
-
$tabs[] = array(
|
211 |
-
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-settings'), 'admin.php')),
|
212 |
-
'title' => __('BuddyPress Media', 'buddypress-media'),
|
213 |
-
'name' => __('BuddyPress Media', 'buddypress-media'),
|
214 |
-
'class' => ($tab == 'bp-media-settings' || $tab == 'bp-media-addons' || $tab == 'bp-media-support') ? $active_class : $idle_class
|
215 |
-
);
|
216 |
-
|
217 |
-
|
218 |
-
foreach ($tabs as $tab) {
|
219 |
-
$tabs_html.= '<a id="bp-media" title= "' . $tab['title'] . '" href="' . $tab['href'] . '" class="' . $tab['class'] . '">' . $tab['name'] . '</a>';
|
220 |
-
}
|
221 |
-
echo $tabs_html;
|
222 |
-
}
|
223 |
-
|
224 |
-
/**
|
225 |
-
* Adds a sub tabs to the BuddyPress Media settings page
|
226 |
-
*
|
227 |
-
* @global type $bp_media
|
228 |
-
*/
|
229 |
-
public function sub_tabs() {
|
230 |
-
$tabs_html = '';
|
231 |
-
$idle_class = 'nav-tab';
|
232 |
-
$active_class = 'nav-tab nav-tab-active';
|
233 |
-
$tabs = array();
|
234 |
-
|
235 |
-
// Check to see which tab we are on
|
236 |
-
$tab = $this->get_current_tab();
|
237 |
-
/* BuddyPress Media */
|
238 |
-
$tabs[] = array(
|
239 |
-
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-settings'), 'admin.php')),
|
240 |
-
'title' => __('BuddyPress Media Settings', 'buddypress-media'),
|
241 |
-
'name' => __('Settings', 'buddypress-media'),
|
242 |
-
'class' => ($tab == 'bp-media-settings') ? $active_class : $idle_class . ' first_tab'
|
243 |
-
);
|
244 |
-
|
245 |
-
$tabs[] = array(
|
246 |
-
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-addons'), 'admin.php')),
|
247 |
-
'title' => __('BuddyPress Media Addons', 'buddypress-media'),
|
248 |
-
'name' => __('Addons', 'buddypress-media'),
|
249 |
-
'class' => ($tab == 'bp-media-addons') ? $active_class : $idle_class
|
250 |
-
);
|
251 |
-
|
252 |
-
$tabs[] = array(
|
253 |
-
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-support'), 'admin.php')),
|
254 |
-
'title' => __('BuddyPress Media Support', 'buddypress-media'),
|
255 |
-
'name' => __('Support', 'buddypress-media'),
|
256 |
-
'class' => ($tab == 'bp-media-support') ? $active_class : $idle_class . ' last_tab'
|
257 |
-
);
|
258 |
-
|
259 |
-
if (bp_get_option('bp-media-survey', true)) {
|
260 |
-
$tabs[] = array(
|
261 |
-
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-convert-videos'), 'admin.php')),
|
262 |
-
'title' => __('BuddyPress Media Covert Videos', 'buddypress-media'),
|
263 |
-
'name' => __('Convert Videos', 'buddypress-media'),
|
264 |
-
'class' => ($tab == 'bp-media-convert-videos') ? $active_class : $idle_class . ' last_tab'
|
265 |
-
);
|
266 |
-
}
|
267 |
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
|
294 |
-
|
295 |
-
|
296 |
p.post_author,pmp.meta_value,
|
297 |
SUM(CASE WHEN post_mime_type LIKE 'image%' THEN 1 ELSE 0 END) as Images,
|
298 |
SUM(CASE WHEN post_mime_type LIKE 'audio%' THEN 1 ELSE 0 END) as Audio,
|
@@ -306,89 +302,93 @@ if (!class_exists('BPMediaAdmin')) {
|
|
306 |
pmp.meta_key = 'bp_media_privacy' AND
|
307 |
( post_mime_type LIKE 'image%' OR post_mime_type LIKE 'audio%' OR post_mime_type LIKE 'video%' OR post_type LIKE 'bp_media_album')
|
308 |
GROUP BY p.post_author,pmp.meta_value order by p.post_author";
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
/* Multisite Save Options - http://wordpress.stackexchange.com/questions/64968/settings-api-in-multisite-missing-update-message#answer-72503 */
|
329 |
-
|
330 |
-
/**
|
331 |
-
*
|
332 |
-
* @global type $bp_media_admin
|
333 |
-
*/
|
334 |
-
public function save_multisite_options() {
|
335 |
-
global $bp_media_admin;
|
336 |
-
if (isset($_POST['refresh-count'])) {
|
337 |
-
$bp_media_admin->update_count();
|
338 |
-
}
|
339 |
-
do_action('bp_media_sanitize_settings', $_POST);
|
340 |
|
341 |
-
|
342 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
//
|
344 |
// // redirect to settings page in network
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
/* Admin Sidebar */
|
355 |
-
|
356 |
-
/**
|
357 |
-
*
|
358 |
-
* @global type $bp_media
|
359 |
-
*/
|
360 |
-
public function admin_sidebar() {
|
361 |
-
$current_user = wp_get_current_user();
|
362 |
|
363 |
-
|
364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
<a href="http://twitter.com/home/?status=' . $message . '" class="button button-tweet" target= "_blank">' . __('Tweet', 'buddypress-media') . '</a>
|
366 |
<a href="http://wordpress.org/support/view/plugin-reviews/buddypress-media?rate=5#postform" class="button button-rating" target= "_blank">' . __('Rate on WordPress.org', 'buddypress-media') . '</a>';
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
<!-- Identify your business so that you can collect the payments. -->
|
371 |
-
<input type="hidden" name="business"
|
372 |
-
value="paypal@rtcamp.com">
|
373 |
-
<!-- Specify a Donate button. -->
|
374 |
-
<input type="hidden" name="cmd" value="_donations">
|
375 |
-
<!-- Specify details about the contribution -->
|
376 |
-
<input type="hidden" name="item_name" value="BuddyPress Media">
|
377 |
-
<label><b>' . __('USD', 'buddypress-media') . '</b></label>
|
378 |
-
<input type="text" name="amount" size="3">
|
379 |
-
<input type="hidden" name="currency_code" value="USD">
|
380 |
-
<!-- Display the payment button. -->
|
381 |
-
<input type="hidden" name="cpp_header_image" value="' . BP_MEDIA_URL . 'app/assets/img/rtcamp-logo.png">
|
382 |
-
<input type="image" id="rt-donate-button" name="submit" border="0"
|
383 |
-
src="' . BP_MEDIA_URL . 'app/assets/img/paypal-donate-button.png"
|
384 |
-
alt="PayPal - The safer, easier way to pay online">
|
385 |
-
</form><br />
|
386 |
-
<center><b>' . __('OR', 'buddypress-media') . '</b></center><br />
|
387 |
-
<center>' . __('Use <a href="https://rtcamp.com/store/product-category/buddypress/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">premium add-ons</a> starting from $9', 'buddypress-media') . '</center>';
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
<div class="mc-field-group">
|
393 |
<input type="email" value="' . $current_user->user_email . '" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL">
|
394 |
<input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0"><label for="mce-group[1721]-1721-0">
|
@@ -404,81 +404,82 @@ if (!class_exists('BPMediaAdmin')) {
|
|
404 |
<li><a href="' . sprintf('%s', 'https://twitter.com/rtcamp/') . '" title="' . __('Follow us on Twitter', 'buddypress-media') . '" class="bp-media-twitter bp-media-social">' . __('Twitter', 'buddypress-media') . '</a></li>
|
405 |
<li><a href="' . sprintf('%s', 'http://feeds.feedburner.com/rtcamp/') . '" title="' . __('Subscribe to our feeds', 'buddypress-media') . '" class="bp-media-rss bp-media-social">' . __('RSS Feed', 'buddypress-media') . '</a></li>
|
406 |
</ul>';
|
407 |
-
|
408 |
|
409 |
-
|
410 |
-
|
411 |
-
|
|
|
412 |
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
<p>
|
454 |
' . sprintf(__('You have images enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of %s. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media'), implode(', ', $not_supported_image), network_admin_url('settings.php#upload_filetypes')) . '
|
455 |
<br /><strong>' . __('Recommended', 'buddypress-media') . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __('Update Network Settings Automatically', 'buddypress-media') . '"> <img style="display:none;" src="' . admin_url('images/wpspin_light.gif') . '" />
|
456 |
</p>
|
457 |
</div>';
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
<p>
|
465 |
' . sprintf(__('You have video enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp4. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media'), network_admin_url('settings.php#upload_filetypes')) . '
|
466 |
<br /><strong>' . __('Recommended', 'buddypress-media') . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __('Update Network Settings Automatically', 'buddypress-media') . '"> <img style="display:none;" src="' . admin_url('images/wpspin_light.gif') . '" />
|
467 |
</p>
|
468 |
</div>';
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
<br /><strong>' . __('Recommended', 'buddypress-media') . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __('Update Network Settings Automatically', 'buddypress-media') . '"> <img style="display:none;" src="' . admin_url('images/wpspin_light.gif') . '" />
|
476 |
</p>
|
477 |
</div>';
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
?>
|
483 |
<script type="text/javascript">
|
484 |
jQuery('.upload-filetype-network-settings-error').on('click','.update-network-settings-upload-filetypes', function(){
|
14 |
|
15 |
public $bp_media_upgrade;
|
16 |
public $bp_media_settings;
|
17 |
+
public $bp_media_encoding;
|
18 |
public $bp_media_support;
|
19 |
public $bp_media_feed;
|
20 |
|
42 |
add_filter('plugin_row_meta', array($this, 'plugin_meta_premium_addon_link'), 1, 4);
|
43 |
if (is_admin()) {
|
44 |
add_action('admin_enqueue_scripts', array($this, 'ui'));
|
45 |
+
add_action(bp_core_admin_hook(), array($this, 'menu'),9);
|
46 |
if (current_user_can('manage_options'))
|
47 |
add_action('bp_admin_tabs', array($this, 'tab'));
|
48 |
if (is_multisite())
|
49 |
add_action('network_admin_edit_bp_media', array($this, 'save_multisite_options'));
|
50 |
}
|
51 |
$this->bp_media_settings = new BPMediaSettings();
|
52 |
+
$this->bp_media_encoding = new BPMediaEncoding();
|
53 |
}
|
54 |
|
55 |
/**
|
64 |
*/
|
65 |
public function ui($hook) {
|
66 |
$admin_ajax = admin_url('admin-ajax.php');
|
67 |
+
|
68 |
+
wp_enqueue_script('bp-media-admin', BP_MEDIA_URL . 'app/assets/js/admin.js', array('jquery-ui-dialog'), BP_MEDIA_VERSION);
|
69 |
wp_localize_script('bp-media-admin', 'bp_media_admin_ajax', $admin_ajax);
|
70 |
+
wp_localize_script('bp-media-admin', 'bp_media_admin_url', admin_url());
|
71 |
$bp_media_admin_strings = array(
|
72 |
'no_refresh' => __('Please do not refresh this page.', 'buddypress-media'),
|
73 |
+
'something_went_wrong' => __('Something went wronng. Please <a href onclick="location.reload();">refresh</a> page.', 'buddypress-media'),
|
74 |
+
'are_you_sure' => __('This will subscribe you to the free plan.', 'buddypress-media'),
|
75 |
+
'disable_encoding' => __('Are you sure you want to disable the encoding service? Make sure you note your api key before diabling it incase you want to activate it in future.', 'buddypress-media')
|
76 |
);
|
77 |
wp_localize_script('bp-media-admin', 'bp_media_admin_strings', $bp_media_admin_strings);
|
78 |
wp_localize_script('bp-media-admin', 'settings_url', add_query_arg(
|
82 |
array('page' => 'bp-media-settings'), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php'))
|
83 |
));
|
84 |
wp_enqueue_style('bp-media-admin', BP_MEDIA_URL . 'app/assets/css/main.css', '', BP_MEDIA_VERSION);
|
85 |
+
wp_enqueue_style('wp-jquery-ui-dialog');
|
86 |
}
|
87 |
|
88 |
/**
|
94 |
global $wpdb;
|
95 |
add_menu_page(__('BuddyPress Media Component', 'buddypress-media'), __('BuddyPress Media', 'buddypress-media'), 'manage_options', 'bp-media-settings', array($this, 'settings_page'));
|
96 |
add_submenu_page('bp-media-settings', __('BuddyPress Media Settings', 'buddypress-media'), __('Settings', 'buddypress-media'), 'manage_options', 'bp-media-settings', array($this, 'settings_page'));
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
add_submenu_page('bp-media-settings', __('BuddyPress Media Addons', 'buddypress-media'), __('Addons', 'buddypress-media'), 'manage_options', 'bp-media-addons', array($this, 'addons_page'));
|
98 |
add_submenu_page('bp-media-settings', __('BuddyPress Media Support', 'buddypress-media'), __('Support ', 'buddypress-media'), 'manage_options', 'bp-media-support', array($this, 'support_page'));
|
99 |
+
add_submenu_page('bp-media-settings', __('Importer', 'buddypress-media'), __('Importer', 'buddypress-media'), 'manage_options', 'bp-media-importer', array($this, 'bp_importer_page'));
|
100 |
+
if (!BPMediaPrivacy::is_installed()) {
|
101 |
+
add_submenu_page('bp-media-settings', __('BuddyPress Media Database Update', 'buddypress-media'), __('Update Database', 'buddypress-media'), 'manage_options', 'bp-media-privacy', array($this, 'privacy_page'));
|
102 |
}
|
103 |
}
|
104 |
|
171 |
<?php
|
172 |
$settings_url = ( is_multisite() ) ? network_admin_url('edit.php?action=' . $option_group) : 'options.php';
|
173 |
?>
|
174 |
+
<?php if ($option_group) { ?>
|
175 |
+
<form id="bp_media_settings_form" name="bp_media_settings_form" action="<?php echo $settings_url; ?>" method="post" enctype="multipart/form-data">
|
176 |
+
<div class="bp-media-metabox-holder"><?php
|
177 |
settings_fields($option_group);
|
178 |
do_settings_sections($page);
|
179 |
submit_button();
|
180 |
+
?><div class="rt-link alignright"><?php _e('By', 'buddypress-media'); ?> <a href="http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" title="<?php _e('Empowering The Web With WordPress', 'buddypress-media'); ?>"><img src="<?php echo BP_MEDIA_URL; ?>app/assets/img/rtcamp-logo.png"></a></div>
|
181 |
+
</div>
|
182 |
+
</form><?php } else {
|
183 |
+
?>
|
184 |
+
<div class="bp-media-metabox-holder"><?php do_settings_sections($page); ?>
|
185 |
+
<div class="rt-link alignright"><?php _e('By', 'buddypress-media'); ?> <a href="http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" title="<?php _e('Empowering The Web With WordPress', 'buddypress-media'); ?>"><img src="<?php echo BP_MEDIA_URL; ?>app/assets/img/rtcamp-logo.png"></a></div>
|
186 |
+
</div><?php
|
187 |
}
|
188 |
?>
|
|
|
|
|
189 |
|
190 |
+
|
191 |
</div><!-- .bp-media-settings-boxes -->
|
192 |
<div class="metabox-fixed metabox-holder alignright bp-media-metabox-holder">
|
193 |
<?php $this->admin_sidebar(); ?>
|
194 |
</div>
|
195 |
</div><!-- .metabox-holder -->
|
196 |
</div><!-- .bp-media-admin --><?php
|
197 |
+
do_action('bp_media_admin_page_append', $page);
|
198 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
|
200 |
+
/**
|
201 |
+
* Adds a tab for Media settings in the BuddyPress settings page
|
202 |
+
*
|
203 |
+
* @global type $bp_media
|
204 |
+
*/
|
205 |
+
public function tab() {
|
206 |
+
|
207 |
+
$tabs_html = '';
|
208 |
+
$idle_class = 'nav-tab';
|
209 |
+
$active_class = 'nav-tab nav-tab-active';
|
210 |
+
$tabs = array();
|
211 |
+
|
212 |
+
// Check to see which tab we are on
|
213 |
+
$tab = $this->get_current_tab();
|
214 |
+
/* BuddyPress Media */
|
215 |
+
$tabs[] = array(
|
216 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-settings'), 'admin.php')),
|
217 |
+
'title' => __('BuddyPress Media', 'buddypress-media'),
|
218 |
+
'name' => __('BuddyPress Media', 'buddypress-media'),
|
219 |
+
'class' => ($tab == 'bp-media-settings' || $tab == 'bp-media-addons' || $tab == 'bp-media-support') ? $active_class : $idle_class
|
220 |
+
);
|
221 |
+
|
222 |
+
|
223 |
+
foreach ($tabs as $tab) {
|
224 |
+
$tabs_html.= '<a id="bp-media" title= "' . $tab['title'] . '" href="' . $tab['href'] . '" class="' . $tab['class'] . '">' . $tab['name'] . '</a>';
|
225 |
+
}
|
226 |
+
echo $tabs_html;
|
227 |
+
}
|
228 |
|
229 |
+
/**
|
230 |
+
* Adds a sub tabs to the BuddyPress Media settings page
|
231 |
+
*
|
232 |
+
* @global type $bp_media
|
233 |
+
*/
|
234 |
+
public function sub_tabs() {
|
235 |
+
$tabs_html = '';
|
236 |
+
$idle_class = 'nav-tab';
|
237 |
+
$active_class = 'nav-tab nav-tab-active';
|
238 |
+
$tabs = array();
|
239 |
+
|
240 |
+
// Check to see which tab we are on
|
241 |
+
$tab = $this->get_current_tab();
|
242 |
+
/* BuddyPress Media */
|
243 |
+
$tabs[] = array(
|
244 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-settings'), 'admin.php')),
|
245 |
+
'title' => __('BuddyPress Media Settings', 'buddypress-media'),
|
246 |
+
'name' => __('Settings', 'buddypress-media'),
|
247 |
+
'class' => ($tab == 'bp-media-settings') ? $active_class : $idle_class . ' first_tab'
|
248 |
+
);
|
249 |
+
|
250 |
+
$tabs[] = array(
|
251 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-addons'), 'admin.php')),
|
252 |
+
'title' => __('BuddyPress Media Addons', 'buddypress-media'),
|
253 |
+
'name' => __('Addons', 'buddypress-media'),
|
254 |
+
'class' => ($tab == 'bp-media-addons') ? $active_class : $idle_class
|
255 |
+
);
|
256 |
+
|
257 |
+
$tabs[] = array(
|
258 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-support'), 'admin.php')),
|
259 |
+
'title' => __('BuddyPress Media Support', 'buddypress-media'),
|
260 |
+
'name' => __('Support', 'buddypress-media'),
|
261 |
+
'class' => ($tab == 'bp-media-support') ? $active_class : $idle_class . ' last_tab'
|
262 |
+
);
|
263 |
+
|
264 |
+
$tabs[] = array(
|
265 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-importer'), 'admin.php')),
|
266 |
+
'title' => __('Importer', 'buddypress-media'),
|
267 |
+
'name' => __('Importer', 'buddypress-media'),
|
268 |
+
'class' => ($tab == 'bp-media-importer') ? $active_class : $idle_class
|
269 |
+
);
|
270 |
+
|
271 |
+
$tabs = apply_filters('bp_media_add_sub_tabs', $tabs, $tab);
|
272 |
+
foreach ($tabs as $tab) {
|
273 |
+
$tabs_html.= '<a title="' . $tab['title'] . '" href="' . $tab['href'] . '" class="' . $tab['class'] . ' ' . sanitize_title($tab['name']) . '">' . $tab['name'] . '</a>';
|
274 |
+
}
|
275 |
+
echo $tabs_html;
|
276 |
+
}
|
277 |
|
278 |
+
/*
|
279 |
+
* Updates the media count of all users.
|
280 |
+
*/
|
281 |
|
282 |
+
/**
|
283 |
+
*
|
284 |
+
* @global type $wpdb
|
285 |
+
* @return boolean
|
286 |
+
*/
|
287 |
+
public function update_count() {
|
288 |
+
global $wpdb;
|
289 |
|
290 |
+
$query =
|
291 |
+
"SELECT
|
292 |
p.post_author,pmp.meta_value,
|
293 |
SUM(CASE WHEN post_mime_type LIKE 'image%' THEN 1 ELSE 0 END) as Images,
|
294 |
SUM(CASE WHEN post_mime_type LIKE 'audio%' THEN 1 ELSE 0 END) as Audio,
|
302 |
pmp.meta_key = 'bp_media_privacy' AND
|
303 |
( post_mime_type LIKE 'image%' OR post_mime_type LIKE 'audio%' OR post_mime_type LIKE 'video%' OR post_type LIKE 'bp_media_album')
|
304 |
GROUP BY p.post_author,pmp.meta_value order by p.post_author";
|
305 |
+
$result = $wpdb->get_results($query);
|
306 |
+
if (!is_array($result))
|
307 |
+
return false;
|
308 |
+
$formatted = array();
|
309 |
+
foreach ($result as $obj) {
|
310 |
+
$formatted[$obj->post_author][$obj->meta_value] = array(
|
311 |
+
'image' => $obj->Images,
|
312 |
+
'video' => $obj->Videos,
|
313 |
+
'audio' => $obj->Audio,
|
314 |
+
'album' => $obj->Albums,
|
315 |
+
);
|
316 |
+
}
|
317 |
+
|
318 |
+
foreach ($formatted as $user => $obj) {
|
319 |
+
bp_update_user_meta($user, 'bp_media_count', $obj);
|
320 |
+
}
|
321 |
+
return true;
|
322 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
323 |
|
324 |
+
/* Multisite Save Options - http://wordpress.stackexchange.com/questions/64968/settings-api-in-multisite-missing-update-message#answer-72503 */
|
325 |
+
|
326 |
+
/**
|
327 |
+
*
|
328 |
+
* @global type $bp_media_admin
|
329 |
+
*/
|
330 |
+
public function save_multisite_options() {
|
331 |
+
global $bp_media_admin;
|
332 |
+
if (isset($_POST['refresh-count'])) {
|
333 |
+
$bp_media_admin->update_count();
|
334 |
+
}
|
335 |
+
do_action('bp_media_sanitize_settings', $_POST);
|
336 |
+
|
337 |
+
if (isset($_POST['bp_media_options'])) {
|
338 |
+
bp_update_option('bp_media_options', $_POST['bp_media_options']);
|
339 |
//
|
340 |
// // redirect to settings page in network
|
341 |
+
wp_redirect(
|
342 |
+
add_query_arg(
|
343 |
+
array('page' => 'bp-media-settings', 'updated' => 'true'), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php'))
|
344 |
+
)
|
345 |
+
);
|
346 |
+
exit;
|
347 |
+
}
|
348 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
|
350 |
+
/* Admin Sidebar */
|
351 |
+
|
352 |
+
/**
|
353 |
+
*
|
354 |
+
* @global type $bp_media
|
355 |
+
*/
|
356 |
+
public function admin_sidebar() {
|
357 |
+
do_action('bp_media_before_default_admin_widgets');
|
358 |
+
$current_user = wp_get_current_user();
|
359 |
+
echo '<p><a target="_blank" href="http://rtcamp.com/news/buddypress-media-review-contest/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"><img src="'.BP_MEDIA_URL.'app/assets/img/bpm-contest-banner.jpg" alt="BuddyPress Media Review Contest" /></a></p>';
|
360 |
+
// $contest = '<a target="_blank" href="http://rtcamp.com/news/buddypress-media-review-contest/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"><img src="'.BP_MEDIA_URL.'app/assets/img/bpm-contest-banner.jpg" alt="BuddyPress Media Review Contest" /></a>';
|
361 |
+
// new BPMediaAdminWidget('bpm-contest', __('', 'buddypress-media'), $contest);
|
362 |
+
|
363 |
+
$message = sprintf(__('I use @buddypressmedia http://goo.gl/8Upmv on %s', 'buddypress-media'), home_url());
|
364 |
+
$addons = '<label for="bp-media-add-linkback"><input' . checked(bp_get_option('bp_media_add_linkback', false), true, false) . ' type="checkbox" name="bp-media-add-linkback" value="1" id="bp-media-add-linkback"/> ' . __('Add link to footer', 'buddypress-media') . '</label>
|
365 |
<a href="http://twitter.com/home/?status=' . $message . '" class="button button-tweet" target= "_blank">' . __('Tweet', 'buddypress-media') . '</a>
|
366 |
<a href="http://wordpress.org/support/view/plugin-reviews/buddypress-media?rate=5#postform" class="button button-rating" target= "_blank">' . __('Rate on WordPress.org', 'buddypress-media') . '</a>';
|
367 |
+
new BPMediaAdminWidget('spread-the-word', __('Spread the Word', 'buddypress-media'), $addons);
|
368 |
+
|
369 |
+
// $donate = '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
370 |
+
// <!-- Identify your business so that you can collect the payments. -->
|
371 |
+
// <input type="hidden" name="business"
|
372 |
+
// value="paypal@rtcamp.com">
|
373 |
+
// <!-- Specify a Donate button. -->
|
374 |
+
// <input type="hidden" name="cmd" value="_donations">
|
375 |
+
// <!-- Specify details about the contribution -->
|
376 |
+
// <input type="hidden" name="item_name" value="BuddyPress Media">
|
377 |
+
// <label><b>' . __('USD', 'buddypress-media') . '</b></label>
|
378 |
+
// <input type="text" name="amount" size="3">
|
379 |
+
// <input type="hidden" name="currency_code" value="USD">
|
380 |
+
// <!-- Display the payment button. -->
|
381 |
+
// <input type="hidden" name="cpp_header_image" value="' . BP_MEDIA_URL . 'app/assets/img/rtcamp-logo.png">
|
382 |
+
// <input type="image" id="rt-donate-button" name="submit" border="0"
|
383 |
+
// src="' . BP_MEDIA_URL . 'app/assets/img/paypal-donate-button.png"
|
384 |
+
// alt="PayPal - The safer, easier way to pay online">
|
385 |
+
// </form><br />
|
386 |
+
// <center><b>' . __('OR', 'buddypress-media') . '</b></center><br />
|
387 |
+
// <center>' . __('Use <a href="https://rtcamp.com/store/product-category/buddypress/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">premium add-ons</a> starting from $9', 'buddypress-media') . '</center>';
|
388 |
+
// ;
|
389 |
+
// new BPMediaAdminWidget('donate', __('Donate', 'buddypress-media'), $donate);
|
390 |
+
|
391 |
+
$branding = '<form action="http://rtcamp.us1.list-manage1.com/subscribe/post?u=85b65c9c71e2ba3fab8cb1950&id=9e8ded4470" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
392 |
<div class="mc-field-group">
|
393 |
<input type="email" value="' . $current_user->user_email . '" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL">
|
394 |
<input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0"><label for="mce-group[1721]-1721-0">
|
404 |
<li><a href="' . sprintf('%s', 'https://twitter.com/rtcamp/') . '" title="' . __('Follow us on Twitter', 'buddypress-media') . '" class="bp-media-twitter bp-media-social">' . __('Twitter', 'buddypress-media') . '</a></li>
|
405 |
<li><a href="' . sprintf('%s', 'http://feeds.feedburner.com/rtcamp/') . '" title="' . __('Subscribe to our feeds', 'buddypress-media') . '" class="bp-media-rss bp-media-social">' . __('RSS Feed', 'buddypress-media') . '</a></li>
|
406 |
</ul>';
|
407 |
+
new BPMediaAdminWidget('branding', __('Subscribe', 'buddypress-media'), $branding);
|
408 |
|
409 |
+
$news = '<img src ="' . admin_url('/images/wpspin_light.gif') . '" /> Loading...';
|
410 |
+
new BPMediaAdminWidget('latest-news', __('Latest News', 'buddypress-media'), $news);
|
411 |
+
do_action('bp_media_after_default_admin_widgets');
|
412 |
+
}
|
413 |
|
414 |
+
public function linkback() {
|
415 |
+
if (isset($_POST['linkback']) && $_POST['linkback']) {
|
416 |
+
return bp_update_option('bp_media_add_linkback', true);
|
417 |
+
} else {
|
418 |
+
return bp_update_option('bp_media_add_linkback', false);
|
419 |
+
}
|
420 |
+
die;
|
421 |
+
}
|
422 |
|
423 |
+
public function convert_videos_mailchimp_send() {
|
424 |
+
if ($_POST['interested'] == 'Yes' && !empty($_POST['choice'])) {
|
425 |
+
wp_remote_get(add_query_arg(array('bp-media-convert-videos-form' => 1, 'choice' => $_POST['choice'], 'url' => urlencode($_POST['url']), 'email' => $_POST['email']), 'http://rtcamp.com/'));
|
426 |
+
} else {
|
427 |
+
bp_update_option('bp-media-survey', 0);
|
428 |
+
}
|
429 |
+
echo 'Thank you for your time.';
|
430 |
+
die;
|
431 |
+
}
|
432 |
|
433 |
+
public function video_transcoding_survey_response() {
|
434 |
+
if (isset($_GET['survey-done']) && ($_GET['survey-done'] == md5('survey-done'))) {
|
435 |
+
bp_update_option('bp-media-survey', 0);
|
436 |
+
}
|
437 |
+
}
|
438 |
|
439 |
+
public function plugin_meta_premium_addon_link($plugin_meta, $plugin_file, $plugin_data, $status) {
|
440 |
+
if (plugin_basename(BP_MEDIA_PATH . 'index.php') == $plugin_file)
|
441 |
+
$plugin_meta[] = '<a href="https://rtcamp.com/store/product-category/buddypress/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" title="Premium Add-ons">Premium Add-ons</a>';
|
442 |
+
return $plugin_meta;
|
443 |
+
}
|
444 |
|
445 |
+
public function upload_filetypes_error() {
|
446 |
+
global $bp_media;
|
447 |
+
$upload_filetypes = get_site_option('upload_filetypes', 'jpg jpeg png gif');
|
448 |
+
$upload_filetypes = explode(' ', $upload_filetypes);
|
449 |
+
$flag = false;
|
450 |
+
if (isset($bp_media->options['images_enabled']) && $bp_media->options['images_enabled']) {
|
451 |
+
$not_supported_image = array_diff(array('jpg', 'jpeg', 'png', 'gif'), $upload_filetypes);
|
452 |
+
if (!empty($not_supported_image)) {
|
453 |
+
echo '<div class="error upload-filetype-network-settings-error">
|
454 |
<p>
|
455 |
' . sprintf(__('You have images enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of %s. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media'), implode(', ', $not_supported_image), network_admin_url('settings.php#upload_filetypes')) . '
|
456 |
<br /><strong>' . __('Recommended', 'buddypress-media') . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __('Update Network Settings Automatically', 'buddypress-media') . '"> <img style="display:none;" src="' . admin_url('images/wpspin_light.gif') . '" />
|
457 |
</p>
|
458 |
</div>';
|
459 |
+
$flag = true;
|
460 |
+
}
|
461 |
+
}
|
462 |
+
if (isset($bp_media->options['videos_enabled']) && $bp_media->options['videos_enabled']) {
|
463 |
+
if (!in_array('mp4', $upload_filetypes)) {
|
464 |
+
echo '<div class="error upload-filetype-network-settings-error">
|
465 |
<p>
|
466 |
' . sprintf(__('You have video enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp4. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media'), network_admin_url('settings.php#upload_filetypes')) . '
|
467 |
<br /><strong>' . __('Recommended', 'buddypress-media') . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __('Update Network Settings Automatically', 'buddypress-media') . '"> <img style="display:none;" src="' . admin_url('images/wpspin_light.gif') . '" />
|
468 |
</p>
|
469 |
</div>';
|
470 |
+
$flag = true;
|
471 |
+
}
|
472 |
+
}
|
473 |
+
if (isset($bp_media->options['audio_enabled']) && $bp_media->options['audio_enabled']) {
|
474 |
+
if (!in_array('mp3', $upload_filetypes)) {
|
475 |
+
echo '<div class="error upload-filetype-network-settings-error"><p>' . sprintf(__('You have audio enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp3. Click <a href="%s">here</a> to change your settings manually.', 'buddypress-media'), network_admin_url('settings.php#upload_filetypes')) . '
|
476 |
<br /><strong>' . __('Recommended', 'buddypress-media') . ':</strong> <input type="button" class="button update-network-settings-upload-filetypes" class="button" value="' . __('Update Network Settings Automatically', 'buddypress-media') . '"> <img style="display:none;" src="' . admin_url('images/wpspin_light.gif') . '" />
|
477 |
</p>
|
478 |
</div>';
|
479 |
+
$flag = true;
|
480 |
+
}
|
481 |
+
}
|
482 |
+
if ($flag) {
|
483 |
?>
|
484 |
<script type="text/javascript">
|
485 |
jQuery('.upload-filetype-network-settings-error').on('click','.update-network-settings-upload-filetypes', function(){
|
app/assets/css/main.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*
|
2 |
* Default stylesheet for BuddyPress Media
|
3 |
*/
|
4 |
-
#wpbody-content div.metabox-fixed{width:
|
5 |
-
#wpbody-content div.wrap.bp-media-admin .columns-2{margin-right:
|
6 |
#wpbody-content .bp-media-settings-tabs{margin-bottom: 0; }
|
7 |
#wpbody-content .bp-media-settings-tabs .media-nav-tab{margin: 0 10px; text-decoration: underline; text-transform: capitalize}
|
8 |
#wpbody-content .bp-media-settings-tabs .media-nav-tab.media-nav-tab-active{font-weight: bold}
|
@@ -23,11 +23,12 @@
|
|
23 |
#adminmenu li.current.toplevel_page_bp-media-settings .wp-menu-image a{background-position: center 1px;}
|
24 |
#adminmenu li.toplevel_page_bp-media-settings .wp-menu-image a img{display:none;}
|
25 |
#bp-media-settings-boxes{border:1px solid #CCC; overflow: hidden; padding: 10px; -webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px; float: left; width: 98%;}
|
26 |
-
#debug-info{border:1px solid #CCC; overflow: hidden; padding: 10px; margin-top: 10px; -webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px; float: left; width: 588px;}
|
27 |
.nav-tab-wrapper a#bp-media{background:url('../img/bpm-icon-32.png') transparent no-repeat; padding-left:32px;}
|
28 |
.nav-tab-wrapper a#bp-media:hover,.nav-tab-wrapper a#bp-media.nav-tab-active{background-position:left -96px;}
|
29 |
-
.metabox-holder .postbox#latest-news .inside ul li{
|
30 |
-
|
|
|
31 |
#branding #logo{text-align:center;padding: 10px 0;display:block;}
|
32 |
ul#social{display:block;text-align:center;margin:0;clear: both;}
|
33 |
#branding #mc-embedded-subscribe-form{float: left;width: 100%;}
|
@@ -51,6 +52,22 @@ ul#social li{display:inline;}
|
|
51 |
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.convert-videos{background-position-y:-214px;}
|
52 |
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.insta{background-position-y:-244px;}
|
53 |
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.watermark{background-position-y:-274px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
/* Addons page Styling */
|
55 |
|
56 |
a.toplevel_page_bp-media-settings div.wp-menu-image{
|
@@ -209,6 +226,10 @@ img.bp-media-donation-image{display:block;margin: 10px auto;}
|
|
209 |
border-radius: 10px;
|
210 |
}
|
211 |
|
|
|
|
|
|
|
|
|
212 |
|
213 |
.bp_media_content img{max-width:100%;}
|
214 |
.bp_media_content .mejs-poster img{max-width: 100%;}
|
@@ -483,6 +504,8 @@ float:left;
|
|
483 |
display:none;
|
484 |
}
|
485 |
|
|
|
|
|
486 |
@media (min-width: 981px) and (max-width: 1096px) {
|
487 |
li #bp-media-upload-ui #drag-drop-area{padding: 10px 0;}
|
488 |
/* li #bp-media-upload-ui .drag-drop-inside{margin: 0 auto;}*/
|
1 |
/*
|
2 |
* Default stylesheet for BuddyPress Media
|
3 |
*/
|
4 |
+
#wpbody-content div.metabox-fixed{width: 300px;margin-right: -320px;float: right;}
|
5 |
+
#wpbody-content div.wrap.bp-media-admin .columns-2{margin-right:320px;padding-top: 0;margin-top: 15px;width: 620px}
|
6 |
#wpbody-content .bp-media-settings-tabs{margin-bottom: 0; }
|
7 |
#wpbody-content .bp-media-settings-tabs .media-nav-tab{margin: 0 10px; text-decoration: underline; text-transform: capitalize}
|
8 |
#wpbody-content .bp-media-settings-tabs .media-nav-tab.media-nav-tab-active{font-weight: bold}
|
23 |
#adminmenu li.current.toplevel_page_bp-media-settings .wp-menu-image a{background-position: center 1px;}
|
24 |
#adminmenu li.toplevel_page_bp-media-settings .wp-menu-image a img{display:none;}
|
25 |
#bp-media-settings-boxes{border:1px solid #CCC; overflow: hidden; padding: 10px; -webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px; float: left; width: 98%;}
|
26 |
+
#debug-info{clear:left;border:1px solid #CCC; overflow: hidden; padding: 10px; margin-top: 10px; -webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px; float: left; width: 588px;}
|
27 |
.nav-tab-wrapper a#bp-media{background:url('../img/bpm-icon-32.png') transparent no-repeat; padding-left:32px;}
|
28 |
.nav-tab-wrapper a#bp-media:hover,.nav-tab-wrapper a#bp-media.nav-tab-active{background-position:left -96px;}
|
29 |
+
.metabox-holder .postbox#latest-news .inside ul li{list-style: disc inside;}
|
30 |
+
/*.metabox-holder .postbox#latest-news .inside ul li{background: transparent url('../img/bpm-icon-32.png') -5px 0px no-repeat; padding-left: 32px;}*/
|
31 |
+
/*.metabox-holder .postbox#latest-news .inside ul li:hover{background-position-y: -96px;}*/
|
32 |
#branding #logo{text-align:center;padding: 10px 0;display:block;}
|
33 |
ul#social{display:block;text-align:center;margin:0;clear: both;}
|
34 |
#branding #mc-embedded-subscribe-form{float: left;width: 100%;}
|
52 |
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.convert-videos{background-position-y:-214px;}
|
53 |
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.insta{background-position-y:-244px;}
|
54 |
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.watermark{background-position-y:-274px;}
|
55 |
+
|
56 |
+
#bpm-unsubscribe-dialog { display: none; }
|
57 |
+
#bpm-unsubscribe-dialog p { margin: 10px; }
|
58 |
+
|
59 |
+
table.bp-media-encoding-table td, table.bp-media-encoding-table th {
|
60 |
+
border-left-color: #fff;
|
61 |
+
border-right-color: #dfdfdf;
|
62 |
+
border-width: 1px;
|
63 |
+
vertical-align: middle;
|
64 |
+
text-align: center;
|
65 |
+
font-family: sans-serif;
|
66 |
+
}
|
67 |
+
table.bp-media-encoding-table th {
|
68 |
+
font-weight: bold;
|
69 |
+
}
|
70 |
+
|
71 |
/* Addons page Styling */
|
72 |
|
73 |
a.toplevel_page_bp-media-settings div.wp-menu-image{
|
226 |
border-radius: 10px;
|
227 |
}
|
228 |
|
229 |
+
.encoding-used,
|
230 |
+
.encoding-remaining { display: inline-block; width: 10px; height: 10px; margin-right: 5px;}
|
231 |
+
.encoding-used { background : #fb6003; }
|
232 |
+
.encoding-remaining { background: #444; }
|
233 |
|
234 |
.bp_media_content img{max-width:100%;}
|
235 |
.bp_media_content .mejs-poster img{max-width: 100%;}
|
504 |
display:none;
|
505 |
}
|
506 |
|
507 |
+
#adminmenu li#toplevel_page_bp-media-settings a.toplevel_page_bp-media-settings { font-size: 12px; }
|
508 |
+
|
509 |
@media (min-width: 981px) and (max-width: 1096px) {
|
510 |
li #bp-media-upload-ui #drag-drop-area{padding: 10px 0;}
|
511 |
/* li #bp-media-upload-ui .drag-drop-inside{margin: 0 auto;}*/
|
app/assets/img/bpm-contest-banner.jpg
ADDED
Binary file
|
app/assets/js/admin.js
CHANGED
@@ -71,6 +71,112 @@ jQuery(document).ready(function(){
|
|
71 |
});
|
72 |
});
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
function fireRequest(data) {
|
75 |
return jQuery.post(ajaxurl, data, function(response){
|
76 |
if(response != 0){
|
@@ -350,6 +456,19 @@ jQuery(document).ready(function(){
|
|
350 |
$bpalbum.parent().after('<p>'+bp_media_admin_strings.something_went_wrong+'</p>');
|
351 |
});
|
352 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
|
354 |
|
355 |
});
|
|
71 |
});
|
72 |
});
|
73 |
|
74 |
+
jQuery('#encoding-try-now-form').on('click','.encoding-try-now',function(e){
|
75 |
+
e.preventDefault();
|
76 |
+
if(confirm(bp_media_admin_strings.are_you_sure)){
|
77 |
+
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />')
|
78 |
+
var data = {
|
79 |
+
action: 'bp_media_free_encoding_subscribe'
|
80 |
+
};
|
81 |
+
|
82 |
+
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
83 |
+
jQuery.getJSON(ajaxurl, data, function(response) {
|
84 |
+
if(response.error===undefined && response.apikey){
|
85 |
+
document.location.href = document.URL+'&apikey='+response.apikey;
|
86 |
+
}else{
|
87 |
+
jQuery('.encoding-try-now').next().remove();
|
88 |
+
jQuery('#settings-error-encoding-error').remove();
|
89 |
+
jQuery('h2:first').after('<div class="error" id="settings-error-encoding-error"><p>'+response.error+'</p></div>');
|
90 |
+
}
|
91 |
+
});
|
92 |
+
}
|
93 |
+
});
|
94 |
+
|
95 |
+
jQuery('.bp-media-encoding').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" />')
|
98 |
+
var data = {
|
99 |
+
action: 'bp_media_enter_api_key',
|
100 |
+
apikey: jQuery('#new-api-key').val()
|
101 |
+
};
|
102 |
+
|
103 |
+
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
104 |
+
jQuery.getJSON(ajaxurl, data, function(response) {
|
105 |
+
if(response.error===undefined && response.apikey){
|
106 |
+
document.location.href = document.URL+'&update=true&apikey='+response.apikey;
|
107 |
+
}else{
|
108 |
+
jQuery('#settings-error-api-key-error').remove();
|
109 |
+
jQuery('h2:first').after('<div class="error" id="settings-error-api-key-error"><p>'+response.error+'</p></div>');
|
110 |
+
}
|
111 |
+
});
|
112 |
+
});
|
113 |
+
|
114 |
+
jQuery('.bp-media-encoding').on('click','#disable-encoding',function(e){
|
115 |
+
e.preventDefault();
|
116 |
+
if ( confirm(bp_media_admin_strings.disable_encoding )) {
|
117 |
+
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />')
|
118 |
+
var data = {
|
119 |
+
action: 'bp_media_disable_encoding'
|
120 |
+
};
|
121 |
+
|
122 |
+
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
123 |
+
jQuery.post(ajaxurl, data, function(response) {
|
124 |
+
if(response){
|
125 |
+
jQuery('settings-error-encoding-disabled').remove();
|
126 |
+
jQuery('h2:first').after('<div class="updated" id="settings-encoding-successfully-disabled"><p>'+response+'</p></div>');
|
127 |
+
jQuery('#bp-media-encoding-usage').remove();
|
128 |
+
jQuery('#disable-encoding').next().remove();
|
129 |
+
jQuery('#disable-encoding').remove();
|
130 |
+
jQuery('#new-api-key').val('');
|
131 |
+
}else{
|
132 |
+
jQuery('#settings-error-encoding-disabled').remove();
|
133 |
+
jQuery('h2:first').after('<div class="error" id="settings-error-encoding-disabled"><p>'+bp_media_admin_strings.something_went_wrong+'</p></div>');
|
134 |
+
}
|
135 |
+
});
|
136 |
+
}
|
137 |
+
});
|
138 |
+
|
139 |
+
jQuery('.bp-media-encoding-table').on('click','.bpm-unsubscribe',function(e){
|
140 |
+
e.preventDefault();
|
141 |
+
// var note=prompt(bp_media_admin_strings.reason_for_unsubscribe);
|
142 |
+
jQuery( "#bpm-unsubscribe-dialog" ).dialog({
|
143 |
+
dialogClass: "wp-dialog",
|
144 |
+
modal: true,
|
145 |
+
buttons: {
|
146 |
+
Unsubscribe : function() {
|
147 |
+
jQuery( this ).dialog( "close" );
|
148 |
+
jQuery('.bpm-unsubscribe').after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />')
|
149 |
+
var data = {
|
150 |
+
action: 'bp_media_unsubscribe_encoding_service',
|
151 |
+
note: jQuery('#bpm-unsubscribe-note').val(),
|
152 |
+
plan: jQuery('.bpm-unsubscribe').attr('data-plan'),
|
153 |
+
price: jQuery('.bpm-unsubscribe').attr('data-price')
|
154 |
+
};
|
155 |
+
|
156 |
+
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
157 |
+
jQuery.getJSON(ajaxurl, data, function(response) {
|
158 |
+
if(response.error===undefined && response.updated){
|
159 |
+
jQuery('.bpm-unsubscribe').next().remove();
|
160 |
+
jQuery('.bpm-unsubscribe').after(response.form);
|
161 |
+
jQuery('.bpm-unsubscribe').remove();
|
162 |
+
jQuery('#settings-unsubscribed-successfully').remove();
|
163 |
+
jQuery('#settings-unsubscribe-error').remove();
|
164 |
+
jQuery('h2:first').after('<div class="updated" id="settings-unsubscribed-successfully"><p>'+response.updated+'</p></div>');
|
165 |
+
window.location.hash = '#settings-unsubscribed-successfully';
|
166 |
+
}else{
|
167 |
+
jQuery('.bpm-unsubscribe').next().remove();
|
168 |
+
jQuery('#settings-unsubscribed-successfully').remove();
|
169 |
+
jQuery('#settings-unsubscribe-error').remove();
|
170 |
+
jQuery('h2:first').after('<div class="error" id="settings-unsubscribe-error"><p>'+response.error+'</p></div>');
|
171 |
+
window.location.hash = '#settings-unsubscribe-error';
|
172 |
+
}
|
173 |
+
});
|
174 |
+
}
|
175 |
+
}
|
176 |
+
});
|
177 |
+
|
178 |
+
});
|
179 |
+
|
180 |
function fireRequest(data) {
|
181 |
return jQuery.post(ajaxurl, data, function(response){
|
182 |
if(response != 0){
|
456 |
$bpalbum.parent().after('<p>'+bp_media_admin_strings.something_went_wrong+'</p>');
|
457 |
});
|
458 |
});
|
459 |
+
|
460 |
+
jQuery('.updated').on('click','.bpm-hide-encoding-notice',function(){
|
461 |
+
jQuery(this).after('<img style="margin: 0 0 0 10px" src="'+bp_media_admin_url+'images/wpspin_light.gif" />');
|
462 |
+
var data ={
|
463 |
+
action: 'bp_media_hide_encoding_notice'
|
464 |
+
}
|
465 |
+
jQuery.post(ajaxurl,data,function(response){
|
466 |
+
if ( response ) {
|
467 |
+
jQuery('.bpm-hide-encoding-notice').closest('.updated').remove();
|
468 |
+
}
|
469 |
+
});
|
470 |
+
});
|
471 |
|
472 |
|
473 |
});
|
474 |
+
|
app/helper/BPMediaAddon.php
CHANGED
@@ -67,8 +67,13 @@ if (!class_exists('BPMediaAddon')) {
|
|
67 |
)
|
68 |
);
|
69 |
$addons = apply_filters('bp_media_addons', $addons);
|
70 |
-
foreach ($addons as $addon) {
|
71 |
$this->addon($addon);
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
}
|
74 |
|
67 |
)
|
68 |
);
|
69 |
$addons = apply_filters('bp_media_addons', $addons);
|
70 |
+
foreach ($addons as $key => $addon) {
|
71 |
$this->addon($addon);
|
72 |
+
if ( $key == 1 ) {
|
73 |
+
echo '<h3>';
|
74 |
+
_e('BuddyPress Media Addons for Audio/Video');
|
75 |
+
echo '</h3>';
|
76 |
+
}
|
77 |
}
|
78 |
}
|
79 |
|
app/helper/BPMediaSettings.php
CHANGED
@@ -204,8 +204,8 @@ if (!class_exists('BPMediaSettings')) {
|
|
204 |
));
|
205 |
|
206 |
$bp_media_addon = new BPMediaAddon();
|
207 |
-
add_settings_section('bpm-addons', __('BuddyPress Media Addons for
|
208 |
-
|
209 |
add_settings_section('bpm-support', __('Support', 'buddypress-media'), array($this, 'bp_media_support_intro'), 'bp-media-support');
|
210 |
|
211 |
if (!BPMediaPrivacy::is_installed()) {
|
@@ -216,40 +216,9 @@ if (!class_exists('BPMediaSettings')) {
|
|
216 |
|
217 |
$bp_media_album_importer = new BPMediaAlbumimporter();
|
218 |
add_settings_section('bpm-bp-album-importer', __('BP-Album Importer', 'buddypress-media'), array($bp_media_album_importer, 'ui'), 'bp-media-importer');
|
219 |
-
|
220 |
-
add_settings_section('bpm-convert-videos', '', array($this, 'convert_videos_form'), 'bp-media-convert-videos');
|
221 |
-
|
222 |
register_setting('bp_media', 'bp_media_options', array($this, 'sanitize'));
|
223 |
}
|
224 |
|
225 |
-
public function convert_videos_form() {
|
226 |
-
global $current_user;
|
227 |
-
get_currentuserinfo();
|
228 |
-
?>
|
229 |
-
<div id="video-transcoding-main-container">
|
230 |
-
<h2>Survey</h2>
|
231 |
-
<p class="para-blockquote">We are planning an encoding service where you can convert videos without having to install/configure anything on your server.</p>
|
232 |
-
<h3>Would you be interested?</h3>
|
233 |
-
<label><input class="interested" name="interested" type="radio" value="Yes" required="required" /> Yes</label>
|
234 |
-
<label><input class="not-interested" name="interested" type="radio" value="No" required="required" /> No</label>
|
235 |
-
<div class="interested-container hidden">
|
236 |
-
<p class="para-blockquote">Glad to see your interest.<br />
|
237 |
-
Please provide a little more information to help us plan this service better.</p>
|
238 |
-
<label><h3>Email</h3> <input class="email" type="email" name="email" size="35" value="<?php echo $current_user->user_email; ?>" placeholder="Email" /></label>
|
239 |
-
|
240 |
-
<h3>How would you use this feature?</h3>
|
241 |
-
<ul>
|
242 |
-
<li><label><input class="choice-free" type="radio" name="choice" value="Free" /> Free-only. I will use free-encoding quota only.</label></li>
|
243 |
-
<li><label><input type="radio" name="choice" value="$9" /> I am ready to pay $9 per month for generous encoding quota.</label></li>
|
244 |
-
<li><label><input type="radio" name="choice" value="$99" /> I am ready to pay $99 per month for unlimited video encoding!</label></li>
|
245 |
-
</div>
|
246 |
-
<input class="url" type="hidden" name="url" value="<?php echo home_url(); ?>" />
|
247 |
-
<br />
|
248 |
-
<br />
|
249 |
-
<input class="button button-primary video-transcoding-survey" type="submit" value="Submit" />
|
250 |
-
</div><?php
|
251 |
-
}
|
252 |
-
|
253 |
public function network_notices() {
|
254 |
$flag = 1;
|
255 |
if (get_site_option('bpm-media-enable', false)) {
|
@@ -637,7 +606,7 @@ if (!class_exists('BPMediaSettings')) {
|
|
637 |
echo '<p>' . __('If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target="_blank" href="http://rtcamp.com/groups/buddypress-media/forum/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">rtCamp Support Forum</a>.', 'buddypress-media') . '</p>';
|
638 |
echo '<p>' . __('If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/buddypress-media/issues/new">GitHub</a>.', 'buddypress-media') . '</p>';
|
639 |
}
|
640 |
-
|
641 |
}
|
642 |
|
643 |
}
|
204 |
));
|
205 |
|
206 |
$bp_media_addon = new BPMediaAddon();
|
207 |
+
add_settings_section('bpm-addons', __('BuddyPress Media Addons for Photos', 'buddypress-media'), array($bp_media_addon, 'get_addons'), 'bp-media-addons');
|
208 |
+
|
209 |
add_settings_section('bpm-support', __('Support', 'buddypress-media'), array($this, 'bp_media_support_intro'), 'bp-media-support');
|
210 |
|
211 |
if (!BPMediaPrivacy::is_installed()) {
|
216 |
|
217 |
$bp_media_album_importer = new BPMediaAlbumimporter();
|
218 |
add_settings_section('bpm-bp-album-importer', __('BP-Album Importer', 'buddypress-media'), array($bp_media_album_importer, 'ui'), 'bp-media-importer');
|
|
|
|
|
|
|
219 |
register_setting('bp_media', 'bp_media_options', array($this, 'sanitize'));
|
220 |
}
|
221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
public function network_notices() {
|
223 |
$flag = 1;
|
224 |
if (get_site_option('bpm-media-enable', false)) {
|
606 |
echo '<p>' . __('If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target="_blank" href="http://rtcamp.com/groups/buddypress-media/forum/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">rtCamp Support Forum</a>.', 'buddypress-media') . '</p>';
|
607 |
echo '<p>' . __('If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/buddypress-media/issues/new">GitHub</a>.', 'buddypress-media') . '</p>';
|
608 |
}
|
609 |
+
|
610 |
}
|
611 |
|
612 |
}
|
app/helper/rtProgress.php
CHANGED
@@ -19,12 +19,16 @@ class rtProgress {
|
|
19 |
|
20 |
}
|
21 |
|
22 |
-
function progress_ui($progress){
|
23 |
-
|
24 |
<div id="rtprogressbar">
|
25 |
<div style="width:'.$progress.'%"></div>
|
26 |
</div>
|
27 |
';
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
function progress($progress,$total){
|
19 |
|
20 |
}
|
21 |
|
22 |
+
function progress_ui($progress, $echo = true){
|
23 |
+
$progress_ui = '
|
24 |
<div id="rtprogressbar">
|
25 |
<div style="width:'.$progress.'%"></div>
|
26 |
</div>
|
27 |
';
|
28 |
+
if ( $echo )
|
29 |
+
echo $progress_ui;
|
30 |
+
else
|
31 |
+
return $progress_ui;
|
32 |
}
|
33 |
|
34 |
function progress($progress,$total){
|
app/main/BPMediaLoader.php
CHANGED
@@ -80,7 +80,7 @@ class BPMediaLoader {
|
|
80 |
case BP_MEDIA_VIDEOS_SLUG:
|
81 |
case BP_MEDIA_AUDIO_SLUG:
|
82 |
case BP_MEDIA_ALBUMS_SLUG:
|
83 |
-
$bp->bp_options_nav[BP_MEDIA_SLUG][] = array(
|
84 |
'name' => $nav_item['name'],
|
85 |
'link' => (
|
86 |
isset($bp->displayed_user->domain) ?
|
@@ -103,7 +103,7 @@ class BPMediaLoader {
|
|
103 |
unset($bp->bp_nav[$key]);
|
104 |
break;
|
105 |
case BP_MEDIA_UPLOAD_SLUG:
|
106 |
-
$bp->bp_options_nav[BP_MEDIA_SLUG][] = array(
|
107 |
'name' => $nav_item['name'],
|
108 |
'link' => (
|
109 |
isset($bp->displayed_user->domain) ?
|
80 |
case BP_MEDIA_VIDEOS_SLUG:
|
81 |
case BP_MEDIA_AUDIO_SLUG:
|
82 |
case BP_MEDIA_ALBUMS_SLUG:
|
83 |
+
$bp->bp_options_nav[BP_MEDIA_SLUG][$nav_item['slug']] = array(
|
84 |
'name' => $nav_item['name'],
|
85 |
'link' => (
|
86 |
isset($bp->displayed_user->domain) ?
|
103 |
unset($bp->bp_nav[$key]);
|
104 |
break;
|
105 |
case BP_MEDIA_UPLOAD_SLUG:
|
106 |
+
$bp->bp_options_nav[BP_MEDIA_SLUG][$nav_item['slug']] = array(
|
107 |
'name' => $nav_item['name'],
|
108 |
'link' => (
|
109 |
isset($bp->displayed_user->domain) ?
|
app/main/includes/BPMediaActions.php
CHANGED
@@ -30,6 +30,7 @@ class BPMediaActions {
|
|
30 |
add_action('bp_media_after_delete_album', array($this, 'update_count'), 999);
|
31 |
add_action('bp_media_after_delete_media', array($this, 'album_activity_sync'));
|
32 |
add_action('bp_media_after_add_media', 'BPMediaActions::activity_create_after_add_media', 10, 4);
|
|
|
33 |
add_action('wp_ajax_bp_media_load_more', array($this, 'load_more'));
|
34 |
add_action('wp_ajax_nopriv_bp_media_load_more', array($this, 'load_more'));
|
35 |
add_action('wp_ajax_bp_media_load_more_sc', array($this, 'load_more_sc'));
|
@@ -1190,6 +1191,21 @@ class BPMediaActions {
|
|
1190 |
wp_reset_query();
|
1191 |
return $markup;
|
1192 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1193 |
|
1194 |
}
|
1195 |
?>
|
30 |
add_action('bp_media_after_delete_album', array($this, 'update_count'), 999);
|
31 |
add_action('bp_media_after_delete_media', array($this, 'album_activity_sync'));
|
32 |
add_action('bp_media_after_add_media', 'BPMediaActions::activity_create_after_add_media', 10, 4);
|
33 |
+
add_action('bp_activity_posted_update', array($this, 'activity_update'), '', 3);
|
34 |
add_action('wp_ajax_bp_media_load_more', array($this, 'load_more'));
|
35 |
add_action('wp_ajax_nopriv_bp_media_load_more', array($this, 'load_more'));
|
36 |
add_action('wp_ajax_bp_media_load_more_sc', array($this, 'load_more_sc'));
|
1191 |
wp_reset_query();
|
1192 |
return $markup;
|
1193 |
}
|
1194 |
+
|
1195 |
+
public function activity_update($content, $user_id, $activity_id) {
|
1196 |
+
$content = stripslashes($content);
|
1197 |
+
$activity_json = json_decode($content, true);
|
1198 |
+
$activity_media = json_decode($activity_json['media'], true);
|
1199 |
+
if (isset($activity_media)) {
|
1200 |
+
if (!is_array($activity_media)) {
|
1201 |
+
$activity_media[] = $activity_media;
|
1202 |
+
}
|
1203 |
+
$media_ids = null;
|
1204 |
+
foreach ($activity_media as $media_id) {
|
1205 |
+
update_post_meta($media_id, 'bp-media-activity-upload-id', $activity_id);
|
1206 |
+
}
|
1207 |
+
}
|
1208 |
+
}
|
1209 |
|
1210 |
}
|
1211 |
?>
|
app/main/includes/BPMediaFilters.php
CHANGED
@@ -328,7 +328,6 @@ class BPMediaFilters {
|
|
328 |
'title' => __('Settings', 'buddypress-media'),
|
329 |
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-settings'), 'admin.php'))
|
330 |
);
|
331 |
-
|
332 |
|
333 |
// Addons
|
334 |
$bp_media_admin_nav[] = array(
|
@@ -345,6 +344,14 @@ class BPMediaFilters {
|
|
345 |
'title' => __('Support', 'buddypress-media'),
|
346 |
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-support'), 'admin.php'))
|
347 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
|
349 |
$bp_media_admin_nav = apply_filters('bp_media_add_admin_bar_item', $bp_media_admin_nav);
|
350 |
|
328 |
'title' => __('Settings', 'buddypress-media'),
|
329 |
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-settings'), 'admin.php'))
|
330 |
);
|
|
|
331 |
|
332 |
// Addons
|
333 |
$bp_media_admin_nav[] = array(
|
344 |
'title' => __('Support', 'buddypress-media'),
|
345 |
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-support'), 'admin.php'))
|
346 |
);
|
347 |
+
|
348 |
+
// Importer
|
349 |
+
$bp_media_admin_nav[] = array(
|
350 |
+
'parent' => 'bp-media-menu',
|
351 |
+
'id' => 'bp-media-importer',
|
352 |
+
'title' => __('Importer', 'buddypress-media'),
|
353 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-importer'), 'admin.php'))
|
354 |
+
);
|
355 |
|
356 |
$bp_media_admin_nav = apply_filters('bp_media_add_admin_bar_item', $bp_media_admin_nav);
|
357 |
|
app/main/includes/BPMediaHostWordpress.php
CHANGED
@@ -117,7 +117,6 @@ class BPMediaHostWordpress {
|
|
117 |
function insert_media($name, $description, $album_id = 0, $group = 0, $is_multiple = false, $is_activity = false, $files = false, $author_id = false, $album_name = false) {
|
118 |
do_action('bp_media_before_add_media');
|
119 |
|
120 |
-
global $bp, $wpdb, $bp_media;
|
121 |
include_once(ABSPATH . 'wp-admin/includes/file.php');
|
122 |
include_once(ABSPATH . 'wp-admin/includes/image.php');
|
123 |
|
117 |
function insert_media($name, $description, $album_id = 0, $group = 0, $is_multiple = false, $is_activity = false, $files = false, $author_id = false, $album_name = false) {
|
118 |
do_action('bp_media_before_add_media');
|
119 |
|
|
|
120 |
include_once(ABSPATH . 'wp-admin/includes/file.php');
|
121 |
include_once(ABSPATH . 'wp-admin/includes/image.php');
|
122 |
|
app/main/profile/BPMediaAlbumScreen.php
CHANGED
@@ -43,7 +43,7 @@ class BPMediaAlbumScreen extends BPMediaScreen {
|
|
43 |
$this->page_not_exist();
|
44 |
}
|
45 |
$media_actions = new BPMediaActions();
|
46 |
-
if ($media_actions->default_user_album() != $bp->action_variables[1])
|
47 |
$this->entry_delete();
|
48 |
else
|
49 |
$this->page_not_exist();
|
43 |
$this->page_not_exist();
|
44 |
}
|
45 |
$media_actions = new BPMediaActions();
|
46 |
+
if ($media_actions->default_user_album() != $bp->action_variables[1])
|
47 |
$this->entry_delete();
|
48 |
else
|
49 |
$this->page_not_exist();
|
app/main/profile/BPMediaScreen.php
CHANGED
@@ -425,7 +425,7 @@ class BPMediaScreen {
|
|
425 |
$activity_id ));
|
426 |
}
|
427 |
|
428 |
-
if ( 'album' == $bp_media_current_entry->get_type()){
|
429 |
$delete_handler = new BPMediaAlbum($post_id);
|
430 |
$delete_handler->delete_album();
|
431 |
} else {
|
425 |
$activity_id ));
|
426 |
}
|
427 |
|
428 |
+
if ( !bp_is_active('activity') && 'album' == $bp_media_current_entry->get_type()){
|
429 |
$delete_handler = new BPMediaAlbum($post_id);
|
430 |
$delete_handler->delete_album();
|
431 |
} else {
|
app/services/BPMediaEncoding.php
ADDED
@@ -0,0 +1,534 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Description of BPMediaEncoding
|
5 |
+
*
|
6 |
+
* @author Joshua Abenazer <joshua.abenazer@rtcamp.com>
|
7 |
+
*/
|
8 |
+
class BPMediaEncoding {
|
9 |
+
|
10 |
+
protected $api_url = 'http://api.rtcamp.com/';
|
11 |
+
protected $sandbox_testing = 0;
|
12 |
+
protected $merchant_id = 'paypal@rtcamp.com';
|
13 |
+
|
14 |
+
public function __construct() {
|
15 |
+
$this->api_key = bp_get_option('bp-media-encoding-api-key');
|
16 |
+
if (is_admin()) {
|
17 |
+
add_action(bp_core_admin_hook(), array($this, 'menu'));
|
18 |
+
add_action('admin_init', array($this, 'encoding_settings'));
|
19 |
+
add_filter('bp_media_add_sub_tabs', array($this, 'encoding_tab'), '', 2);
|
20 |
+
if ($this->api_key)
|
21 |
+
add_action('bp_media_before_default_admin_widgets', array($this, 'usage_widget'));
|
22 |
+
}
|
23 |
+
add_action('admin_init', array($this, 'save_api_key'), 1);
|
24 |
+
add_filter('bp_media_add_admin_bar_item', array($this, 'admin_bar_menu'));
|
25 |
+
if ($this->api_key) {
|
26 |
+
$usage_info = bp_get_option('bp-media-encoding-usage');
|
27 |
+
if ($usage_info) {
|
28 |
+
if (isset($usage_info[$this->api_key]->status) && $usage_info[$this->api_key]->status) {
|
29 |
+
if (isset($usage_info[$this->api_key]->remaining) && $usage_info[$this->api_key]->remaining > 0) {
|
30 |
+
if ($usage_info[$this->api_key]->remaining < 524288000 && !bp_get_option('bp-media-encoding-usage-limit-mail'))
|
31 |
+
$this->nearing_usage_limit($usage_info);
|
32 |
+
elseif ($usage_info[$this->api_key]->remaining > 524288000 && bp_get_option('bp-media-encoding-usage-limit-mail'))
|
33 |
+
bp_update_option('bp-media-encoding-usage-limit-mail', 0);
|
34 |
+
if (!class_exists('BPMediaFFMPEG') && !class_exists('BPMediaKaltura'))
|
35 |
+
add_filter('bp_media_transcoder', array($this, 'transcoder'), 10, 2);
|
36 |
+
$blacklist = array('localhost', '127.0.0.1');
|
37 |
+
if (!in_array($_SERVER['HTTP_HOST'], $blacklist)) {
|
38 |
+
add_filter('bp_media_plupload_files_filter', array($this, 'allowed_types'));
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}
|
42 |
+
}
|
43 |
+
}
|
44 |
+
if (!bp_get_option('bpmedia_encoding_service_notice') && current_user_can('administrator')) {
|
45 |
+
if (is_multisite()) {
|
46 |
+
add_action('network_admin_notices', array($this, 'encoding_service_notice'));
|
47 |
+
}
|
48 |
+
add_action('admin_notices', array($this, 'encoding_service_notice'));
|
49 |
+
}
|
50 |
+
add_action('bp_init', array($this, 'handle_callback'), 20);
|
51 |
+
add_action('wp_ajax_bp_media_free_encoding_subscribe', array($this, 'free_encoding_subscribe'));
|
52 |
+
add_action('wp_ajax_bp_media_unsubscribe_encoding_service', array($this, 'unsubscribe_encoding'));
|
53 |
+
add_action('wp_ajax_bp_media_hide_encoding_notice', array($this, 'hide_encoding_notice'), 1);
|
54 |
+
add_action('wp_ajax_bp_media_enter_api_key', array($this, 'enter_api_key'), 1);
|
55 |
+
add_action('wp_ajax_bp_media_disable_encoding', array($this, 'disable_encoding'), 1);
|
56 |
+
}
|
57 |
+
|
58 |
+
function transcoder($class, $type) {
|
59 |
+
switch ($type) {
|
60 |
+
case 'video':
|
61 |
+
case 'audio':
|
62 |
+
$blacklist = array('localhost', '127.0.0.1');
|
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'))) {
|
70 |
+
return $class;
|
71 |
+
}
|
72 |
+
}
|
73 |
+
return 'BPMediaEncodingTranscoder';
|
74 |
+
default:
|
75 |
+
return $class;
|
76 |
+
}
|
77 |
+
}
|
78 |
+
|
79 |
+
public function menu() {
|
80 |
+
add_submenu_page('bp-media-settings', __('BuddyPress Media Audio/Video Encoding Service', 'buddypress-media'), __('Audio/Video Encoding', 'buddypress-media'), 'manage_options', 'bp-media-encoding', array($this, 'encoding_page'));
|
81 |
+
global $submenu;
|
82 |
+
$menu = $submenu['bp-media-settings'];
|
83 |
+
$encoding_menu = array_pop($menu);
|
84 |
+
$submenu['bp-media-settings'] = array_merge(array_slice($menu, 0, 1), array($encoding_menu), array_slice($menu, 1));
|
85 |
+
}
|
86 |
+
|
87 |
+
/**
|
88 |
+
* Render the BuddyPress Media Encoding page
|
89 |
+
*/
|
90 |
+
public function encoding_page() {
|
91 |
+
global $bp_media_admin;
|
92 |
+
$bp_media_admin->render_page('bp-media-encoding');
|
93 |
+
}
|
94 |
+
|
95 |
+
public function encoding_settings() {
|
96 |
+
add_settings_section('bpm-encoding', __('Audio/Video Encoding Service', 'buddypress-media'), array($this, 'encoding_service_intro'), 'bp-media-encoding');
|
97 |
+
}
|
98 |
+
|
99 |
+
public function encoding_tab($tabs, $tab) {
|
100 |
+
$idle_class = 'nav-tab';
|
101 |
+
$active_class = 'nav-tab nav-tab-active';
|
102 |
+
$encoding_tab = array(
|
103 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-encoding'), 'admin.php')),
|
104 |
+
'title' => __('BuddyPress Media Audio/Video Encoding Service', 'buddypress-media'),
|
105 |
+
'name' => __('Audio/Video Encoding', 'buddypress-media'),
|
106 |
+
'class' => ($tab == 'bp-media-encoding') ? $active_class : $idle_class . ' last_tab'
|
107 |
+
);
|
108 |
+
$reordered_tabs = NULL;
|
109 |
+
foreach ($tabs as $key => $tab) {
|
110 |
+
if ($key == 1)
|
111 |
+
$reordered_tabs[] = $encoding_tab;
|
112 |
+
$reordered_tabs[] = $tab;
|
113 |
+
}
|
114 |
+
|
115 |
+
return $reordered_tabs;
|
116 |
+
}
|
117 |
+
|
118 |
+
public function admin_bar_menu($bp_media_admin_nav) {
|
119 |
+
// Encoding Service
|
120 |
+
$admin_nav = array(
|
121 |
+
'parent' => 'bp-media-menu',
|
122 |
+
'id' => 'bp-media-encoding',
|
123 |
+
'title' => __('Audio/Video Encoding', 'buddypress-media'),
|
124 |
+
'href' => bp_get_admin_url(add_query_arg(array('page' => 'bp-media-encoding'), 'admin.php'))
|
125 |
+
);
|
126 |
+
$reordered_admin_nav = NULL;
|
127 |
+
foreach ($bp_media_admin_nav as $key => $nav) {
|
128 |
+
if ($key == 2)
|
129 |
+
$reordered_admin_nav[] = $admin_nav;
|
130 |
+
$reordered_admin_nav[] = $nav;
|
131 |
+
}
|
132 |
+
return $reordered_admin_nav;
|
133 |
+
}
|
134 |
+
|
135 |
+
public function is_valid_key($key) {
|
136 |
+
$validate_url = trailingslashit($this->api_url) . 'api/validate/' . $key;
|
137 |
+
$validation_page = wp_remote_get($validate_url, array('timeout' => 20));
|
138 |
+
if (!is_wp_error($validation_page)) {
|
139 |
+
$validation_info = json_decode($validation_page['body']);
|
140 |
+
$status = $validation_info->status;
|
141 |
+
} else {
|
142 |
+
$status = false;
|
143 |
+
}
|
144 |
+
return $status;
|
145 |
+
}
|
146 |
+
|
147 |
+
public function update_usage($key) {
|
148 |
+
$usage_url = trailingslashit($this->api_url) . 'api/usage/' . $key;
|
149 |
+
$usage_page = wp_remote_get($usage_url, array('timeout' => 20));
|
150 |
+
if (!is_wp_error($usage_page))
|
151 |
+
$usage_info = json_decode($usage_page['body']);
|
152 |
+
else
|
153 |
+
$usage_info = NULL;
|
154 |
+
bp_update_option('bp-media-encoding-usage', array($key => $usage_info));
|
155 |
+
return $usage_info;
|
156 |
+
}
|
157 |
+
|
158 |
+
public function nearing_usage_limit($usage_details) {
|
159 |
+
$subject = __('BuddyPress Media Encoding: Nearing quota limit.', 'buddypress-media');
|
160 |
+
$message = __('<p>You are nearing the quota limit for your BuddyPress Media encoding service.</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>', 'buddypress-media');
|
161 |
+
$users = get_users(array('role' => 'administrator'));
|
162 |
+
if ($users) {
|
163 |
+
foreach ($users as $user)
|
164 |
+
$admin_email_ids[] = $user->user_email;
|
165 |
+
add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
|
166 |
+
wp_mail($admin_email_ids, $subject, sprintf($message, size_format($usage_details[$this->api_key]->used, 2), size_format($usage_details[$this->api_key]->remaining, 2), size_format($usage_details[$this->api_key]->total, 2)));
|
167 |
+
}
|
168 |
+
bp_update_option('bp-media-encoding-usage-limit-mail', 1);
|
169 |
+
}
|
170 |
+
|
171 |
+
public function usage_quota_over() {
|
172 |
+
$usage_details = bp_get_option('bp-media-encoding-usage');
|
173 |
+
if (!$usage_details[$this->api_key]->remaining) {
|
174 |
+
$subject = __('BuddyPress Media Encoding: Usage quota over.', 'buddypress-media');
|
175 |
+
$message = __('<p>Your usage quota is over. Upgrade your plan</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>', 'buddypress-media');
|
176 |
+
$users = get_users(array('role' => 'administrator'));
|
177 |
+
if ($users) {
|
178 |
+
foreach ($users as $user)
|
179 |
+
$admin_email_ids[] = $user->user_email;
|
180 |
+
add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
|
181 |
+
wp_mail($admin_email_ids, $subject, sprintf($message, size_format($usage_details[$this->api_key]->used, 2), 0, size_format($usage_details[$this->api_key]->total, 2)));
|
182 |
+
}
|
183 |
+
bp_update_option('bp-media-encoding-usage-limit-mail', 1);
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
public function save_api_key() {
|
188 |
+
if (isset($_GET['api_key_updated']) && $_GET['api_key_updated']) {
|
189 |
+
if (is_multisite()) {
|
190 |
+
add_action('network_admin_notices', array($this, 'successfully_subscribed_notice'));
|
191 |
+
}
|
192 |
+
add_action('admin_notices', array($this, 'successfully_subscribed_notice'));
|
193 |
+
}
|
194 |
+
if (isset($_GET['apikey']) && is_admin() && isset($_GET['page']) && ($_GET['page'] == 'bp-media-encoding') && $this->is_valid_key($_GET['apikey'])) {
|
195 |
+
if ($this->api_key && !(isset($_GET['update']) && $_GET['update'])) {
|
196 |
+
$unsubscribe_url = trailingslashit($this->api_url) . 'api/cancel/' . $this->api_key;
|
197 |
+
wp_remote_post($unsubscribe_url, array('timeout' => 120, 'body' => array('note' => 'Direct URL Input (API Key: ' . $_GET['apikey'] . ')')));
|
198 |
+
}
|
199 |
+
bp_update_option('bp-media-encoding-api-key', $_GET['apikey']);
|
200 |
+
$usage_info = $this->update_usage($_GET['apikey']);
|
201 |
+
$return_page = add_query_arg(array('page' => 'bp-media-encoding', 'api_key_updated' => $usage_info->plan->name), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php')));
|
202 |
+
wp_safe_redirect($return_page);
|
203 |
+
}
|
204 |
+
}
|
205 |
+
|
206 |
+
public function allowed_types($types) {
|
207 |
+
// $this->update_usage($this->api_key);
|
208 |
+
$types = array(); //Allow all types of file to be uploded
|
209 |
+
return $types;
|
210 |
+
}
|
211 |
+
|
212 |
+
public function encoding_service_notice() {
|
213 |
+
$link = add_query_arg(
|
214 |
+
array('page' => 'bp-media-encoding'), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php'))
|
215 |
+
)
|
216 |
+
?>
|
217 |
+
<div class="updated">
|
218 |
+
<p><?php printf(__('We have launched a new Audio/Video encoding service for BuddyPress Media. You can <a href="%s">activate it for free</a>.', 'buddypress-media'), $link); ?> <button class="bpm-hide-encoding-notice button-secondary" type="button" ><?php _e('Hide Message', 'buddypress-media') ?></button></p>
|
219 |
+
</div><?php
|
220 |
+
}
|
221 |
+
|
222 |
+
public function successfully_subscribed_notice() {
|
223 |
+
?>
|
224 |
+
<div class="updated">
|
225 |
+
<p><?php printf(__('You have successfully subscribed for the <strong>%s</strong> plan', 'buddypress-media'), $_GET['api_key_updated']); ?></p>
|
226 |
+
</div><?php
|
227 |
+
}
|
228 |
+
|
229 |
+
public function encoding_subscription_form($name = 'No Name', $price = '0', $force = false) {
|
230 |
+
if ($this->api_key)
|
231 |
+
$this->update_usage($this->api_key);
|
232 |
+
$action = $this->sandbox_testing ? 'https://sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
|
233 |
+
$return_page = add_query_arg(array('page' => 'bp-media-encoding'), (is_multisite() ? network_admin_url('admin.php') : admin_url('admin.php')));
|
234 |
+
|
235 |
+
$usage_details = bp_get_option('bp-media-encoding-usage');
|
236 |
+
if (isset($usage_details[$this->api_key]->plan->name) && (strtolower($usage_details[$this->api_key]->plan->name) == strtolower($name)) && $usage_details[$this->api_key]->sub_status && !$force) {
|
237 |
+
$form = '<button data-plan="' . $name . '" data-price="' . $price . '" type="submit" class="button bpm-unsubscribe">' . __('Unsubscribe', 'buddypress-media') . '</button>';
|
238 |
+
$form .= '<div id="bpm-unsubscribe-dialog" title="Unsubscribe">
|
239 |
+
<p>Just to improve our service we would like to know the reason for you to leave us.</p>
|
240 |
+
<p><textarea rows="3" cols="36" id="bpm-unsubscribe-note"></textarea></p>
|
241 |
+
</div>';
|
242 |
+
} else {
|
243 |
+
$form = '<form method="post" action="' . $action . '" class="paypal-button" target="_top">
|
244 |
+
<input type="hidden" name="button" value="subscribe">
|
245 |
+
<input type="hidden" name="item_name" value="' . ucfirst($name) . '">
|
246 |
+
|
247 |
+
<input type="hidden" name="currency_code" value="USD">
|
248 |
+
|
249 |
+
|
250 |
+
<input type="hidden" name="a3" value="' . $price . '">
|
251 |
+
<input type="hidden" name="p3" value="1">
|
252 |
+
<input type="hidden" name="t3" value="M">
|
253 |
+
|
254 |
+
<input type="hidden" name="cmd" value="_xclick-subscriptions">
|
255 |
+
|
256 |
+
<!-- Merchant ID -->
|
257 |
+
<input type="hidden" name="business" value="' . $this->merchant_id . '">
|
258 |
+
|
259 |
+
|
260 |
+
<input type="hidden" name="custom" value="' . $return_page . '">
|
261 |
+
|
262 |
+
<!-- Flag to no shipping -->
|
263 |
+
<input type="hidden" name="no_shipping" value="1">
|
264 |
+
|
265 |
+
<input type="hidden" name="notify_url" value="' . trailingslashit($this->api_url) . 'subscribe/paypal">
|
266 |
+
|
267 |
+
<!-- Flag to post payment return url -->
|
268 |
+
<input type="hidden" name="return" value="' . trailingslashit($this->api_url) . 'payment/process">
|
269 |
+
|
270 |
+
|
271 |
+
<!-- Flag to post payment data to given return url -->
|
272 |
+
<input type="hidden" name="rm" value="2">
|
273 |
+
|
274 |
+
<input type="hidden" name="src" value="1">
|
275 |
+
<input type="hidden" name="sra" value="1">
|
276 |
+
|
277 |
+
<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!">
|
278 |
+
</form>';
|
279 |
+
}
|
280 |
+
return $form;
|
281 |
+
}
|
282 |
+
|
283 |
+
public function usage_widget() {
|
284 |
+
$usage_details = bp_get_option('bp-media-encoding-usage');
|
285 |
+
$content = '';
|
286 |
+
if ($usage_details && isset($usage_details[$this->api_key]->status) && $usage_details[$this->api_key]->status) {
|
287 |
+
if (isset($usage_details[$this->api_key]->plan->name))
|
288 |
+
$content .= '<p><strong>' . __('Current Plan', 'buddypress-media') . ':</strong> ' . $usage_details[$this->api_key]->plan->name . ($usage_details[$this->api_key]->sub_status ? '' : ' (' . __('Unsubscribed', 'buddypress-media') . ')') . '</p>';
|
289 |
+
if (isset($usage_details[$this->api_key]->used))
|
290 |
+
$content .= '<p><span class="encoding-used"></span><strong>' . __('Used', 'buddypress-media') . ':</strong> ' . (($used_size = size_format($usage_details[$this->api_key]->used, 2)) ? $used_size : '0MB') . '</p>';
|
291 |
+
if (isset($usage_details[$this->api_key]->remaining))
|
292 |
+
$content .= '<p><span class="encoding-remaining"></span><strong>' . __('Remaining', 'buddypress-media') . ':</strong> ' . (($remaining_size = size_format($usage_details[$this->api_key]->remaining, 2)) ? $remaining_size : '0MB') . '</p>';
|
293 |
+
if (isset($usage_details[$this->api_key]->total))
|
294 |
+
$content .= '<p><strong>' . __('Total', 'buddypress-media') . ':</strong> ' . size_format($usage_details[$this->api_key]->total, 2) . '</p>';
|
295 |
+
$usage = new rtProgress();
|
296 |
+
$content .= $usage->progress_ui($usage->progress($usage_details[$this->api_key]->used, $usage_details[$this->api_key]->total), false);
|
297 |
+
if ($usage_details[$this->api_key]->remaining <= 0)
|
298 |
+
$content .= '<div class="error below-h2"><p>' . __('Your usage limit has been reached. Upgrade your plan.', 'buddypress-media') . '</p></div>';
|
299 |
+
} else {
|
300 |
+
$content .= '<div class="error below-h2"><p>' . __('Your API key is not valid or is expired.', 'buddypress-media') . '</p></div>';
|
301 |
+
}
|
302 |
+
new BPMediaAdminWidget('bp-media-encoding-usage', __('Encoding Usage', 'buddypress-media'), $content);
|
303 |
+
}
|
304 |
+
|
305 |
+
public function encoding_service_intro() {
|
306 |
+
?>
|
307 |
+
<p><?php _e('BuddyPress Media team has started offering an audio/video encoding service.', 'buddypress-media'); ?></p>
|
308 |
+
<p>
|
309 |
+
<label for="new-api-key"><?php _e('Enter API KEY', 'buddypress-media'); ?></label>
|
310 |
+
<input id="new-api-key" type="text" name="new-api-key" value="<?php echo $this->api_key; ?>" size="60" />
|
311 |
+
<input type="submit" id="api-key-submit" name="api-key-submit" value="Submit" class="button-primary" />
|
312 |
+
<?php if ($this->api_key) { ?><br /><br /><input type="submit" id="disable-encoding" name="disable-encoding" value="Disable Encoding" class="button-secondary" /><?php } ?>
|
313 |
+
</p>
|
314 |
+
<table class="bp-media-encoding-table widefat fixed" cellspacing="0">
|
315 |
+
<tbody>
|
316 |
+
<!-- Results table headers -->
|
317 |
+
<thead>
|
318 |
+
<tr>
|
319 |
+
<th><?php _e('Feature\Plan', 'buddypress-media'); ?></th>
|
320 |
+
<th><?php _e('Free', 'buddypress-media'); ?></th>
|
321 |
+
<th><?php _e('Silver', 'buddypress-media'); ?></th>
|
322 |
+
<th><?php _e('Gold', 'buddypress-media'); ?></th>
|
323 |
+
<th><?php _e('Platinum', 'buddypress-media'); ?></th>
|
324 |
+
</tr>
|
325 |
+
</thead>
|
326 |
+
<tr>
|
327 |
+
<th><?php _e('File Size Limit', 'buddypress-media'); ?></th>
|
328 |
+
<td>20MB</td>
|
329 |
+
<td>2GB</td>
|
330 |
+
<td>2GB</td>
|
331 |
+
<td>2GB</td>
|
332 |
+
</tr>
|
333 |
+
<tr>
|
334 |
+
<th><?php _e('Bandwidth (monthly)', 'buddypress-media'); ?></th>
|
335 |
+
<td>1GB</td>
|
336 |
+
<td>100GB</td>
|
337 |
+
<td>1TB</td>
|
338 |
+
<td>10TB</td>
|
339 |
+
</tr>
|
340 |
+
<tr>
|
341 |
+
<th><?php _e('Overage Bandwidth', 'buddypress-media'); ?></th>
|
342 |
+
<td><?php _e('Not Available', 'buddypress-media'); ?></td>
|
343 |
+
<td>$0.10 per GB</td>
|
344 |
+
<td>$0.08 per GB</td>
|
345 |
+
<td>$0.05 per GB</td>
|
346 |
+
</tr>
|
347 |
+
<tr>
|
348 |
+
<th><?php _e('Amazon S3 Support', 'buddypress-media'); ?></th>
|
349 |
+
<td><?php _e('Not Available', 'buddypress-media'); ?></td>
|
350 |
+
<td colspan="3" class="column-posts"><?php _e('Coming Soon', 'buddypress-media'); ?></td>
|
351 |
+
</tr>
|
352 |
+
<tr>
|
353 |
+
<th><?php _e('HD Profile', 'buddypress-media'); ?></th>
|
354 |
+
<td><?php _e('Not Available', 'buddypress-media'); ?></td>
|
355 |
+
<td colspan="3" class="column-posts"><?php _e('Coming Soon', 'buddypress-media'); ?></td>
|
356 |
+
</tr>
|
357 |
+
<tr>
|
358 |
+
<th><?php _e('Webcam Recording', 'buddypress-media'); ?></th>
|
359 |
+
<td colspan="4" class="column-posts"><?php _e('Coming Soon', 'buddypress-media'); ?></td>
|
360 |
+
</tr>
|
361 |
+
<tr>
|
362 |
+
<th><?php _e('Pricing', 'buddypress-media'); ?></th>
|
363 |
+
<td><?php _e('Free', 'buddypress-media'); ?></td>
|
364 |
+
<td><?php _e('$9/month', 'buddypress-media'); ?></td>
|
365 |
+
<td><?php _e('$99/month', 'buddypress-media'); ?></td>
|
366 |
+
<td><?php _e('$999/month', 'buddypress-media'); ?></td>
|
367 |
+
</tr>
|
368 |
+
<tr>
|
369 |
+
<th></th>
|
370 |
+
<td><?php
|
371 |
+
$usage_details = bp_get_option('bp-media-encoding-usage');
|
372 |
+
if (isset($usage_details[$this->api_key]->plan->name) && (strtolower($usage_details[$this->api_key]->plan->name) == 'free')) {
|
373 |
+
echo '<button disabled="disabled" type="submit" class="encoding-try-now button button-primary">' . __('Current Plan', 'buddypress-media') . '</button>';
|
374 |
+
} else {
|
375 |
+
?>
|
376 |
+
<form id="encoding-try-now-form" method="get" action="">
|
377 |
+
<button type="submit" class="encoding-try-now button button-primary"><?php _e('Try Now', 'buddypress-media'); ?></button>
|
378 |
+
</form><?php }
|
379 |
+
?>
|
380 |
+
</td>
|
381 |
+
<td><?php echo $this->encoding_subscription_form('silver', 9.0) ?></td>
|
382 |
+
<td><?php echo $this->encoding_subscription_form('gold', 99.0) ?></td>
|
383 |
+
<td><?php echo $this->encoding_subscription_form('platinum', 999.0) ?></td>
|
384 |
+
</tr>
|
385 |
+
</tbody>
|
386 |
+
</table><br /><?php
|
387 |
+
}
|
388 |
+
|
389 |
+
/**
|
390 |
+
* Function to handle the callback request by the FFMPEG encoding server
|
391 |
+
*
|
392 |
+
* @since 1.0
|
393 |
+
*/
|
394 |
+
public function handle_callback() {
|
395 |
+
if (isset($_GET['job_id']) && isset($_GET['download_url'])) {
|
396 |
+
$flag = false;
|
397 |
+
global $wpdb, $bp_media_counter;
|
398 |
+
$query_string =
|
399 |
+
"SELECT $wpdb->postmeta.post_id
|
400 |
+
FROM $wpdb->postmeta
|
401 |
+
WHERE $wpdb->postmeta.meta_key = 'bp-media-encoding-job-id'
|
402 |
+
AND $wpdb->postmeta.meta_value='" . $_GET['job_id'] . "' ORDER BY post_id";
|
403 |
+
$result = $wpdb->get_results($query_string);
|
404 |
+
if (is_array($result) && count($result) > 0) {
|
405 |
+
$attachment_id = $result[0]->post_id;
|
406 |
+
$download_url = urldecode($_GET['download_url']);
|
407 |
+
$new_wp_attached_file_pathinfo = pathinfo($download_url);
|
408 |
+
$post_mime_type = $new_wp_attached_file_pathinfo['extension'] == 'mp4' ? 'video/mp4' : 'audio/mp3';
|
409 |
+
try {
|
410 |
+
$file_bits = file_get_contents($download_url);
|
411 |
+
} catch (Exception $e) {
|
412 |
+
$flag = $e->getMessage();
|
413 |
+
error_log($flag);
|
414 |
+
}
|
415 |
+
if ($file_bits) {
|
416 |
+
unlink(get_attached_file($attachment_id));
|
417 |
+
$upload_info = wp_upload_bits($new_wp_attached_file_pathinfo['basename'], null, $file_bits);
|
418 |
+
$wpdb->update($wpdb->posts, array('guid' => $upload_info['url'], 'post_mime_type' => $post_mime_type), array('ID' => $attachment_id));
|
419 |
+
$old_wp_attached_file = get_post_meta($attachment_id, '_wp_attached_file', true);
|
420 |
+
$old_wp_attached_file_pathinfo = pathinfo($old_wp_attached_file);
|
421 |
+
update_post_meta($attachment_id, '_wp_attached_file', str_replace($old_wp_attached_file_pathinfo['basename'], $new_wp_attached_file_pathinfo['basename'], $old_wp_attached_file));
|
422 |
+
$media_entry = new BPMediaHostWordpress($attachment_id);
|
423 |
+
$activity_content = str_replace($old_wp_attached_file_pathinfo['basename'], $new_wp_attached_file_pathinfo['basename'], $media_entry->get_media_activity_content());
|
424 |
+
$wpdb->update($wpdb->prefix . 'bp_activity', array('content' => $activity_content), array('id' => get_post_meta($attachment_id, 'bp_media_child_activity', true)));
|
425 |
+
// Check if uplaod is through activity upload
|
426 |
+
$activity_id = get_post_meta($attachment_id, 'bp-media-activity-upload-id', true);
|
427 |
+
if ($activity_id) {
|
428 |
+
$content = $wpdb->get_var("SELECT content FROM {$wpdb->prefix}bp_activity WHERE id = $activity_id");
|
429 |
+
$activity_content = str_replace($old_wp_attached_file_pathinfo['basename'], $new_wp_attached_file_pathinfo['basename'], $content);
|
430 |
+
$wpdb->update($wpdb->prefix . 'bp_activity', array('content' => $activity_content), array('id' => $activity_id));
|
431 |
+
}
|
432 |
+
} else {
|
433 |
+
$flag = __('Could not read file.', 'buddypress-media');
|
434 |
+
error_log($flag);
|
435 |
+
}
|
436 |
+
} else {
|
437 |
+
$flag = __('Something went wrong. The required attachment id does not exists. It must have been deleted.', 'buddypress-media');
|
438 |
+
error_log($flag);
|
439 |
+
}
|
440 |
+
|
441 |
+
|
442 |
+
$this->update_usage($this->api_key);
|
443 |
+
|
444 |
+
if (isset($_SERVER['REMOTE_ADDR']) && ($_SERVER['REMOTE_ADDR'] == '4.30.110.155')) {
|
445 |
+
$mail = true;
|
446 |
+
} else {
|
447 |
+
$mail = false;
|
448 |
+
}
|
449 |
+
|
450 |
+
if ($flag && $mail) {
|
451 |
+
$download_link = add_query_arg(array('job_id' => $_GET['job_id'], 'download_url' => $_GET['download_url']), home_url());
|
452 |
+
$subject = __('BuddyPress Media Encoding: Download Failed', 'buddypress-media');
|
453 |
+
$message = sprintf(__('<p><a href="%s">Media</a> was successfully encoded but there was an error while downloading:</p>
|
454 |
+
<p><code>%s</code></p>
|
455 |
+
<p>You can <a href="%s">retry the download</a>.</p>', 'buddypress-media'), get_edit_post_link($attachment_id), $flag, $download_link);
|
456 |
+
$users = get_users(array('role' => 'administrator'));
|
457 |
+
if ($users) {
|
458 |
+
foreach ($users as $user)
|
459 |
+
$admin_email_ids[] = $user->user_email;
|
460 |
+
add_filter('wp_mail_content_type', create_function('', 'return "text/html";'));
|
461 |
+
wp_mail($admin_email_ids, $subject, $message);
|
462 |
+
}
|
463 |
+
_e($flag);
|
464 |
+
} elseif ($flag) {
|
465 |
+
_e($flag);
|
466 |
+
} else {
|
467 |
+
_e("Done", 'buddypress-media');
|
468 |
+
}
|
469 |
+
die();
|
470 |
+
}
|
471 |
+
}
|
472 |
+
|
473 |
+
public function free_encoding_subscribe() {
|
474 |
+
$email = bp_get_option('admin_email');
|
475 |
+
$usage_details = bp_get_option('bp-media-encoding-usage');
|
476 |
+
if (isset($usage_details[$this->api_key]->plan->name) && (strtolower($usage_details[$this->api_key]->plan->name) == 'free')) {
|
477 |
+
echo json_encode(array('error' => 'Your free subscription is already activated.'));
|
478 |
+
} else {
|
479 |
+
$free_subscription_url = add_query_arg(array('email' => urlencode($email)), trailingslashit($this->api_url) . 'api/free/');
|
480 |
+
if ($this->api_key) {
|
481 |
+
$free_subscription_url = add_query_arg(array('email' => urlencode($email), 'apikey' => $this->api_key), $free_subscription_url);
|
482 |
+
}
|
483 |
+
$free_subscribe_page = wp_remote_get($free_subscription_url, array('timeout' => 120));
|
484 |
+
if (!is_wp_error($free_subscribe_page) && (!isset($free_subscribe_page['headers']['status']) || (isset($free_subscribe_page['headers']['status']) && ($free_subscribe_page['headers']['status'] == 200)))) {
|
485 |
+
$subscription_info = json_decode($free_subscribe_page['body']);
|
486 |
+
if (isset($subscription_info->status) && $subscription_info->status) {
|
487 |
+
echo json_encode(array('apikey' => $subscription_info->apikey));
|
488 |
+
} else {
|
489 |
+
echo json_encode(array('error' => $subscription_info->message));
|
490 |
+
}
|
491 |
+
} else {
|
492 |
+
echo json_encode(array('error' => 'Something went wrong please try again.'));
|
493 |
+
}
|
494 |
+
}
|
495 |
+
die();
|
496 |
+
}
|
497 |
+
|
498 |
+
public function hide_encoding_notice() {
|
499 |
+
bp_update_option('bpmedia_encoding_service_notice', true);
|
500 |
+
echo true;
|
501 |
+
die();
|
502 |
+
}
|
503 |
+
|
504 |
+
public function unsubscribe_encoding() {
|
505 |
+
$unsubscribe_url = trailingslashit($this->api_url) . 'api/cancel/' . $this->api_key;
|
506 |
+
$unsubscribe_page = wp_remote_post($unsubscribe_url, array('timeout' => 120, 'body' => array('note' => $_GET['note'])));
|
507 |
+
if (!is_wp_error($unsubscribe_page) && (!isset($unsubscribe_page['headers']['status']) || (isset($unsubscribe_page['headers']['status']) && ($unsubscribe_page['headers']['status'] == 200)))) {
|
508 |
+
$subscription_info = json_decode($unsubscribe_page['body']);
|
509 |
+
if (isset($subscription_info->status) && $subscription_info->status) {
|
510 |
+
echo json_encode(array('updated' => __('Your subscription was cancelled successfully', 'buddypress-media'), 'form' => $this->encoding_subscription_form($_GET['plan'], $_GET['price'])));
|
511 |
+
}
|
512 |
+
} else {
|
513 |
+
echo json_encode(array('error' => __('Something went wrong please try again.', 'buddypress-media')));
|
514 |
+
}
|
515 |
+
die();
|
516 |
+
}
|
517 |
+
|
518 |
+
public function enter_api_key() {
|
519 |
+
if (isset($_GET['apikey'])) {
|
520 |
+
echo json_encode(array('apikey' => $_GET['apikey']));
|
521 |
+
} else {
|
522 |
+
echo json_encode(array('error' => __('Please enter the api key.', 'buddypress-media')));
|
523 |
+
}
|
524 |
+
die();
|
525 |
+
}
|
526 |
+
|
527 |
+
public function disable_encoding() {
|
528 |
+
bp_update_option('bp-media-encoding-api-key', '');
|
529 |
+
_e('Encoding disabled successfully.', 'buddypress-media');
|
530 |
+
die();
|
531 |
+
}
|
532 |
+
|
533 |
+
}
|
534 |
+
?>
|
app/services/BPMediaEncodingTranscoder.php
ADDED
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class extends the add_media functionality of BPMediaHostWordpress to send
|
5 |
+
* the file to the rtCamp Transcoding server instead of making it as attachment.
|
6 |
+
*/
|
7 |
+
class BPMediaEncodingTranscoder extends BPMediaHostWordpress {
|
8 |
+
|
9 |
+
|
10 |
+
public function insert_media($name, $description, $album_id = 0, $group = 0, $is_multiple = false, $is_activity = false, $files = false, $author_id = false, $album_name = false) {
|
11 |
+
do_action('bp_media_before_add_media');
|
12 |
+
include_once(ABSPATH . 'wp-admin/includes/file.php');
|
13 |
+
include_once(ABSPATH . 'wp-admin/includes/image.php');
|
14 |
+
global $bp_media_admin;
|
15 |
+
|
16 |
+
if (!$author_id)
|
17 |
+
$author_id = get_current_user_id();
|
18 |
+
|
19 |
+
$post_id = $this->check_and_create_album($album_id, $group, $author_id, $album_name);
|
20 |
+
if (!$files) {
|
21 |
+
$files = $parent_fallback_files = $_FILES['bp_media_file'];
|
22 |
+
$file = wp_handle_upload($files);
|
23 |
+
} else {
|
24 |
+
$parent_fallback_files = $files;
|
25 |
+
$ext = end(explode(".", $files["name"]));
|
26 |
+
if ( in_array($files['type'],array('audio/mp3','video/mp4') ) || in_array($ext, array('mp3','mp4'))){
|
27 |
+
return parent::insert_media($name, $description, $album_id, $group, $is_multiple, $is_activity, $parent_fallback_files, $author_id, $album_name);
|
28 |
+
}
|
29 |
+
$file = wp_handle_sideload($files, array('test_form' => false));
|
30 |
+
}
|
31 |
+
|
32 |
+
$parent_fallback_files['tmp_name'] = $file['file'];
|
33 |
+
|
34 |
+
if (isset($file['error']) || $file === null) {
|
35 |
+
throw new Exception(__('Error Uploading File', 'buddypress-media'));
|
36 |
+
}
|
37 |
+
|
38 |
+
$type = $file['type'];
|
39 |
+
if (!preg_match('/video|audio/i', $type, $result)) {
|
40 |
+
throw new Exception(__('Upload file type not supported', BP_MEDIA_FFMPEG_TXT_DOMAIN));
|
41 |
+
}
|
42 |
+
|
43 |
+
$attachment = array();
|
44 |
+
$url = $file['url'];
|
45 |
+
$file = $file['file'];
|
46 |
+
$title = $name;
|
47 |
+
$content = $description;
|
48 |
+
|
49 |
+
$api_key = bp_get_option('bp-media-encoding-api-key');
|
50 |
+
|
51 |
+
$query_args = array('url' => urlencode($url),
|
52 |
+
'callbackurl' => urlencode(home_url()),
|
53 |
+
'force' => 0,
|
54 |
+
'size' => filesize($file),
|
55 |
+
'formats' => ($result[0] == 'video')?'mp4':'mp3');
|
56 |
+
$encoding_url = 'http://api.rtcamp.com/job/new/';
|
57 |
+
|
58 |
+
$upload_url = add_query_arg($query_args, $encoding_url . $api_key);
|
59 |
+
$upload_page = wp_remote_get($upload_url,array('timeout'=>20));
|
60 |
+
if (!is_wp_error($upload_page) && (!isset($upload_page['headers']['status']) || (isset($upload_page['headers']['status']) && ($upload_page['headers']['status'] == 200)))) {
|
61 |
+
$upload_info = json_decode($upload_page['body']);
|
62 |
+
if (isset($upload_info->status) && $upload_info->status && isset($upload_info->job_id)&&$upload_info->job_id) {
|
63 |
+
$job_id = $upload_info->job_id;
|
64 |
+
} else {
|
65 |
+
$bp_media_admin->bp_media_encoding->update_usage($bp_media_admin->bp_media_encoding->api_key);
|
66 |
+
$bp_media_admin->bp_media_encoding->usage_quota_over();
|
67 |
+
remove_filter('bp_media_plupload_files_filter', array($bp_media_admin->bp_media_encoding, 'allowed_types'));
|
68 |
+
return parent::insert_media($name, $description, $album_id, $group, $is_multiple, $is_activity, $parent_fallback_files, $author_id, $album_name);
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
$attachment = array(
|
73 |
+
'post_mime_type' => $type,
|
74 |
+
'guid' => $url,
|
75 |
+
'post_title' => $title,
|
76 |
+
'post_content' => $content,
|
77 |
+
'post_parent' => $post_id,
|
78 |
+
);
|
79 |
+
|
80 |
+
$attachment_id = wp_insert_attachment($attachment, $file, $post_id);
|
81 |
+
if (!is_wp_error($attachment_id)) {
|
82 |
+
update_post_meta($attachment_id, 'bp-media-encoding-job-id', $job_id);
|
83 |
+
add_filter('intermediate_image_sizes', array($this, 'bp_media_image_sizes'), 99);
|
84 |
+
wp_update_attachment_metadata($attachment_id, wp_generate_attachment_metadata($attachment_id, $file));
|
85 |
+
} else {
|
86 |
+
unlink($file);
|
87 |
+
throw new Exception(__('Error creating attachment for the media file, please try again', 'buddypress-media'));
|
88 |
+
}
|
89 |
+
$this->id = $attachment_id;
|
90 |
+
$this->name = $name;
|
91 |
+
$this->description = $description;
|
92 |
+
$this->type = $result[0];
|
93 |
+
$this->owner = $author_id;
|
94 |
+
$this->album_id = $post_id;
|
95 |
+
$this->group_id = $group;
|
96 |
+
$this->set_permalinks();
|
97 |
+
if ($group == 0) {
|
98 |
+
update_post_meta($attachment_id, 'bp-media-key', $author_id);
|
99 |
+
} else {
|
100 |
+
update_post_meta($attachment_id, 'bp-media-key', (-$group));
|
101 |
+
}
|
102 |
+
|
103 |
+
$bp_media_admin->bp_media_encoding->update_usage($bp_media_admin->bp_media_encoding->api_key);
|
104 |
+
// update_post_meta( $attachment_id, 'bp_media_privacy', 6 );
|
105 |
+
// $this->pre_update_count();
|
106 |
+
do_action('bp_media_after_add_media', $this, $is_multiple, $is_activity, $group);
|
107 |
+
return $attachment_id;
|
108 |
+
}
|
109 |
+
|
110 |
+
function pre_update_count() {
|
111 |
+
global $bp;
|
112 |
+
$user_id = $bp->loggedin_user->id;
|
113 |
+
global $wpdb;
|
114 |
+
$formatted = array();
|
115 |
+
$query =
|
116 |
+
"SELECT
|
117 |
+
SUM(CASE WHEN post_mime_type LIKE 'image%' THEN 1 ELSE 0 END) as Images,
|
118 |
+
SUM(CASE WHEN post_mime_type LIKE 'audio%' THEN 1 ELSE 0 END) as Audio,
|
119 |
+
SUM(CASE WHEN post_mime_type LIKE 'video%' THEN 1 ELSE 0 END) as Videos,
|
120 |
+
SUM(CASE WHEN post_type LIKE 'bp_media_album' THEN 1 ELSE 0 END) as Albums
|
121 |
+
FROM
|
122 |
+
$wpdb->posts p inner join $wpdb->postmeta pm on pm.post_id = p.id INNER JOIN $wpdb->postmeta pmp
|
123 |
+
on pmp.post_id = p.id WHERE
|
124 |
+
p.post_author = $user_id AND
|
125 |
+
pm.meta_key = 'bp-media-key' AND
|
126 |
+
pm.meta_value > 0 AND
|
127 |
+
pmp.meta_key = 'bp_media_privacy' AND
|
128 |
+
( post_mime_type LIKE 'image%' OR post_mime_type LIKE 'audio%' OR post_mime_type LIKE 'video%' OR post_type LIKE 'bp_media_album')
|
129 |
+
GROUP BY pmp.meta_value";
|
130 |
+
$result = $wpdb->get_results($query);
|
131 |
+
if (!is_array($result))
|
132 |
+
return false;
|
133 |
+
foreach ($result as $level => $obj) {
|
134 |
+
$formatted[$level * 2] = array(
|
135 |
+
'image' => $obj->Images,
|
136 |
+
'video' => $obj->Videos,
|
137 |
+
'audio' => $obj->Audio,
|
138 |
+
'album' => $obj->Albums,
|
139 |
+
);
|
140 |
+
}
|
141 |
+
bp_update_user_meta($user_id, 'bp_media_count', $formatted);
|
142 |
+
}
|
143 |
+
|
144 |
+
}
|
145 |
+
|
146 |
+
?>
|
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.
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
@@ -43,6 +43,7 @@ if ( ! defined( 'BP_MEDIA_URL' ) ){
|
|
43 |
*/
|
44 |
function buddypress_media_autoloader( $class_name ) {
|
45 |
$rtlibpath = array(
|
|
|
46 |
'app/helper/' . $class_name . '.php',
|
47 |
'app/admin/' . $class_name . '.php',
|
48 |
'app/main/' . $class_name . '.php',
|
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.13.1
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
43 |
*/
|
44 |
function buddypress_media_autoloader( $class_name ) {
|
45 |
$rtlibpath = array(
|
46 |
+
'app/services/' . $class_name . '.php',
|
47 |
'app/helper/' . $class_name . '.php',
|
48 |
'app/admin/' . $class_name . '.php',
|
49 |
'app/main/' . $class_name . '.php',
|
languages/buddypress-media-ar_AR.mo
CHANGED
Binary file
|
languages/buddypress-media-de_DE.mo
CHANGED
Binary file
|
languages/buddypress-media-es_ES.mo
CHANGED
Binary file
|
languages/buddypress-media-fa_IR.mo
CHANGED
Binary file
|
languages/buddypress-media-fr_FR.mo
CHANGED
Binary file
|
languages/buddypress-media-it_IT.mo
CHANGED
Binary file
|
languages/buddypress-media-ja_JA.mo
CHANGED
Binary file
|
languages/buddypress-media-nl_NL.mo
CHANGED
Binary file
|
languages/buddypress-media-pl_PL.mo
CHANGED
Binary file
|
languages/buddypress-media-pt_BR.mo
CHANGED
Binary file
|
languages/buddypress-media-ro_RO.mo
CHANGED
Binary file
|
languages/buddypress-media-sr_SR.mo
CHANGED
Binary file
|
languages/buddypress-media.mo
CHANGED
Binary file
|
languages/buddypress-media.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: BuddyPress Media\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2013-05-
|
6 |
-
"PO-Revision-Date: 2013-05-
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: rtCamp <info@rtcamp.com>\n"
|
9 |
"Language: en_IN\n"
|
10 |
"MIME-Version: 1.0\n"
|
@@ -15,6 +15,174 @@ msgstr ""
|
|
15 |
"X-Generator: Poedit 1.5.4\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
#: app/helper/BPMediaFeed.php:43
|
19 |
msgid "No items"
|
20 |
msgstr ""
|
@@ -23,13 +191,17 @@ msgstr ""
|
|
23 |
msgid "Posted "
|
24 |
msgstr ""
|
25 |
|
|
|
|
|
|
|
|
|
26 |
#: app/helper/BPMediaSettings.php:33
|
27 |
msgid "Enabled Media Types"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: app/helper/BPMediaSettings.php:34
|
31 |
-
#: app/
|
32 |
-
#: app/main/
|
33 |
msgid "Photos"
|
34 |
msgstr ""
|
35 |
|
@@ -37,8 +209,9 @@ msgstr ""
|
|
37 |
msgid "Enable Photos"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: app/helper/BPMediaSettings.php:39
|
41 |
-
#: app/
|
|
|
42 |
msgid "Video"
|
43 |
msgstr ""
|
44 |
|
@@ -46,8 +219,8 @@ msgstr ""
|
|
46 |
msgid "Enable Video (mp4)"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: app/helper/BPMediaSettings.php:44
|
50 |
-
#: app/
|
51 |
msgid "Audio"
|
52 |
msgstr ""
|
53 |
|
@@ -107,11 +280,13 @@ msgstr ""
|
|
107 |
msgid "Video Payer Settings"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: app/helper/BPMediaSettings.php:96
|
|
|
111 |
msgid "Activity Player Size"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: app/helper/BPMediaSettings.php:100
|
|
|
115 |
msgid "Single Player Size"
|
116 |
msgstr ""
|
117 |
|
@@ -147,7 +322,7 @@ msgstr ""
|
|
147 |
msgid "Groups Integration"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: app/helper/BPMediaSettings.php:143
|
151 |
msgid "Groups"
|
152 |
msgstr ""
|
153 |
|
@@ -224,7 +399,8 @@ msgstr ""
|
|
224 |
msgid "Enable menu in WordPress admin bar"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: app/helper/BPMediaSettings.php:200
|
|
|
228 |
msgid "Recount"
|
229 |
msgstr ""
|
230 |
|
@@ -233,16 +409,17 @@ msgid "Repair media counts"
|
|
233 |
msgstr ""
|
234 |
|
235 |
#: app/helper/BPMediaSettings.php:207
|
236 |
-
msgid "BuddyPress Media Addons for
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: app/helper/BPMediaSettings.php:209
|
240 |
-
#: app/
|
241 |
msgid "Support"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: app/helper/BPMediaSettings.php:214
|
245 |
-
#: app/
|
|
|
246 |
#: app/main/privacy/BPMediaPrivacySettings.php:29
|
247 |
msgid "Update Database"
|
248 |
msgstr ""
|
@@ -251,421 +428,219 @@ msgstr ""
|
|
251 |
msgid "BP-Album Importer"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: app/helper/BPMediaSettings.php:
|
255 |
#, php-format
|
256 |
-
msgid ""
|
257 |
-
"Currently your network allows uploading of the following file types. You can "
|
258 |
-
"change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: app/helper/BPMediaSettings.php:
|
|
|
262 |
msgid "Recounting of media files done successfully"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: app/helper/BPMediaSettings.php:
|
266 |
msgid "Recount Success"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: app/helper/BPMediaSettings.php:
|
|
|
270 |
msgid "Recounting Failed"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: app/helper/BPMediaSettings.php:
|
274 |
msgid "Recount Fail"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: app/helper/BPMediaSettings.php:
|
|
|
278 |
msgid "Atleast one Media Type Must be selected"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: app/helper/BPMediaSettings.php:
|
282 |
msgid "Media Type"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: app/helper/BPMediaSettings.php:
|
|
|
286 |
msgid "\"Number of media\" count value should be numeric and greater than 0."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: app/helper/BPMediaSettings.php:
|
290 |
msgid "Default Count"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: app/helper/BPMediaSettings.php:
|
294 |
msgid "Settings saved."
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: app/helper/BPMediaSettings.php:
|
298 |
#, php-format
|
299 |
-
msgid ""
|
300 |
-
"If you make changes to width, height or crop settings, you must use \"<a "
|
301 |
-
"href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: app/helper/BPMediaSettings.php:
|
305 |
-
msgid ""
|
306 |
-
"Please provide \"option\" value ( required ) in the argument. Pass argument "
|
307 |
-
"to add_settings_field in the following format array( 'option' => "
|
308 |
-
"'option_name' ) "
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: app/helper/BPMediaSettings.php:
|
312 |
-
#: app/helper/BPMediaSettings.php:
|
313 |
-
|
314 |
-
"Please provide \"option\" value ( required ) in the argument. Pass argument "
|
315 |
-
"to add_settings_field in the following format array( 'option' => "
|
316 |
-
"'option_name' )"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: app/helper/BPMediaSettings.php:
|
320 |
msgid "Need to specify atleast to radios else use a checkbox instead"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: app/helper/BPMediaSettings.php:
|
324 |
msgid "Width"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: app/helper/BPMediaSettings.php:
|
328 |
msgid "Height"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: app/helper/BPMediaSettings.php:
|
332 |
msgid "Crop"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: app/helper/BPMediaSettings.php:
|
336 |
-
msgid ""
|
337 |
-
"Please provide some values to populate the dropdown. Format : array( 'value' "
|
338 |
-
"=> 'option' )"
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: app/helper/BPMediaSettings.php:
|
342 |
msgid "None"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: app/helper/BPMediaSettings.php:
|
346 |
msgid "BuddyPress Media 2.6 requires a database upgrade. "
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: app/helper/BPMediaSettings.php:
|
350 |
-
msgid ""
|
351 |
-
"If your site has some issues due to BuddyPress Media and you want one on one "
|
352 |
-
"support then you can create a support topic on the <a target=\"_blank\" href="
|
353 |
-
"\"http://rtcamp.com/groups/buddypress-media/forum/?"
|
354 |
-
"utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
|
355 |
-
"\">rtCamp Support Forum</a>."
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: app/helper/BPMediaSettings.php:
|
359 |
-
msgid ""
|
360 |
-
"If you have any suggestions, enhancements or bug reports, then you can open "
|
361 |
-
"a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/"
|
362 |
-
"buddypress-media/issues/new\">GitHub</a>."
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: app/
|
366 |
-
msgid "
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: app/
|
370 |
-
msgid "
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: app/
|
374 |
-
msgid "
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: app/
|
378 |
-
msgid "
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: app/
|
382 |
-
msgid "
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: app/
|
386 |
-
|
|
|
|
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: app/
|
390 |
-
|
|
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: app/
|
394 |
-
|
|
|
|
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: app/
|
398 |
-
|
|
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: app/
|
402 |
-
|
|
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: app/
|
406 |
-
|
|
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: app/
|
410 |
-
msgid "
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: app/
|
414 |
-
|
|
|
|
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: app/
|
418 |
-
msgid "
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: app/
|
422 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: app/
|
426 |
-
|
|
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: app/
|
430 |
-
|
|
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: app/
|
434 |
-
|
|
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: app/
|
438 |
-
msgid "
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: app/
|
442 |
-
msgid "
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: app/
|
446 |
-
msgid "
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: app/
|
450 |
-
msgid "
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: app/
|
454 |
-
msgid "
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: app/
|
458 |
-
msgid "
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: app/
|
462 |
-
msgid "
|
463 |
-
msgstr ""
|
464 |
-
|
465 |
-
#: app/helper/BPMediaSupport.php:252
|
466 |
-
msgid "Your server failed to send an email."
|
467 |
-
msgstr ""
|
468 |
-
|
469 |
-
#: app/helper/BPMediaSupport.php:253
|
470 |
-
msgid "Kindly contact your server support to fix this."
|
471 |
-
msgstr ""
|
472 |
-
|
473 |
-
#: app/helper/BPMediaSupport.php:254
|
474 |
-
#, php-format
|
475 |
-
msgid "You can alternatively create a support request <a href=\"%s\">here</a>"
|
476 |
-
msgstr ""
|
477 |
-
|
478 |
-
#: app/helper/BPMediaAddon.php:29
|
479 |
-
msgid "BuddyPress-Media Photo Tagging"
|
480 |
-
msgstr ""
|
481 |
-
|
482 |
-
#: app/helper/BPMediaAddon.php:32 app/helper/BPMediaAddon.php:42
|
483 |
-
#: app/importers/BPMediaAlbumimporter.php:176
|
484 |
-
msgid ""
|
485 |
-
"BuddyPress Media Instagram adds Instagram like filters to images uploaded "
|
486 |
-
"with BuddyPress Media."
|
487 |
-
msgstr ""
|
488 |
-
|
489 |
-
#: app/helper/BPMediaAddon.php:33 app/helper/BPMediaAddon.php:43
|
490 |
-
#: app/importers/BPMediaAlbumimporter.php:177
|
491 |
-
msgid "Important"
|
492 |
-
msgstr ""
|
493 |
-
|
494 |
-
#: app/helper/BPMediaAddon.php:33 app/helper/BPMediaAddon.php:43
|
495 |
-
#: app/importers/BPMediaAlbumimporter.php:177
|
496 |
-
msgid ""
|
497 |
-
"You need to have ImageMagick installed on your server for this addon to work."
|
498 |
-
msgstr ""
|
499 |
-
|
500 |
-
#: app/helper/BPMediaAddon.php:39
|
501 |
-
msgid "BuddyPress-Media Instagram"
|
502 |
-
msgstr ""
|
503 |
-
|
504 |
-
#: app/helper/BPMediaAddon.php:49
|
505 |
-
msgid "BuddyPress-Media Kaltura Add-on"
|
506 |
-
msgstr ""
|
507 |
-
|
508 |
-
#: app/helper/BPMediaAddon.php:52
|
509 |
-
msgid "Add support for more video formats using Kaltura video solution."
|
510 |
-
msgstr ""
|
511 |
-
|
512 |
-
#: app/helper/BPMediaAddon.php:53
|
513 |
-
msgid "Works with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise."
|
514 |
-
msgstr ""
|
515 |
-
|
516 |
-
#: app/helper/BPMediaAddon.php:59
|
517 |
-
msgid "BuddyPress-Media FFMPEG Add-on"
|
518 |
-
msgstr ""
|
519 |
-
|
520 |
-
#: app/helper/BPMediaAddon.php:62
|
521 |
-
msgid ""
|
522 |
-
"Add supports for more audio & video formats using open-source media-node."
|
523 |
-
msgstr ""
|
524 |
-
|
525 |
-
#: app/helper/BPMediaAddon.php:63
|
526 |
-
msgid "Media node comes with automated setup script for Ubuntu/Debian."
|
527 |
-
msgstr ""
|
528 |
-
|
529 |
-
#: app/helper/BPMediaAddon.php:109 app/importers/BPMediaAlbumimporter.php:181
|
530 |
-
msgid "Buy Now"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: app/helper/BPMediaAddon.php:110 app/importers/BPMediaAlbumimporter.php:182
|
534 |
-
msgid "Live Demo"
|
535 |
-
msgstr ""
|
536 |
-
|
537 |
-
#: app/admin/BPMediaAdmin.php:68
|
538 |
-
msgid "Please do not refresh this page."
|
539 |
-
msgstr ""
|
540 |
-
|
541 |
-
#: app/admin/BPMediaAdmin.php:69
|
542 |
-
msgid ""
|
543 |
-
"Something went wronng. Please <a href onclick=\"location.reload();"
|
544 |
-
"\">refresh</a> page."
|
545 |
-
msgstr ""
|
546 |
-
|
547 |
-
#: app/admin/BPMediaAdmin.php:88
|
548 |
-
msgid "BuddyPress Media Component"
|
549 |
-
msgstr ""
|
550 |
-
|
551 |
-
#: app/admin/BPMediaAdmin.php:88 app/admin/BPMediaAdmin.php:212
|
552 |
-
#: app/admin/BPMediaAdmin.php:213 app/main/widgets/BPMediaWidget.php:33
|
553 |
-
#: app/main/includes/BPMediaFilters.php:370
|
554 |
-
msgid "BuddyPress Media"
|
555 |
-
msgstr ""
|
556 |
-
|
557 |
-
#: app/admin/BPMediaAdmin.php:89 app/admin/BPMediaAdmin.php:240
|
558 |
-
msgid "BuddyPress Media Settings"
|
559 |
-
msgstr ""
|
560 |
-
|
561 |
-
#: app/admin/BPMediaAdmin.php:89 app/admin/BPMediaAdmin.php:241
|
562 |
-
#: app/main/BuddyPressMedia.php:463 app/main/includes/BPMediaFilters.php:328
|
563 |
-
msgid "Settings"
|
564 |
-
msgstr ""
|
565 |
-
|
566 |
-
#: app/admin/BPMediaAdmin.php:91
|
567 |
-
msgid "BuddyPress Media Database Update"
|
568 |
-
msgstr ""
|
569 |
-
|
570 |
-
#: app/admin/BPMediaAdmin.php:94 app/admin/BPMediaAdmin.php:270
|
571 |
-
#: app/admin/BPMediaAdmin.php:271
|
572 |
-
msgid "Importer"
|
573 |
-
msgstr ""
|
574 |
-
|
575 |
-
#: app/admin/BPMediaAdmin.php:96 app/admin/BPMediaAdmin.php:247
|
576 |
-
msgid "BuddyPress Media Addons"
|
577 |
-
msgstr ""
|
578 |
-
|
579 |
-
#: app/admin/BPMediaAdmin.php:96 app/admin/BPMediaAdmin.php:248
|
580 |
-
#: app/main/includes/BPMediaFilters.php:337
|
581 |
-
msgid "Addons"
|
582 |
-
msgstr ""
|
583 |
-
|
584 |
-
#: app/admin/BPMediaAdmin.php:97 app/admin/BPMediaAdmin.php:254
|
585 |
-
msgid "BuddyPress Media Support"
|
586 |
-
msgstr ""
|
587 |
-
|
588 |
-
#: app/admin/BPMediaAdmin.php:97
|
589 |
-
msgid "Support "
|
590 |
-
msgstr ""
|
591 |
-
|
592 |
-
#: app/admin/BPMediaAdmin.php:99
|
593 |
-
msgid "BuddyPress Media Convert Videos"
|
594 |
-
msgstr ""
|
595 |
-
|
596 |
-
#: app/admin/BPMediaAdmin.php:99 app/admin/BPMediaAdmin.php:263
|
597 |
-
msgid "Convert Videos"
|
598 |
-
msgstr ""
|
599 |
-
|
600 |
-
#: app/admin/BPMediaAdmin.php:160 app/importers/BPMediaAlbumimporter.php:91
|
601 |
-
#: app/main/BPMediaComponent.php:298 app/main/BPMediaComponent.php:299
|
602 |
-
#: app/main/BPMediaComponent.php:305 app/main/BuddyPressMedia.php:317
|
603 |
-
#: app/main/BuddyPressMedia.php:320 app/main/includes/BPMediaFilters.php:247
|
604 |
-
msgid "Media"
|
605 |
-
msgstr ""
|
606 |
-
|
607 |
-
#: app/admin/BPMediaAdmin.php:182
|
608 |
-
msgid "By"
|
609 |
-
msgstr ""
|
610 |
-
|
611 |
-
#: app/admin/BPMediaAdmin.php:182
|
612 |
-
msgid "Empowering The Web With WordPress"
|
613 |
-
msgstr ""
|
614 |
-
|
615 |
-
#: app/admin/BPMediaAdmin.php:262
|
616 |
-
msgid "BuddyPress Media Covert Videos"
|
617 |
-
msgstr ""
|
618 |
-
|
619 |
-
#: app/admin/BPMediaAdmin.php:363
|
620 |
-
#, php-format
|
621 |
-
msgid "I use @buddypressmedia http://goo.gl/8Upmv on %s"
|
622 |
-
msgstr ""
|
623 |
-
|
624 |
-
#: app/admin/BPMediaAdmin.php:364
|
625 |
-
msgid "Add link to footer"
|
626 |
-
msgstr ""
|
627 |
-
|
628 |
-
#: app/admin/BPMediaAdmin.php:365
|
629 |
-
msgid "Tweet"
|
630 |
-
msgstr ""
|
631 |
-
|
632 |
-
#: app/admin/BPMediaAdmin.php:366
|
633 |
-
msgid "Rate on WordPress.org"
|
634 |
-
msgstr ""
|
635 |
-
|
636 |
-
#: app/admin/BPMediaAdmin.php:367
|
637 |
-
msgid "Spread the Word"
|
638 |
-
msgstr ""
|
639 |
-
|
640 |
-
#: app/admin/BPMediaAdmin.php:377
|
641 |
-
msgid "USD"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: app/admin/BPMediaAdmin.php:386
|
645 |
-
msgid "OR"
|
646 |
-
msgstr ""
|
647 |
-
|
648 |
-
#: app/admin/BPMediaAdmin.php:387
|
649 |
-
msgid ""
|
650 |
-
"Use <a href=\"https://rtcamp.com/store/product-category/buddypress/?"
|
651 |
-
"utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
|
652 |
-
"\">premium add-ons</a> starting from $9"
|
653 |
-
msgstr ""
|
654 |
-
|
655 |
-
#: app/admin/BPMediaAdmin.php:389
|
656 |
-
msgid "Donate"
|
657 |
-
msgstr ""
|
658 |
-
|
659 |
-
#: app/admin/BPMediaAdmin.php:403
|
660 |
-
msgid "Become a fan on Facebook"
|
661 |
-
msgstr ""
|
662 |
-
|
663 |
-
#: app/admin/BPMediaAdmin.php:403
|
664 |
-
msgid "Facebook"
|
665 |
-
msgstr ""
|
666 |
-
|
667 |
-
#: app/admin/BPMediaAdmin.php:404
|
668 |
-
msgid "Follow us on Twitter"
|
669 |
msgstr ""
|
670 |
|
671 |
#: app/admin/BPMediaAdmin.php:404
|
@@ -688,41 +663,34 @@ msgstr ""
|
|
688 |
msgid "Latest News"
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: app/admin/BPMediaAdmin.php:
|
692 |
#, php-format
|
693 |
-
msgid ""
|
694 |
-
"You have images enabled on BuddyPress Media but your network allowed "
|
695 |
-
"filetypes does not allow uploading of %s. Click <a href=\"%s\">here</a> to "
|
696 |
-
"change your settings manually."
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: app/admin/BPMediaAdmin.php:
|
700 |
-
#: app/admin/BPMediaAdmin.php:
|
|
|
701 |
msgid "Recommended"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: app/admin/BPMediaAdmin.php:
|
705 |
-
#: app/admin/BPMediaAdmin.php:
|
|
|
706 |
msgid "Update Network Settings Automatically"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: app/admin/BPMediaAdmin.php:
|
710 |
#, php-format
|
711 |
-
msgid ""
|
712 |
-
"You have video enabled on BuddyPress Media but your network allowed "
|
713 |
-
"filetypes does not allow uploading of mp4. Click <a href=\"%s\">here</a> to "
|
714 |
-
"change your settings manually."
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: app/admin/BPMediaAdmin.php:
|
718 |
#, php-format
|
719 |
-
msgid ""
|
720 |
-
"You have audio enabled on BuddyPress Media but your network allowed "
|
721 |
-
"filetypes does not allow uploading of mp3. Click <a href=\"%s\">here</a> to "
|
722 |
-
"change your settings manually."
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: app/admin/BPMediaAdmin.php:
|
726 |
msgid "Network settings updated successfully."
|
727 |
msgstr ""
|
728 |
|
@@ -732,18 +700,11 @@ msgstr ""
|
|
732 |
|
733 |
#: app/importers/BPMediaAlbumimporter.php:72
|
734 |
#, php-format
|
735 |
-
msgid ""
|
736 |
-
"This import process is irreversible. Although everything is tested, please "
|
737 |
-
"take a <a target=\"_blank\" href=\"http://codex.wordpress.org/"
|
738 |
-
"WordPress_Backups\">backup of your database and files</a>, before "
|
739 |
-
"proceeding. If you don't know your way around databases and files, consider "
|
740 |
-
"<a target=\"_blank\" href=\"%s\">hiring us</a>, or another professional."
|
741 |
msgstr ""
|
742 |
|
743 |
#: app/importers/BPMediaAlbumimporter.php:73
|
744 |
-
msgid ""
|
745 |
-
"If you have set \"WP_DEBUG\" in you wp-config.php file, please make sure it "
|
746 |
-
"is set to \"false\", so that it doesn't conflict with the import process."
|
747 |
msgstr ""
|
748 |
|
749 |
#: app/importers/BPMediaAlbumimporter.php:74
|
@@ -755,7 +716,6 @@ msgid "Start Import"
|
|
755 |
msgstr ""
|
756 |
|
757 |
#: app/importers/BPMediaAlbumimporter.php:81
|
758 |
-
#: app/main/includes/BPMediaFilters.php:408
|
759 |
msgid "Users"
|
760 |
msgstr ""
|
761 |
|
@@ -772,8 +732,7 @@ msgid "User's Favorites"
|
|
772 |
msgstr ""
|
773 |
|
774 |
#: app/importers/BPMediaAlbumimporter.php:133
|
775 |
-
msgid ""
|
776 |
-
"BP-Album is active on your site and will cause problems with the import."
|
777 |
msgstr ""
|
778 |
|
779 |
#: app/importers/BPMediaAlbumimporter.php:134
|
@@ -781,8 +740,7 @@ msgid "Click here to deactivate BP-Album and continue importing"
|
|
781 |
msgstr ""
|
782 |
|
783 |
#: app/importers/BPMediaAlbumimporter.php:140
|
784 |
-
msgid ""
|
785 |
-
"Some of the media failed to import. The file might be corrupt or deleted."
|
786 |
msgstr ""
|
787 |
|
788 |
#: app/importers/BPMediaAlbumimporter.php:141
|
@@ -808,9 +766,7 @@ msgid "Tweet this"
|
|
808 |
msgstr ""
|
809 |
|
810 |
#: app/importers/BPMediaAlbumimporter.php:156
|
811 |
-
msgid ""
|
812 |
-
"However, a lot of unnecessary files and a database table are still eating up "
|
813 |
-
"your resources. If everything seems fine, you can clean this data up."
|
814 |
msgstr ""
|
815 |
|
816 |
#: app/importers/BPMediaAlbumimporter.php:159
|
@@ -826,9 +782,7 @@ msgid "Why don't you try adding some instagram like effects to your images?"
|
|
826 |
msgstr ""
|
827 |
|
828 |
#: app/importers/BPMediaAlbumimporter.php:187
|
829 |
-
msgid ""
|
830 |
-
"Looks like you don't use BP Album. Is there any other BuddyPress Plugin you "
|
831 |
-
"want an importer for?"
|
832 |
msgstr ""
|
833 |
|
834 |
#: app/importers/BPMediaAlbumimporter.php:188
|
@@ -836,31 +790,87 @@ msgstr ""
|
|
836 |
msgid "<a href=\"%s\">Create an issue</a> on GitHub requesting the same."
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: app/main/
|
840 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: app/main/
|
844 |
-
#: app/main/BuddyPressMedia.php:343
|
|
|
|
|
|
|
|
|
|
|
|
|
845 |
msgid "Albums"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: app/main/
|
|
|
849 |
msgid "Album"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: app/main/
|
853 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
msgid "Create"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: app/main/BPMediaComponent.php:259
|
858 |
-
#: app/main/profile/BPMediaTemplate.php:274
|
859 |
msgid "Create Album"
|
860 |
msgstr ""
|
861 |
|
862 |
#: app/main/BPMediaComponent.php:260
|
863 |
-
#: app/main/profile/BPMediaAlbumScreen.php:246
|
864 |
msgid "Edit Album"
|
865 |
msgstr ""
|
866 |
|
@@ -896,249 +906,476 @@ msgstr ""
|
|
896 |
msgid "BuddyPress Media's Media Files"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: app/main/
|
900 |
-
msgid "Media
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: app/main/
|
904 |
-
msgid "
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: app/main/
|
908 |
-
msgid "
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: app/main/
|
912 |
-
|
913 |
-
msgid "<a href=\"%s\">Install BuddyPress now</a>"
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: app/main/
|
917 |
-
msgid "
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: app/main/
|
921 |
-
msgid "
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: app/main/
|
925 |
-
|
926 |
-
msgid "Videos"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#: app/main/
|
930 |
-
|
931 |
-
msgid "Music"
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: app/main/
|
935 |
-
msgid "
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: app/main/
|
939 |
#, php-format
|
940 |
-
msgid ""
|
941 |
-
"The BuddyPress version installed is an\n"
|
942 |
-
"\t\t\t\t\t\t\t\t\t\tolder version and is not supported,\n"
|
943 |
-
"\t\t\t\t\t\t\t\t\t\tplease update BuddyPress to use\n"
|
944 |
-
"\t\t\t\t\t\t\t\t\t\tBuddyPress Media Plugin.\n"
|
945 |
-
"\t\t\t\t\t\t\t\t\t\t<a class=\"alignright\" href=\"%1$s\">X</a>"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: app/main/
|
949 |
#, php-format
|
950 |
-
msgid ""
|
951 |
-
"You have not installed BuddyPress.\n"
|
952 |
-
"\t\t\t\t\t\t\t\t\tPlease install latest version of BuddyPress\n"
|
953 |
-
"\t\t\t\t\t\t\t\t\tto use BuddyPress Media plugin.\n"
|
954 |
-
"\t\t\t\t\t\t\t\t\t<a class=\"alignright\" href=\"%1$s\">X</a>"
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: app/main/
|
958 |
-
|
|
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: app/main/
|
962 |
-
|
|
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: app/main/
|
966 |
-
|
967 |
-
msgid "Wall Posts"
|
968 |
msgstr ""
|
969 |
|
970 |
-
#: app/main/
|
971 |
-
msgid "
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: app/main/
|
975 |
-
msgid "
|
976 |
msgstr ""
|
977 |
|
978 |
-
#: app/main/
|
979 |
-
msgid "
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: app/main/
|
983 |
-
msgid "
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: app/main/
|
987 |
-
msgid "
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: app/main/
|
991 |
-
msgid "
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: app/main/
|
995 |
-
|
996 |
-
msgid "Upload Media"
|
997 |
msgstr ""
|
998 |
|
999 |
-
#: app/main/
|
1000 |
-
msgid "
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#: app/main/
|
1004 |
-
|
1005 |
-
msgid "Show More"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: app/main/
|
1009 |
-
msgid "
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: app/main/
|
1013 |
-
#: app/main/
|
1014 |
-
msgid "
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: app/main/
|
1018 |
-
msgid "
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: app/main/
|
1022 |
-
msgid "
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: app/main/
|
1026 |
-
|
|
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: app/main/
|
1030 |
-
|
1031 |
-
|
|
|
|
|
|
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: app/main/
|
|
|
|
|
|
|
|
|
1035 |
#, php-format
|
1036 |
-
msgid "
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: app/main/
|
1040 |
-
|
|
|
|
|
|
|
1041 |
#, php-format
|
1042 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: app/main/
|
|
|
|
|
1046 |
#, php-format
|
1047 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: app/main/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1051 |
#, php-format
|
1052 |
-
msgid "%s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: app/main/
|
1056 |
#, php-format
|
1057 |
-
msgid "%s
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: app/main/
|
1061 |
-
msgid "
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: app/main/
|
1065 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: app/main/profile/
|
1069 |
-
msgid "
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: app/main/profile/
|
1073 |
-
|
1074 |
-
msgid "You do not have access to this page."
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
#: app/main/profile/
|
1078 |
-
msgid "
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#: app/main/profile/
|
1082 |
-
msgid "
|
1083 |
msgstr ""
|
1084 |
|
1085 |
-
#: app/main/profile/
|
1086 |
-
|
1087 |
-
msgid "You are not allowed to be here"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: app/main/profile/
|
1091 |
-
|
1092 |
-
#: app/main/includes/BPMediaActions.php:75
|
1093 |
-
#: app/main/includes/BPMediaActions.php:99
|
1094 |
-
msgid "File uploaded is not supported"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#: app/main/profile/
|
1098 |
-
#: app/main/
|
1099 |
-
msgid "
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: app/main/profile/
|
1103 |
-
|
1104 |
-
msgid "Video uploads are disabled"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: app/main/profile/
|
1108 |
-
|
1109 |
-
msgid "Audio uploads are disabled"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: app/main/profile/
|
1113 |
-
|
1114 |
-
msgid "Upload Successful"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
-
#: app/main/profile/
|
1118 |
-
#: app/main/
|
1119 |
-
|
|
|
1120 |
msgstr ""
|
1121 |
|
1122 |
#: app/main/profile/BPMediaAlbumScreen.php:134
|
1123 |
msgid "Sorry, no media items were found in this album."
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: app/main/profile/BPMediaAlbumScreen.php:246
|
1127 |
-
#: app/main/includes/BPMediaActions.php:353
|
1128 |
-
msgid "Edit"
|
1129 |
-
msgstr ""
|
1130 |
-
|
1131 |
#: app/main/profile/BPMediaAlbumScreen.php:250
|
1132 |
#: app/main/profile/BPMediaAlbumScreen.php:258
|
1133 |
msgid "Delete Album"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: app/main/profile/BPMediaAlbumScreen.php:252
|
1137 |
-
#: app/main/includes/BPMediaHostWordpress.php:640
|
1138 |
-
#: app/main/includes/BPMediaActions.php:359
|
1139 |
-
msgid "Delete"
|
1140 |
-
msgstr ""
|
1141 |
-
|
1142 |
#: app/main/profile/BPMediaAlbumScreen.php:254
|
1143 |
#: app/main/profile/BPMediaAlbumScreen.php:297
|
1144 |
msgid "Select All Visible"
|
@@ -1173,64 +1410,61 @@ msgstr ""
|
|
1173 |
msgid "Submit"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: app/main/profile/
|
1177 |
-
msgid "
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: app/main/
|
1181 |
-
msgid "
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: app/main/
|
1185 |
-
#: app/main/
|
1186 |
-
|
|
|
|
|
|
|
1187 |
#, php-format
|
1188 |
-
msgid "
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: app/main/
|
1192 |
-
|
1193 |
-
msgid "
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: app/main/
|
1197 |
-
|
1198 |
-
msgid "
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: app/main/
|
1202 |
-
|
1203 |
-
msgid "
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#: app/main/
|
1207 |
-
|
1208 |
-
msgid "Group Admins and Mods only"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: app/main/
|
1212 |
-
|
1213 |
-
msgid "Group Admin only"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: app/main/
|
1217 |
-
|
1218 |
-
msgid "Save Changes"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: app/main/
|
1222 |
-
msgid "
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#: app/main/
|
1226 |
-
msgid "
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: app/main/
|
1230 |
-
msgid ""
|
1231 |
-
"You could display a small snippet of information from your group extension "
|
1232 |
-
"here. It will show on the group\n"
|
1233 |
-
"\t home screen."
|
1234 |
msgstr ""
|
1235 |
|
1236 |
#: app/main/activity/BPMediaActivity.php:46
|
@@ -1246,305 +1480,216 @@ msgstr ""
|
|
1246 |
msgid "%1$s posted an update in the group %2$s"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: app/
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
#: app/main/widgets/BPMediaWidget.php:21
|
1254 |
-
msgid "BuddyPress Media Widget"
|
1255 |
-
msgstr ""
|
1256 |
-
|
1257 |
-
#: app/main/widgets/BPMediaWidget.php:72
|
1258 |
-
msgid "All"
|
1259 |
-
msgstr ""
|
1260 |
-
|
1261 |
-
#: app/main/widgets/BPMediaWidget.php:82
|
1262 |
-
#, php-format
|
1263 |
-
msgid ""
|
1264 |
-
"Please configure this widget\n"
|
1265 |
-
"\t\t\t\t\t\t\t\t\t<a href=\"%s\" target=\"_blank\"\n"
|
1266 |
-
"\t\t\t\t\t\t\t\t\ttitle=\"Configure BuddyPress Media Widget\">\n"
|
1267 |
-
"\t\t\t\t\t\t\t\t\there</a>."
|
1268 |
-
msgstr ""
|
1269 |
-
|
1270 |
-
#: app/main/widgets/BPMediaWidget.php:150
|
1271 |
-
msgid "No "
|
1272 |
-
msgstr ""
|
1273 |
-
|
1274 |
-
#: app/main/widgets/BPMediaWidget.php:197
|
1275 |
-
msgid "Widget Type:"
|
1276 |
-
msgstr ""
|
1277 |
-
|
1278 |
-
#: app/main/widgets/BPMediaWidget.php:199
|
1279 |
-
msgid "Recent Media"
|
1280 |
-
msgstr ""
|
1281 |
-
|
1282 |
-
#: app/main/widgets/BPMediaWidget.php:200
|
1283 |
-
msgid "Popular Media"
|
1284 |
-
msgstr ""
|
1285 |
-
|
1286 |
-
#: app/main/widgets/BPMediaWidget.php:203
|
1287 |
-
msgid "Title:"
|
1288 |
-
msgstr ""
|
1289 |
-
|
1290 |
-
#: app/main/widgets/BPMediaWidget.php:206
|
1291 |
-
msgid "Number of posts to show:"
|
1292 |
-
msgstr ""
|
1293 |
-
|
1294 |
-
#: app/main/widgets/BPMediaWidget.php:210
|
1295 |
-
msgid "Show All"
|
1296 |
-
msgstr ""
|
1297 |
-
|
1298 |
-
#: app/main/widgets/BPMediaWidget.php:213
|
1299 |
-
msgid "Show Photos"
|
1300 |
-
msgstr ""
|
1301 |
-
|
1302 |
-
#: app/main/widgets/BPMediaWidget.php:216
|
1303 |
-
msgid "Show Music"
|
1304 |
-
msgstr ""
|
1305 |
-
|
1306 |
-
#: app/main/widgets/BPMediaWidget.php:220
|
1307 |
-
msgid "Show Videos"
|
1308 |
-
msgstr ""
|
1309 |
-
|
1310 |
-
#: app/main/privacy/BPMediaPrivacySettings.php:28
|
1311 |
-
msgid "Update BuddyPress Media Database"
|
1312 |
-
msgstr ""
|
1313 |
-
|
1314 |
-
#: app/main/privacy/BPMediaPrivacySettings.php:93
|
1315 |
-
msgid "Start"
|
1316 |
-
msgstr ""
|
1317 |
-
|
1318 |
-
#: app/main/privacy/BPMediaPrivacy.php:113
|
1319 |
-
msgid "<strong>Private</strong>, Visible only to myself"
|
1320 |
-
msgstr ""
|
1321 |
-
|
1322 |
-
#: app/main/privacy/BPMediaPrivacy.php:117
|
1323 |
-
msgid "<strong>Friends</strong>, Visible to my friends"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: app/
|
1327 |
-
|
|
|
|
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: app/
|
1331 |
-
msgid "
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: app/
|
1335 |
-
msgid "
|
1336 |
msgstr ""
|
1337 |
|
1338 |
-
#: app/
|
1339 |
#, php-format
|
1340 |
-
msgid "
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#: app/
|
1344 |
-
|
1345 |
-
msgid "This %1s is visible only to %2s’s friends"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: app/
|
1349 |
#, php-format
|
1350 |
-
msgid "
|
1351 |
-
msgstr ""
|
1352 |
-
|
1353 |
-
#: app/main/privacy/BPMediaPrivacyScreen.php:42
|
1354 |
-
msgid "Default privacy level for your media has been updated"
|
1355 |
-
msgstr ""
|
1356 |
-
|
1357 |
-
#: app/main/includes/BPMediaHostWordpress.php:59
|
1358 |
-
msgid "Sorry, the requested media does not exist."
|
1359 |
-
msgstr ""
|
1360 |
-
|
1361 |
-
#: app/main/includes/BPMediaHostWordpress.php:137
|
1362 |
-
msgid "Error Uploading File"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#: app/
|
1366 |
-
|
|
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: app/
|
1370 |
-
|
1371 |
-
msgid ""
|
1372 |
-
"The MP4 file you have uploaded is using an unsupported video codec. "
|
1373 |
-
"Supported video codec is H.264."
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: app/
|
1377 |
-
|
|
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: app/
|
1381 |
-
msgid "
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: app/
|
1385 |
-
#: app/
|
1386 |
-
msgid ""
|
1387 |
-
"The MP3 file you have uploaded is using an unsupported audio format. "
|
1388 |
-
"Supported audio format is MP3."
|
1389 |
msgstr ""
|
1390 |
|
1391 |
-
#: app/
|
1392 |
-
msgid "
|
1393 |
msgstr ""
|
1394 |
|
1395 |
-
#: app/
|
1396 |
-
msgid ""
|
1397 |
-
"Media File you have tried to upload is not supported. Supported media files "
|
1398 |
-
"are .jpg, .png, .gif, .mp3, .mov and .mp4."
|
1399 |
msgstr ""
|
1400 |
|
1401 |
-
#: app/
|
1402 |
-
msgid "
|
1403 |
msgstr ""
|
1404 |
|
1405 |
-
#: app/
|
1406 |
-
|
1407 |
-
msgid "%s uploaded a media."
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: app/
|
1411 |
-
msgid "
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: app/
|
1415 |
-
|
1416 |
-
msgid "Comment <span>%s</span>"
|
1417 |
msgstr ""
|
1418 |
|
1419 |
-
#: app/
|
1420 |
-
msgid "
|
1421 |
msgstr ""
|
1422 |
|
1423 |
-
#: app/
|
1424 |
-
msgid "
|
1425 |
msgstr ""
|
1426 |
|
1427 |
-
#: app/
|
1428 |
-
msgid "
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#: app/
|
1432 |
-
msgid "
|
1433 |
msgstr ""
|
1434 |
|
1435 |
-
#: app/
|
1436 |
-
|
|
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#: app/
|
1440 |
-
msgid "
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: app/
|
1444 |
-
msgid "
|
1445 |
msgstr ""
|
1446 |
|
1447 |
-
#: app/
|
1448 |
-
|
1449 |
-
msgid "%1$s added new media in album %2$s"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#: app/
|
1453 |
-
|
1454 |
-
msgid "Delete %s"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
-
#: app/
|
1458 |
-
msgid "
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#: app/
|
1462 |
-
msgid "
|
1463 |
msgstr ""
|
1464 |
|
1465 |
-
#: app/
|
1466 |
-
|
|
|
|
|
1467 |
msgstr ""
|
1468 |
|
1469 |
-
#: app/
|
1470 |
-
msgid "
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: app/
|
1474 |
-
|
|
|
|
|
1475 |
msgstr ""
|
1476 |
|
1477 |
-
#: app/
|
1478 |
-
msgid "
|
1479 |
msgstr ""
|
1480 |
|
1481 |
-
#: app/
|
1482 |
-
msgid "
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: app/
|
1486 |
-
msgid "
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: app/
|
1490 |
-
msgid "
|
1491 |
msgstr ""
|
1492 |
|
1493 |
-
#: app/
|
1494 |
-
msgid "
|
1495 |
msgstr ""
|
1496 |
|
1497 |
-
#: app/
|
1498 |
-
msgid "
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: app/
|
1502 |
-
msgid "
|
1503 |
msgstr ""
|
1504 |
|
1505 |
-
#: app/
|
1506 |
-
msgid "
|
1507 |
msgstr ""
|
1508 |
|
1509 |
-
#: app/
|
1510 |
-
|
1511 |
-
msgid "Set as Album Cover"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
-
#: app/
|
1515 |
-
|
1516 |
-
msgid "Unset as Album Cover"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
-
#: app/
|
1520 |
-
|
|
|
|
|
|
|
|
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#: app/
|
1524 |
-
msgid "
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#: app/
|
1528 |
-
msgid "
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: app/
|
1532 |
-
msgid "
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#: app/
|
1536 |
-
msgid "Please
|
1537 |
msgstr ""
|
1538 |
|
1539 |
-
#: app/
|
1540 |
-
|
1541 |
-
msgid "%1$s created an album %2$s"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#: app/
|
1545 |
-
msgid "
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: app/main/includes/BPMediaActions.php:1188
|
1549 |
-
msgid "No media found"
|
1550 |
-
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: BuddyPress Media\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-05-13 18:00+0530\n"
|
6 |
+
"PO-Revision-Date: 2013-05-13 18:00+0530\n"
|
7 |
+
"Last-Translator: Joshua Abenazer <joshua.abenazer@rtcamp.com>\n"
|
8 |
"Language-Team: rtCamp <info@rtcamp.com>\n"
|
9 |
"Language: en_IN\n"
|
10 |
"MIME-Version: 1.0\n"
|
15 |
"X-Generator: Poedit 1.5.4\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
+
#: app/helper/BPMediaAddon.php:29
|
19 |
+
msgid "BuddyPress-Media Photo Tagging"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: app/helper/BPMediaAddon.php:32
|
23 |
+
#: app/helper/BPMediaAddon.php:42
|
24 |
+
msgid "BuddyPress Media Instagram adds Instagram like filters to images uploaded with BuddyPress Media."
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: app/helper/BPMediaAddon.php:33
|
28 |
+
#: app/helper/BPMediaAddon.php:43
|
29 |
+
msgid "Important"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: app/helper/BPMediaAddon.php:33
|
33 |
+
#: app/helper/BPMediaAddon.php:43
|
34 |
+
msgid "You need to have ImageMagick installed on your server for this addon to work."
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: app/helper/BPMediaAddon.php:39
|
38 |
+
msgid "BuddyPress-Media Instagram"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: app/helper/BPMediaAddon.php:49
|
42 |
+
msgid "BuddyPress-Media Kaltura Add-on"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: app/helper/BPMediaAddon.php:52
|
46 |
+
msgid "Add support for more video formats using Kaltura video solution."
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: app/helper/BPMediaAddon.php:53
|
50 |
+
msgid "Works with Kaltura.com, self-hosted Kaltura-CE and Kaltura-on-premise."
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: app/helper/BPMediaAddon.php:59
|
54 |
+
msgid "BuddyPress-Media FFMPEG Add-on"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: app/helper/BPMediaAddon.php:62
|
58 |
+
msgid "Add supports for more audio & video formats using open-source media-node."
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: app/helper/BPMediaAddon.php:63
|
62 |
+
msgid "Media node comes with automated setup script for Ubuntu/Debian."
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: app/helper/BPMediaAddon.php:74
|
66 |
+
msgid "BuddyPress Media Addons for Audio/Video"
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: app/helper/BPMediaAddon.php:114
|
70 |
+
msgid "Buy Now"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: app/helper/BPMediaAddon.php:115
|
74 |
+
msgid "Live Demo"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: app/helper/BPMediaSupport.php:50
|
78 |
+
msgid "Debug info"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: app/helper/BPMediaSupport.php:81
|
82 |
+
msgid "Submit a Bug Report"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: app/helper/BPMediaSupport.php:84
|
86 |
+
msgid "Submit a New Feature Request"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: app/helper/BPMediaSupport.php:87
|
90 |
+
msgid "Submit a Premium Support Request"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: app/helper/BPMediaSupport.php:95
|
94 |
+
msgid "Name"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: app/helper/BPMediaSupport.php:98
|
98 |
+
msgid "Email"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: app/helper/BPMediaSupport.php:101
|
102 |
+
msgid "Website"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: app/helper/BPMediaSupport.php:104
|
106 |
+
msgid "Phone"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: app/helper/BPMediaSupport.php:107
|
110 |
+
msgid "Subject"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: app/helper/BPMediaSupport.php:110
|
114 |
+
msgid "Details"
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: app/helper/BPMediaSupport.php:121
|
118 |
+
msgid "Additional Information"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: app/helper/BPMediaSupport.php:126
|
122 |
+
msgid "Your WP Admin Login:"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: app/helper/BPMediaSupport.php:129
|
126 |
+
msgid "Your WP Admin password:"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: app/helper/BPMediaSupport.php:132
|
130 |
+
msgid "Your SSH / FTP host:"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: app/helper/BPMediaSupport.php:135
|
134 |
+
msgid "Your SSH / FTP login:"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: app/helper/BPMediaSupport.php:138
|
138 |
+
msgid "Your SSH / FTP password:"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: app/helper/BPMediaSupport.php:161
|
142 |
+
msgid "BuddyPress Media Premium Support Request from"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: app/helper/BPMediaSupport.php:164
|
146 |
+
msgid "BuddyPress Media New Feature Request from"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: app/helper/BPMediaSupport.php:167
|
150 |
+
msgid "BuddyPress Media Bug Report from"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: app/helper/BPMediaSupport.php:170
|
154 |
+
msgid "BuddyPress Media Contact from"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: app/helper/BPMediaSupport.php:231
|
158 |
+
msgid "Debug Info"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: app/helper/BPMediaSupport.php:246
|
162 |
+
msgid "Thank you for your Feedback/Suggestion."
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: app/helper/BPMediaSupport.php:248
|
166 |
+
msgid "Thank you for posting your support request."
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: app/helper/BPMediaSupport.php:249
|
170 |
+
msgid "We will get back to you shortly."
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: app/helper/BPMediaSupport.php:252
|
174 |
+
msgid "Your server failed to send an email."
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: app/helper/BPMediaSupport.php:253
|
178 |
+
msgid "Kindly contact your server support to fix this."
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: app/helper/BPMediaSupport.php:254
|
182 |
+
#, php-format
|
183 |
+
msgid "You can alternatively create a support request <a href=\"%s\">here</a>"
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
#: app/helper/BPMediaFeed.php:43
|
187 |
msgid "No items"
|
188 |
msgstr ""
|
191 |
msgid "Posted "
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: app/helper/BPMediaAdminWidget.php:29
|
195 |
+
msgid "Argument missing. id is required."
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
#: app/helper/BPMediaSettings.php:33
|
199 |
msgid "Enabled Media Types"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: app/helper/BPMediaSettings.php:34
|
203 |
+
#: app/helper/BPMediaSettings.php:51
|
204 |
+
#: app/main/BuddyPressMedia.php:328
|
205 |
msgid "Photos"
|
206 |
msgstr ""
|
207 |
|
209 |
msgid "Enable Photos"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: app/helper/BPMediaSettings.php:39
|
213 |
+
#: app/helper/BPMediaSettings.php:56
|
214 |
+
#: app/main/BuddyPressMedia.php:337
|
215 |
msgid "Video"
|
216 |
msgstr ""
|
217 |
|
219 |
msgid "Enable Video (mp4)"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: app/helper/BPMediaSettings.php:44
|
223 |
+
#: app/helper/BPMediaSettings.php:61
|
224 |
msgid "Audio"
|
225 |
msgstr ""
|
226 |
|
280 |
msgid "Video Payer Settings"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: app/helper/BPMediaSettings.php:96
|
284 |
+
#: app/helper/BPMediaSettings.php:106
|
285 |
msgid "Activity Player Size"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: app/helper/BPMediaSettings.php:100
|
289 |
+
#: app/helper/BPMediaSettings.php:111
|
290 |
msgid "Single Player Size"
|
291 |
msgstr ""
|
292 |
|
322 |
msgid "Groups Integration"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: app/helper/BPMediaSettings.php:143
|
326 |
msgid "Groups"
|
327 |
msgstr ""
|
328 |
|
399 |
msgid "Enable menu in WordPress admin bar"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: app/helper/BPMediaSettings.php:200
|
403 |
+
#: app/helper/BPMediaSettings.php:202
|
404 |
msgid "Recount"
|
405 |
msgstr ""
|
406 |
|
409 |
msgstr ""
|
410 |
|
411 |
#: app/helper/BPMediaSettings.php:207
|
412 |
+
msgid "BuddyPress Media Addons for Photos"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: app/helper/BPMediaSettings.php:209
|
416 |
+
#: app/admin/BPMediaAdmin.php:260
|
417 |
msgid "Support"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: app/helper/BPMediaSettings.php:214
|
421 |
+
#: app/helper/BPMediaSettings.php:598
|
422 |
+
#: app/admin/BPMediaAdmin.php:101
|
423 |
#: app/main/privacy/BPMediaPrivacySettings.php:29
|
424 |
msgid "Update Database"
|
425 |
msgstr ""
|
428 |
msgid "BP-Album Importer"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: app/helper/BPMediaSettings.php:260
|
432 |
#, php-format
|
433 |
+
msgid "Currently your network allows uploading of the following file types. You can change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
|
|
|
|
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: app/helper/BPMediaSettings.php:278
|
437 |
+
#: app/helper/BPMediaSettings.php:280
|
438 |
msgid "Recounting of media files done successfully"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: app/helper/BPMediaSettings.php:280
|
442 |
msgid "Recount Success"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: app/helper/BPMediaSettings.php:283
|
446 |
+
#: app/helper/BPMediaSettings.php:285
|
447 |
msgid "Recounting Failed"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: app/helper/BPMediaSettings.php:285
|
451 |
msgid "Recount Fail"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: app/helper/BPMediaSettings.php:297
|
455 |
+
#: app/helper/BPMediaSettings.php:299
|
456 |
msgid "Atleast one Media Type Must be selected"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: app/helper/BPMediaSettings.php:299
|
460 |
msgid "Media Type"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: app/helper/BPMediaSettings.php:306
|
464 |
+
#: app/helper/BPMediaSettings.php:308
|
465 |
msgid "\"Number of media\" count value should be numeric and greater than 0."
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: app/helper/BPMediaSettings.php:308
|
469 |
msgid "Default Count"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: app/helper/BPMediaSettings.php:312
|
473 |
msgid "Settings saved."
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: app/helper/BPMediaSettings.php:325
|
477 |
#, php-format
|
478 |
+
msgid "If you make changes to width, height or crop settings, you must use \"<a href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
|
|
|
|
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: app/helper/BPMediaSettings.php:352
|
482 |
+
msgid "Please provide \"option\" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( 'option' => 'option_name' ) "
|
|
|
|
|
|
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: app/helper/BPMediaSettings.php:397
|
486 |
+
#: app/helper/BPMediaSettings.php:446
|
487 |
+
#: app/helper/BPMediaSettings.php:525
|
488 |
+
msgid "Please provide \"option\" value ( required ) in the argument. Pass argument to add_settings_field in the following format array( 'option' => 'option_name' )"
|
|
|
|
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: app/helper/BPMediaSettings.php:399
|
492 |
msgid "Need to specify atleast to radios else use a checkbox instead"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: app/helper/BPMediaSettings.php:495
|
496 |
msgid "Width"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: app/helper/BPMediaSettings.php:496
|
500 |
msgid "Height"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: app/helper/BPMediaSettings.php:497
|
504 |
msgid "Crop"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: app/helper/BPMediaSettings.php:527
|
508 |
+
msgid "Please provide some values to populate the dropdown. Format : array( 'value' => 'option' )"
|
|
|
|
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: app/helper/BPMediaSettings.php:542
|
512 |
msgid "None"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: app/helper/BPMediaSettings.php:597
|
516 |
msgid "BuddyPress Media 2.6 requires a database upgrade. "
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: app/helper/BPMediaSettings.php:606
|
520 |
+
msgid "If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target=\"_blank\" href=\"http://rtcamp.com/groups/buddypress-media/forum/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media\">rtCamp Support Forum</a>."
|
|
|
|
|
|
|
|
|
|
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: app/helper/BPMediaSettings.php:607
|
524 |
+
msgid "If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/buddypress-media/issues/new\">GitHub</a>."
|
|
|
|
|
|
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: app/admin/BPMediaAdmin.php:72
|
528 |
+
msgid "Please do not refresh this page."
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: app/admin/BPMediaAdmin.php:73
|
532 |
+
msgid "Something went wronng. Please <a href onclick=\"location.reload();\">refresh</a> page."
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: app/admin/BPMediaAdmin.php:74
|
536 |
+
msgid "This will subscribe you to the free plan."
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: app/admin/BPMediaAdmin.php:75
|
540 |
+
msgid "Are you sure you want to disable the encoding service? Make sure you note your api key before diabling it incase you want to activate it in future."
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: app/admin/BPMediaAdmin.php:95
|
544 |
+
msgid "BuddyPress Media Component"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: app/admin/BPMediaAdmin.php:95
|
548 |
+
#: app/admin/BPMediaAdmin.php:217
|
549 |
+
#: app/admin/BPMediaAdmin.php:218
|
550 |
+
msgid "BuddyPress Media"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: app/admin/BPMediaAdmin.php:96
|
554 |
+
#: app/admin/BPMediaAdmin.php:245
|
555 |
+
msgid "BuddyPress Media Settings"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: app/admin/BPMediaAdmin.php:96
|
559 |
+
#: app/admin/BPMediaAdmin.php:246
|
560 |
+
#: app/main/BuddyPressMedia.php:466
|
561 |
+
msgid "Settings"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: app/admin/BPMediaAdmin.php:97
|
565 |
+
#: app/admin/BPMediaAdmin.php:252
|
566 |
+
msgid "BuddyPress Media Addons"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: app/admin/BPMediaAdmin.php:97
|
570 |
+
#: app/admin/BPMediaAdmin.php:253
|
571 |
+
msgid "Addons"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: app/admin/BPMediaAdmin.php:98
|
575 |
+
#: app/admin/BPMediaAdmin.php:259
|
576 |
+
msgid "BuddyPress Media Support"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: app/admin/BPMediaAdmin.php:98
|
580 |
+
msgid "Support "
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: app/admin/BPMediaAdmin.php:99
|
584 |
+
#: app/admin/BPMediaAdmin.php:266
|
585 |
+
#: app/admin/BPMediaAdmin.php:267
|
586 |
+
msgid "Importer"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: app/admin/BPMediaAdmin.php:101
|
590 |
+
msgid "BuddyPress Media Database Update"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: app/admin/BPMediaAdmin.php:162
|
594 |
+
#: app/importers/BPMediaAlbumimporter.php:91
|
595 |
+
#: app/main/BuddyPressMedia.php:320
|
596 |
+
#: app/main/BuddyPressMedia.php:323
|
597 |
+
#: app/main/BPMediaComponent.php:298
|
598 |
+
#: app/main/BPMediaComponent.php:299
|
599 |
+
#: app/main/BPMediaComponent.php:305
|
600 |
+
msgid "Media"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: app/admin/BPMediaAdmin.php:180
|
604 |
+
#: app/admin/BPMediaAdmin.php:185
|
605 |
+
msgid "By"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: app/admin/BPMediaAdmin.php:180
|
609 |
+
#: app/admin/BPMediaAdmin.php:185
|
610 |
+
msgid "Empowering The Web With WordPress"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: app/admin/BPMediaAdmin.php:363
|
614 |
+
#, php-format
|
615 |
+
msgid "I use @buddypressmedia http://goo.gl/8Upmv on %s"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: app/admin/BPMediaAdmin.php:364
|
619 |
+
msgid "Add link to footer"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: app/admin/BPMediaAdmin.php:365
|
623 |
+
msgid "Tweet"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: app/admin/BPMediaAdmin.php:366
|
627 |
+
msgid "Rate on WordPress.org"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: app/admin/BPMediaAdmin.php:367
|
631 |
+
msgid "Spread the Word"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: app/admin/BPMediaAdmin.php:403
|
635 |
+
msgid "Become a fan on Facebook"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: app/admin/BPMediaAdmin.php:403
|
639 |
+
msgid "Facebook"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: app/admin/BPMediaAdmin.php:404
|
643 |
+
msgid "Follow us on Twitter"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
644 |
msgstr ""
|
645 |
|
646 |
#: app/admin/BPMediaAdmin.php:404
|
663 |
msgid "Latest News"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: app/admin/BPMediaAdmin.php:455
|
667 |
#, php-format
|
668 |
+
msgid "You have images enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of %s. Click <a href=\"%s\">here</a> to change your settings manually."
|
|
|
|
|
|
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: app/admin/BPMediaAdmin.php:456
|
672 |
+
#: app/admin/BPMediaAdmin.php:467
|
673 |
+
#: app/admin/BPMediaAdmin.php:476
|
674 |
msgid "Recommended"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: app/admin/BPMediaAdmin.php:456
|
678 |
+
#: app/admin/BPMediaAdmin.php:467
|
679 |
+
#: app/admin/BPMediaAdmin.php:476
|
680 |
msgid "Update Network Settings Automatically"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: app/admin/BPMediaAdmin.php:466
|
684 |
#, php-format
|
685 |
+
msgid "You have video enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp4. Click <a href=\"%s\">here</a> to change your settings manually."
|
|
|
|
|
|
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: app/admin/BPMediaAdmin.php:475
|
689 |
#, php-format
|
690 |
+
msgid "You have audio enabled on BuddyPress Media but your network allowed filetypes does not allow uploading of mp3. Click <a href=\"%s\">here</a> to change your settings manually."
|
|
|
|
|
|
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: app/admin/BPMediaAdmin.php:490
|
694 |
msgid "Network settings updated successfully."
|
695 |
msgstr ""
|
696 |
|
700 |
|
701 |
#: app/importers/BPMediaAlbumimporter.php:72
|
702 |
#, php-format
|
703 |
+
msgid "This import process is irreversible. Although everything is tested, please take a <a target=\"_blank\" href=\"http://codex.wordpress.org/WordPress_Backups\">backup of your database and files</a>, before proceeding. If you don't know your way around databases and files, consider <a target=\"_blank\" href=\"%s\">hiring us</a>, or another professional."
|
|
|
|
|
|
|
|
|
|
|
704 |
msgstr ""
|
705 |
|
706 |
#: app/importers/BPMediaAlbumimporter.php:73
|
707 |
+
msgid "If you have set \"WP_DEBUG\" in you wp-config.php file, please make sure it is set to \"false\", so that it doesn't conflict with the import process."
|
|
|
|
|
708 |
msgstr ""
|
709 |
|
710 |
#: app/importers/BPMediaAlbumimporter.php:74
|
716 |
msgstr ""
|
717 |
|
718 |
#: app/importers/BPMediaAlbumimporter.php:81
|
|
|
719 |
msgid "Users"
|
720 |
msgstr ""
|
721 |
|
732 |
msgstr ""
|
733 |
|
734 |
#: app/importers/BPMediaAlbumimporter.php:133
|
735 |
+
msgid "BP-Album is active on your site and will cause problems with the import."
|
|
|
736 |
msgstr ""
|
737 |
|
738 |
#: app/importers/BPMediaAlbumimporter.php:134
|
740 |
msgstr ""
|
741 |
|
742 |
#: app/importers/BPMediaAlbumimporter.php:140
|
743 |
+
msgid "Some of the media failed to import. The file might be corrupt or deleted."
|
|
|
744 |
msgstr ""
|
745 |
|
746 |
#: app/importers/BPMediaAlbumimporter.php:141
|
766 |
msgstr ""
|
767 |
|
768 |
#: app/importers/BPMediaAlbumimporter.php:156
|
769 |
+
msgid "However, a lot of unnecessary files and a database table are still eating up your resources. If everything seems fine, you can clean this data up."
|
|
|
|
|
770 |
msgstr ""
|
771 |
|
772 |
#: app/importers/BPMediaAlbumimporter.php:159
|
782 |
msgstr ""
|
783 |
|
784 |
#: app/importers/BPMediaAlbumimporter.php:187
|
785 |
+
msgid "Looks like you don't use BP Album. Is there any other BuddyPress Plugin you want an importer for?"
|
|
|
|
|
786 |
msgstr ""
|
787 |
|
788 |
#: app/importers/BPMediaAlbumimporter.php:188
|
790 |
msgid "<a href=\"%s\">Create an issue</a> on GitHub requesting the same."
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: app/main/BPMediaGroupLoader.php:252
|
794 |
+
msgid "Media Settings"
|
795 |
+
msgstr ""
|
796 |
+
|
797 |
+
#: app/main/BuddyPressMedia.php:163
|
798 |
+
msgid "BuddyPress is not installed."
|
799 |
+
msgstr ""
|
800 |
+
|
801 |
+
#: app/main/BuddyPressMedia.php:165
|
802 |
+
msgid "To use BuddyPress Media, BuddyPress must be installed first."
|
803 |
+
msgstr ""
|
804 |
+
|
805 |
+
#: app/main/BuddyPressMedia.php:166
|
806 |
+
#, php-format
|
807 |
+
msgid "<a href=\"%s\">Install BuddyPress now</a>"
|
808 |
+
msgstr ""
|
809 |
+
|
810 |
+
#: app/main/BuddyPressMedia.php:325
|
811 |
+
msgid "Privacy"
|
812 |
+
msgstr ""
|
813 |
+
|
814 |
+
#: app/main/BuddyPressMedia.php:331
|
815 |
+
msgid "Photo"
|
816 |
+
msgstr ""
|
817 |
+
|
818 |
+
#: app/main/BuddyPressMedia.php:334
|
819 |
+
msgid "Videos"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: app/main/BuddyPressMedia.php:340
|
823 |
+
#: app/main/BuddyPressMedia.php:343
|
824 |
+
msgid "Music"
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: app/main/BuddyPressMedia.php:346
|
828 |
+
#: app/main/BPMediaComponent.php:256
|
829 |
+
#: app/main/BPMediaComponent.php:268
|
830 |
msgid "Albums"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: app/main/BuddyPressMedia.php:349
|
834 |
+
#: app/main/BPMediaComponent.php:257
|
835 |
msgid "Album"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: app/main/BuddyPressMedia.php:352
|
839 |
+
msgid "Upload"
|
840 |
+
msgstr ""
|
841 |
+
|
842 |
+
#: app/main/BuddyPressMedia.php:570
|
843 |
+
#, php-format
|
844 |
+
msgid ""
|
845 |
+
"The BuddyPress version installed is an\n"
|
846 |
+
"\t\t\t\t\t\t\t\t\t\tolder version and is not supported,\n"
|
847 |
+
"\t\t\t\t\t\t\t\t\t\tplease update BuddyPress to use\n"
|
848 |
+
"\t\t\t\t\t\t\t\t\t\tBuddyPress Media Plugin.\n"
|
849 |
+
"\t\t\t\t\t\t\t\t\t\t<a class=\"alignright\" href=\"%1$s\">X</a>"
|
850 |
+
msgstr ""
|
851 |
+
|
852 |
+
#: app/main/BuddyPressMedia.php:583
|
853 |
+
#, php-format
|
854 |
+
msgid ""
|
855 |
+
"You have not installed BuddyPress.\n"
|
856 |
+
"\t\t\t\t\t\t\t\t\tPlease install latest version of BuddyPress\n"
|
857 |
+
"\t\t\t\t\t\t\t\t\tto use BuddyPress Media plugin.\n"
|
858 |
+
"\t\t\t\t\t\t\t\t\t<a class=\"alignright\" href=\"%1$s\">X</a>"
|
859 |
+
msgstr ""
|
860 |
+
|
861 |
+
#: app/main/BPMediaComponent.php:60
|
862 |
+
msgid "Search Media..."
|
863 |
+
msgstr ""
|
864 |
+
|
865 |
+
#: app/main/BPMediaComponent.php:258
|
866 |
msgid "Create"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: app/main/BPMediaComponent.php:259
|
|
|
870 |
msgid "Create Album"
|
871 |
msgstr ""
|
872 |
|
873 |
#: app/main/BPMediaComponent.php:260
|
|
|
874 |
msgid "Edit Album"
|
875 |
msgstr ""
|
876 |
|
906 |
msgid "BuddyPress Media's Media Files"
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: app/main/privacy/BPMediaPrivacySettings.php:28
|
910 |
+
msgid "Update BuddyPress Media Database"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: app/main/privacy/BPMediaPrivacySettings.php:93
|
914 |
+
msgid "Start"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: app/main/privacy/BPMediaPrivacyScreen.php:42
|
918 |
+
msgid "Default privacy level for your media has been updated"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: app/main/privacy/BPMediaPrivacyScreen.php:53
|
922 |
+
msgid "Save Changes"
|
|
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: app/main/privacy/BPMediaPrivacy.php:112
|
926 |
+
msgid "<strong>Private</strong>, Visible only to myself"
|
927 |
msgstr ""
|
928 |
|
929 |
+
#: app/main/privacy/BPMediaPrivacy.php:116
|
930 |
+
msgid "<strong>Friends</strong>, Visible to my friends"
|
931 |
msgstr ""
|
932 |
|
933 |
+
#: app/main/privacy/BPMediaPrivacy.php:120
|
934 |
+
msgid "<strong>Users</strong>, Visible to registered users"
|
|
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: app/main/privacy/BPMediaPrivacy.php:124
|
938 |
+
msgid "<strong>Public</strong>, Visible to the world"
|
|
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: app/main/privacy/BPMediaPrivacy.php:144
|
942 |
+
msgid "Set default privacy levels for your media"
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: app/main/privacy/BPMediaPrivacy.php:325
|
946 |
#, php-format
|
947 |
+
msgid "This %s is private"
|
|
|
|
|
|
|
|
|
|
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: app/main/privacy/BPMediaPrivacy.php:326
|
951 |
#, php-format
|
952 |
+
msgid "This %1s is visible only to %2s’s friends"
|
|
|
|
|
|
|
|
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: app/main/privacy/BPMediaPrivacy.php:327
|
956 |
+
#, php-format
|
957 |
+
msgid "This %s is visible to logged in users, only"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: app/main/includes/BPMediaFilters.php:158
|
961 |
+
#, php-format
|
962 |
+
msgid "Delete %s"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: app/main/includes/BPMediaFilters.php:417
|
966 |
+
msgid "Total Photos"
|
|
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: app/main/includes/BPMediaFilters.php:418
|
970 |
+
msgid "Total Videos"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: app/main/includes/BPMediaFilters.php:419
|
974 |
+
msgid "Total Audio"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: app/main/includes/BPMediaFilters.php:420
|
978 |
+
msgid "Total Albums"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: app/main/includes/BPMediaTemplateFunctions.php:34
|
982 |
+
msgid "Media Title"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: app/main/includes/BPMediaTemplateFunctions.php:35
|
986 |
+
msgid "Media Description"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: app/main/includes/BPMediaTemplateFunctions.php:36
|
990 |
+
msgid "Select Media File"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: app/main/includes/BPMediaTemplateFunctions.php:231
|
994 |
+
msgid "Show More"
|
|
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: app/main/includes/BPMediaHostWordpress.php:59
|
998 |
+
msgid "Sorry, the requested media does not exist."
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: app/main/includes/BPMediaHostWordpress.php:136
|
1002 |
+
msgid "Error Uploading File"
|
|
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: app/main/includes/BPMediaHostWordpress.php:169
|
1006 |
+
msgid "MP4 file you have uploaded is corrupt."
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: app/main/includes/BPMediaHostWordpress.php:176
|
1010 |
+
#: app/main/includes/BPMediaHostWordpress.php:181
|
1011 |
+
msgid "The MP4 file you have uploaded is using an unsupported video codec. Supported video codec is H.264."
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: app/main/includes/BPMediaHostWordpress.php:186
|
1015 |
+
msgid "The MP4 file you have uploaded is not a video file."
|
1016 |
msgstr ""
|
1017 |
|
1018 |
+
#: app/main/includes/BPMediaHostWordpress.php:197
|
1019 |
+
msgid "MP3 file you have uploaded is currupt."
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: app/main/includes/BPMediaHostWordpress.php:204
|
1023 |
+
#: app/main/includes/BPMediaHostWordpress.php:209
|
1024 |
+
msgid "The MP3 file you have uploaded is using an unsupported audio format. Supported audio format is MP3."
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: app/main/includes/BPMediaHostWordpress.php:214
|
1028 |
+
msgid "The MP3 file you have uploaded is not an audio file."
|
1029 |
+
msgstr ""
|
1030 |
+
|
1031 |
+
#: app/main/includes/BPMediaHostWordpress.php:226
|
1032 |
+
msgid "Media File you have tried to upload is not supported. Supported media files are .jpg, .png, .gif, .mp3, .mov and .mp4."
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: app/main/includes/BPMediaHostWordpress.php:235
|
1036 |
+
msgid "Error creating attachment for the media file, please try again"
|
1037 |
+
msgstr ""
|
1038 |
+
|
1039 |
+
#: app/main/includes/BPMediaHostWordpress.php:345
|
1040 |
#, php-format
|
1041 |
+
msgid "%s uploaded a media."
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: app/main/includes/BPMediaHostWordpress.php:366
|
1045 |
+
msgid "Uploaded by "
|
1046 |
+
msgstr ""
|
1047 |
+
|
1048 |
+
#: app/main/includes/BPMediaHostWordpress.php:589
|
1049 |
#, php-format
|
1050 |
+
msgid "Comment <span>%s</span>"
|
1051 |
+
msgstr ""
|
1052 |
+
|
1053 |
+
#: app/main/includes/BPMediaHostWordpress.php:593
|
1054 |
+
msgid "Favorite"
|
1055 |
+
msgstr ""
|
1056 |
+
|
1057 |
+
#: app/main/includes/BPMediaHostWordpress.php:595
|
1058 |
+
msgid "Remove Favorite"
|
1059 |
+
msgstr ""
|
1060 |
+
|
1061 |
+
#: app/main/includes/BPMediaHostWordpress.php:614
|
1062 |
+
msgid "Post"
|
1063 |
+
msgstr ""
|
1064 |
+
|
1065 |
+
#: app/main/includes/BPMediaHostWordpress.php:614
|
1066 |
+
msgid "or press esc to cancel."
|
1067 |
+
msgstr ""
|
1068 |
+
|
1069 |
+
#: app/main/includes/BPMediaHostWordpress.php:639
|
1070 |
+
#: app/main/includes/BPMediaActions.php:360
|
1071 |
+
msgid "Delete"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: app/main/includes/BPMediaHostWordpress.php:741
|
1075 |
+
#: app/main/includes/BPMediaActions.php:935
|
1076 |
+
#: app/main/group/BPMediaGroupAction.php:124
|
1077 |
#, php-format
|
1078 |
+
msgid "%1$s added a %2$s"
|
1079 |
+
msgstr ""
|
1080 |
+
|
1081 |
+
#: app/main/includes/BPMediaHostWordpress.php:1016
|
1082 |
+
msgid "Wall Posts"
|
1083 |
+
msgstr ""
|
1084 |
+
|
1085 |
+
#: app/main/includes/BPMediaActions.php:76
|
1086 |
+
#: app/main/includes/BPMediaActions.php:100
|
1087 |
+
msgid "File uploaded is not supported"
|
1088 |
+
msgstr ""
|
1089 |
+
|
1090 |
+
#: app/main/includes/BPMediaActions.php:83
|
1091 |
+
msgid "Image uploads are disabled"
|
1092 |
+
msgstr ""
|
1093 |
+
|
1094 |
+
#: app/main/includes/BPMediaActions.php:89
|
1095 |
+
msgid "Video uploads are disabled"
|
1096 |
+
msgstr ""
|
1097 |
+
|
1098 |
+
#: app/main/includes/BPMediaActions.php:95
|
1099 |
+
msgid "Audio uploads are disabled"
|
1100 |
+
msgstr ""
|
1101 |
+
|
1102 |
+
#: app/main/includes/BPMediaActions.php:114
|
1103 |
+
msgid "Upload Successful"
|
1104 |
+
msgstr ""
|
1105 |
+
|
1106 |
+
#: app/main/includes/BPMediaActions.php:119
|
1107 |
+
msgid "You did not specified a file to upload"
|
1108 |
+
msgstr ""
|
1109 |
+
|
1110 |
+
#: app/main/includes/BPMediaActions.php:185
|
1111 |
+
msgid "Something went wrong. Please try again."
|
1112 |
+
msgstr ""
|
1113 |
+
|
1114 |
+
#: app/main/includes/BPMediaActions.php:186
|
1115 |
+
msgid "Are you sure you want to merge this album?"
|
1116 |
+
msgstr ""
|
1117 |
+
|
1118 |
+
#: app/main/includes/BPMediaActions.php:187
|
1119 |
+
msgid "Would you like to delete this album after the merge?"
|
1120 |
+
msgstr ""
|
1121 |
+
|
1122 |
+
#: app/main/includes/BPMediaActions.php:188
|
1123 |
+
msgid "Are you sure you want to delete the selected media?"
|
1124 |
+
msgstr ""
|
1125 |
+
|
1126 |
+
#: app/main/includes/BPMediaActions.php:189
|
1127 |
+
msgid "Are you sure you want to delete this activity and associated media?"
|
1128 |
+
msgstr ""
|
1129 |
+
|
1130 |
+
#: app/main/includes/BPMediaActions.php:190
|
1131 |
+
msgid "Are you sure?"
|
1132 |
+
msgstr ""
|
1133 |
+
|
1134 |
+
#: app/main/includes/BPMediaActions.php:191
|
1135 |
+
msgid "Please select media."
|
1136 |
+
msgstr ""
|
1137 |
+
|
1138 |
+
#: app/main/includes/BPMediaActions.php:192
|
1139 |
+
msgid "Please select an action."
|
1140 |
+
msgstr ""
|
1141 |
+
|
1142 |
+
#: app/main/includes/BPMediaActions.php:336
|
1143 |
+
msgid "Download"
|
1144 |
+
msgstr ""
|
1145 |
+
|
1146 |
+
#: app/main/includes/BPMediaActions.php:343
|
1147 |
+
#: app/main/includes/BPMediaActions.php:985
|
1148 |
+
msgid "Set as Album Cover"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
+
#: app/main/includes/BPMediaActions.php:348
|
1152 |
+
#: app/main/includes/BPMediaActions.php:988
|
1153 |
+
msgid "Unset as Album Cover"
|
1154 |
+
msgstr ""
|
1155 |
+
|
1156 |
+
#: app/main/includes/BPMediaActions.php:354
|
1157 |
+
msgid "Edit Media"
|
1158 |
+
msgstr ""
|
1159 |
+
|
1160 |
+
#: app/main/includes/BPMediaActions.php:354
|
1161 |
+
msgid "Edit"
|
1162 |
+
msgstr ""
|
1163 |
+
|
1164 |
+
#: app/main/includes/BPMediaActions.php:360
|
1165 |
+
msgid "Delete Media"
|
1166 |
+
msgstr ""
|
1167 |
+
|
1168 |
+
#: app/main/includes/BPMediaActions.php:541
|
1169 |
+
msgid "You have not filled the album name"
|
1170 |
+
msgstr ""
|
1171 |
+
|
1172 |
+
#: app/main/includes/BPMediaActions.php:542
|
1173 |
+
msgid "Sorry you cannot create albums in this group"
|
1174 |
+
msgstr ""
|
1175 |
+
|
1176 |
+
#: app/main/includes/BPMediaActions.php:543
|
1177 |
+
msgid "Please Select an Album!"
|
1178 |
+
msgstr ""
|
1179 |
+
|
1180 |
+
#: app/main/includes/BPMediaActions.php:886
|
1181 |
#, php-format
|
1182 |
+
msgid "%1$s created an album %2$s"
|
1183 |
+
msgstr ""
|
1184 |
+
|
1185 |
+
#: app/main/includes/BPMediaActions.php:1177
|
1186 |
+
msgid "Private"
|
1187 |
+
msgstr ""
|
1188 |
+
|
1189 |
+
#: app/main/includes/BPMediaActions.php:1189
|
1190 |
+
msgid "No media found"
|
1191 |
+
msgstr ""
|
1192 |
+
|
1193 |
+
#: app/main/includes/bp-media-upload-handler.php:32
|
1194 |
+
msgid "You are not allowed to be here"
|
1195 |
+
msgstr ""
|
1196 |
+
|
1197 |
+
#: app/main/includes/BPMediaFunction.php:168
|
1198 |
+
msgid "You do not have access to this page."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: app/main/includes/BPMediaFunction.php:229
|
1202 |
#, php-format
|
1203 |
+
msgid "%1$s added new media in album %2$s"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: app/main/widgets/BPMediaWidget.php:20
|
1207 |
+
msgid "The most recent/popular media uploaded on your site"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: app/main/widgets/BPMediaWidget.php:21
|
1211 |
+
msgid "BuddyPress Media Widget"
|
1212 |
+
msgstr ""
|
1213 |
+
|
1214 |
+
#: app/main/widgets/BPMediaWidget.php:72
|
1215 |
+
msgid "All"
|
1216 |
+
msgstr ""
|
1217 |
+
|
1218 |
+
#: app/main/widgets/BPMediaWidget.php:82
|
1219 |
+
#, php-format
|
1220 |
+
msgid ""
|
1221 |
+
"Please configure this widget\n"
|
1222 |
+
"\t\t\t\t\t\t\t\t\t<a href=\"%s\" target=\"_blank\"\n"
|
1223 |
+
"\t\t\t\t\t\t\t\t\ttitle=\"Configure BuddyPress Media Widget\">\n"
|
1224 |
+
"\t\t\t\t\t\t\t\t\there</a>."
|
1225 |
+
msgstr ""
|
1226 |
+
|
1227 |
+
#: app/main/widgets/BPMediaWidget.php:150
|
1228 |
+
msgid "No "
|
1229 |
+
msgstr ""
|
1230 |
+
|
1231 |
+
#: app/main/widgets/BPMediaWidget.php:197
|
1232 |
+
msgid "Widget Type:"
|
1233 |
+
msgstr ""
|
1234 |
+
|
1235 |
+
#: app/main/widgets/BPMediaWidget.php:199
|
1236 |
+
msgid "Recent Media"
|
1237 |
+
msgstr ""
|
1238 |
+
|
1239 |
+
#: app/main/widgets/BPMediaWidget.php:200
|
1240 |
+
msgid "Popular Media"
|
1241 |
+
msgstr ""
|
1242 |
+
|
1243 |
+
#: app/main/widgets/BPMediaWidget.php:203
|
1244 |
+
msgid "Title:"
|
1245 |
+
msgstr ""
|
1246 |
+
|
1247 |
+
#: app/main/widgets/BPMediaWidget.php:206
|
1248 |
+
msgid "Number of posts to show:"
|
1249 |
+
msgstr ""
|
1250 |
+
|
1251 |
+
#: app/main/widgets/BPMediaWidget.php:210
|
1252 |
+
msgid "Show All"
|
1253 |
+
msgstr ""
|
1254 |
+
|
1255 |
+
#: app/main/widgets/BPMediaWidget.php:213
|
1256 |
+
msgid "Show Photos"
|
1257 |
+
msgstr ""
|
1258 |
+
|
1259 |
+
#: app/main/widgets/BPMediaWidget.php:216
|
1260 |
+
msgid "Show Music"
|
1261 |
+
msgstr ""
|
1262 |
+
|
1263 |
+
#: app/main/widgets/BPMediaWidget.php:220
|
1264 |
+
msgid "Show Videos"
|
1265 |
+
msgstr ""
|
1266 |
+
|
1267 |
+
#: app/main/group/BPMediaGroupElementExtension.php:91
|
1268 |
+
msgid "Sorry, the requested media does not belong to the group"
|
1269 |
+
msgstr ""
|
1270 |
+
|
1271 |
+
#: app/main/group/BPMediaGroupsExtension.php:40
|
1272 |
+
#: app/main/group/BPMediaGroupsExtension.php:87
|
1273 |
+
msgid "Album Creation Control"
|
1274 |
+
msgstr ""
|
1275 |
+
|
1276 |
+
#: app/main/group/BPMediaGroupsExtension.php:41
|
1277 |
+
#: app/main/group/BPMediaGroupsExtension.php:88
|
1278 |
+
msgid "Who can create Albums in this group?"
|
1279 |
+
msgstr ""
|
1280 |
+
|
1281 |
+
#: app/main/group/BPMediaGroupsExtension.php:45
|
1282 |
+
#: app/main/group/BPMediaGroupsExtension.php:92
|
1283 |
+
msgid "All Group Members"
|
1284 |
+
msgstr ""
|
1285 |
+
|
1286 |
+
#: app/main/group/BPMediaGroupsExtension.php:49
|
1287 |
+
#: app/main/group/BPMediaGroupsExtension.php:96
|
1288 |
+
msgid "Group Admins and Mods only"
|
1289 |
+
msgstr ""
|
1290 |
+
|
1291 |
+
#: app/main/group/BPMediaGroupsExtension.php:53
|
1292 |
+
#: app/main/group/BPMediaGroupsExtension.php:100
|
1293 |
+
msgid "Group Admin only"
|
1294 |
+
msgstr ""
|
1295 |
+
|
1296 |
+
#: app/main/group/BPMediaGroupsExtension.php:130
|
1297 |
+
msgid "There was an error saving, please try again"
|
1298 |
+
msgstr ""
|
1299 |
+
|
1300 |
+
#: app/main/group/BPMediaGroupsExtension.php:132
|
1301 |
+
msgid "Settings saved successfully"
|
1302 |
+
msgstr ""
|
1303 |
+
|
1304 |
+
#: app/main/group/BPMediaGroupsExtension.php:153
|
1305 |
+
msgid ""
|
1306 |
+
"You could display a small snippet of information from your group extension here. It will show on the group\n"
|
1307 |
+
"\t home screen."
|
1308 |
+
msgstr ""
|
1309 |
+
|
1310 |
+
#: app/main/profile/BPMediaUploadScreen.php:33
|
1311 |
+
#: app/main/profile/BPMediaTemplate.php:98
|
1312 |
+
msgid "Upload Media"
|
1313 |
+
msgstr ""
|
1314 |
+
|
1315 |
+
#: app/main/profile/BPMediaTemplate.php:44
|
1316 |
+
msgid "Select Album: "
|
1317 |
+
msgstr ""
|
1318 |
+
|
1319 |
+
#: app/main/profile/BPMediaTemplate.php:83
|
1320 |
+
msgid "+ Create New Album"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
+
#: app/main/profile/BPMediaTemplate.php:90
|
1324 |
+
msgid "Cancel"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
+
#: app/main/profile/BPMediaTemplate.php:93
|
1328 |
+
msgid "&"
|
|
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: app/main/profile/BPMediaTemplate.php:96
|
1332 |
+
msgid "Drop files here"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: app/main/profile/BPMediaTemplate.php:97
|
1336 |
+
msgid " or "
|
1337 |
msgstr ""
|
1338 |
|
1339 |
+
#: app/main/profile/BPMediaTemplate.php:98
|
1340 |
+
msgid "Max Upload Size"
|
|
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: app/main/profile/BPMediaTemplate.php:246
|
1344 |
+
msgid "Select Album"
|
|
|
|
|
|
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: app/main/profile/BPMediaTemplate.php:247
|
1348 |
+
#: app/main/profile/BPMediaTemplate.php:275
|
1349 |
+
msgid "x"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: app/main/profile/BPMediaTemplate.php:267
|
1353 |
+
msgid "Select"
|
|
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: app/main/profile/BPMediaTemplate.php:278
|
1357 |
+
msgid "Album Name"
|
|
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: app/main/profile/BPMediaTemplate.php:286
|
1361 |
+
msgid "Add Media"
|
|
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: app/main/profile/BPMediaAlbumScreen.php:82
|
1365 |
+
#: app/main/profile/BPMediaScreen.php:203
|
1366 |
+
#, php-format
|
1367 |
+
msgid "Sorry, no %s were found."
|
1368 |
msgstr ""
|
1369 |
|
1370 |
#: app/main/profile/BPMediaAlbumScreen.php:134
|
1371 |
msgid "Sorry, no media items were found in this album."
|
1372 |
msgstr ""
|
1373 |
|
|
|
|
|
|
|
|
|
|
|
1374 |
#: app/main/profile/BPMediaAlbumScreen.php:250
|
1375 |
#: app/main/profile/BPMediaAlbumScreen.php:258
|
1376 |
msgid "Delete Album"
|
1377 |
msgstr ""
|
1378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1379 |
#: app/main/profile/BPMediaAlbumScreen.php:254
|
1380 |
#: app/main/profile/BPMediaAlbumScreen.php:297
|
1381 |
msgid "Select All Visible"
|
1410 |
msgid "Submit"
|
1411 |
msgstr ""
|
1412 |
|
1413 |
+
#: app/main/profile/BPMediaFeatured.php:94
|
1414 |
+
msgid "Set as Featured"
|
1415 |
msgstr ""
|
1416 |
|
1417 |
+
#: app/main/profile/BPMediaFeatured.php:94
|
1418 |
+
msgid "Featured"
|
1419 |
msgstr ""
|
1420 |
|
1421 |
+
#: app/main/profile/BPMediaScreen.php:122
|
1422 |
+
#: app/main/profile/BPMediaScreen.php:394
|
1423 |
+
msgid "The requested url does not exist"
|
1424 |
+
msgstr ""
|
1425 |
+
|
1426 |
+
#: app/main/profile/BPMediaScreen.php:133
|
1427 |
#, php-format
|
1428 |
+
msgid "All %s"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: app/main/profile/BPMediaScreen.php:327
|
1432 |
+
#, php-format
|
1433 |
+
msgid "Edit %s"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
+
#: app/main/profile/BPMediaScreen.php:348
|
1437 |
+
#, php-format
|
1438 |
+
msgid "%s Title"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: app/main/profile/BPMediaScreen.php:354
|
1442 |
+
#, php-format
|
1443 |
+
msgid "%s Description"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
+
#: app/main/profile/BPMediaScreen.php:362
|
1447 |
+
msgid "Update"
|
|
|
1448 |
msgstr ""
|
1449 |
|
1450 |
+
#: app/main/profile/BPMediaScreen.php:363
|
1451 |
+
msgid "Back to Media File"
|
|
|
1452 |
msgstr ""
|
1453 |
|
1454 |
+
#: app/main/profile/BPMediaScreen.php:364
|
1455 |
+
msgid "Back to Media"
|
|
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: app/main/profile/BPMediaScreen.php:412
|
1459 |
+
msgid "Something went wrong"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: app/main/profile/BPMediaScreen.php:435
|
1463 |
+
msgid "Media deleted successfully"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: app/main/profile/BPMediaAlbum.php:74
|
1467 |
+
msgid "Sorry, the requested album does not exist."
|
|
|
|
|
|
|
1468 |
msgstr ""
|
1469 |
|
1470 |
#: app/main/activity/BPMediaActivity.php:46
|
1480 |
msgid "%1$s posted an update in the group %2$s"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: app/services/BPMediaEncoding.php:66
|
1484 |
+
#: app/services/BPMediaEncoding.php:90
|
1485 |
+
msgid "BuddyPress Media Audio/Video Encoding Service"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1486 |
msgstr ""
|
1487 |
|
1488 |
+
#: app/services/BPMediaEncoding.php:66
|
1489 |
+
#: app/services/BPMediaEncoding.php:91
|
1490 |
+
#: app/services/BPMediaEncoding.php:109
|
1491 |
+
msgid "Audio/Video Encoding"
|
1492 |
msgstr ""
|
1493 |
|
1494 |
+
#: app/services/BPMediaEncoding.php:82
|
1495 |
+
msgid "Audio/Video Encoding Service"
|
1496 |
msgstr ""
|
1497 |
|
1498 |
+
#: app/services/BPMediaEncoding.php:145
|
1499 |
+
msgid "BuddyPress Media Encoding: Nearing quota limit."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: app/services/BPMediaEncoding.php:146
|
1503 |
#, php-format
|
1504 |
+
msgid "<p>You are nearing the quota limit for your BuddyPress Media encoding service.</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
+
#: app/services/BPMediaEncoding.php:160
|
1508 |
+
msgid "BuddyPress Media Encoding: Usage quota over."
|
|
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: app/services/BPMediaEncoding.php:161
|
1512 |
#, php-format
|
1513 |
+
msgid "<p>Your usage quota is over. Upgrade your plan</p><p>Following are the details:</p><p><strong>Used:</strong> %s</p><p><strong>Remaining</strong>: %s</p><p><strong>Total:</strong> %s</p>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: app/services/BPMediaEncoding.php:204
|
1517 |
+
#, php-format
|
1518 |
+
msgid "We have launched a new Audio/Video encoding service for BuddyPress Media. You can <a href=\"%s\">activate it for free</a>."
|
1519 |
msgstr ""
|
1520 |
|
1521 |
+
#: app/services/BPMediaEncoding.php:204
|
1522 |
+
msgid "Hide Message"
|
|
|
|
|
|
|
1523 |
msgstr ""
|
1524 |
|
1525 |
+
#: app/services/BPMediaEncoding.php:211
|
1526 |
+
#, php-format
|
1527 |
+
msgid "You have successfully subscribed for the <strong>%s</strong> plan"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: app/services/BPMediaEncoding.php:223
|
1531 |
+
msgid "Unsubscribe"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: app/services/BPMediaEncoding.php:274
|
1535 |
+
#: app/services/BPMediaEncoding.php:359
|
1536 |
+
msgid "Current Plan"
|
|
|
|
|
1537 |
msgstr ""
|
1538 |
|
1539 |
+
#: app/services/BPMediaEncoding.php:274
|
1540 |
+
msgid "Unsubscribed"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
+
#: app/services/BPMediaEncoding.php:276
|
1544 |
+
msgid "Used"
|
|
|
|
|
1545 |
msgstr ""
|
1546 |
|
1547 |
+
#: app/services/BPMediaEncoding.php:278
|
1548 |
+
msgid "Remaining"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
+
#: app/services/BPMediaEncoding.php:280
|
1552 |
+
msgid "Total"
|
|
|
1553 |
msgstr ""
|
1554 |
|
1555 |
+
#: app/services/BPMediaEncoding.php:284
|
1556 |
+
msgid "Your usage limit has been reached. Upgrade your plan."
|
1557 |
msgstr ""
|
1558 |
|
1559 |
+
#: app/services/BPMediaEncoding.php:286
|
1560 |
+
msgid "Your API key is not valid or is expired."
|
|
|
1561 |
msgstr ""
|
1562 |
|
1563 |
+
#: app/services/BPMediaEncoding.php:288
|
1564 |
+
msgid "Encoding Usage"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
+
#: app/services/BPMediaEncoding.php:293
|
1568 |
+
msgid "BuddyPress Media team has started offering an audio/video encoding service."
|
1569 |
msgstr ""
|
1570 |
|
1571 |
+
#: app/services/BPMediaEncoding.php:295
|
1572 |
+
msgid "Enter API KEY"
|
1573 |
msgstr ""
|
1574 |
|
1575 |
+
#: app/services/BPMediaEncoding.php:305
|
1576 |
+
msgid "Feature\\Plan"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
+
#: app/services/BPMediaEncoding.php:306
|
1580 |
+
#: app/services/BPMediaEncoding.php:349
|
1581 |
+
msgid "Free"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
+
#: app/services/BPMediaEncoding.php:307
|
1585 |
+
msgid "Silver"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
+
#: app/services/BPMediaEncoding.php:308
|
1589 |
+
msgid "Gold"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: app/services/BPMediaEncoding.php:309
|
1593 |
+
msgid "Platinum"
|
|
|
1594 |
msgstr ""
|
1595 |
|
1596 |
+
#: app/services/BPMediaEncoding.php:313
|
1597 |
+
msgid "File Size Limit"
|
|
|
1598 |
msgstr ""
|
1599 |
|
1600 |
+
#: app/services/BPMediaEncoding.php:320
|
1601 |
+
msgid "Bandwidth (monthly)"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
+
#: app/services/BPMediaEncoding.php:327
|
1605 |
+
msgid "Overage Bandwidth"
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: app/services/BPMediaEncoding.php:328
|
1609 |
+
#: app/services/BPMediaEncoding.php:335
|
1610 |
+
#: app/services/BPMediaEncoding.php:340
|
1611 |
+
msgid "Not Available"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: app/services/BPMediaEncoding.php:334
|
1615 |
+
msgid "Amazon S3 Support"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
+
#: app/services/BPMediaEncoding.php:336
|
1619 |
+
#: app/services/BPMediaEncoding.php:341
|
1620 |
+
#: app/services/BPMediaEncoding.php:345
|
1621 |
+
msgid "Coming Soon"
|
1622 |
msgstr ""
|
1623 |
|
1624 |
+
#: app/services/BPMediaEncoding.php:339
|
1625 |
+
msgid "HD Profile"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
+
#: app/services/BPMediaEncoding.php:344
|
1629 |
+
msgid "Webcam Recording"
|
1630 |
msgstr ""
|
1631 |
|
1632 |
+
#: app/services/BPMediaEncoding.php:348
|
1633 |
+
msgid "Pricing"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
+
#: app/services/BPMediaEncoding.php:350
|
1637 |
+
msgid "$9/month"
|
1638 |
msgstr ""
|
1639 |
|
1640 |
+
#: app/services/BPMediaEncoding.php:351
|
1641 |
+
msgid "$99/month"
|
1642 |
msgstr ""
|
1643 |
|
1644 |
+
#: app/services/BPMediaEncoding.php:352
|
1645 |
+
msgid "$999/month"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
+
#: app/services/BPMediaEncoding.php:363
|
1649 |
+
msgid "Try Now"
|
1650 |
msgstr ""
|
1651 |
|
1652 |
+
#: app/services/BPMediaEncoding.php:419
|
1653 |
+
msgid "Could not read file."
|
1654 |
msgstr ""
|
1655 |
|
1656 |
+
#: app/services/BPMediaEncoding.php:423
|
1657 |
+
msgid "Something went wrong. The required attachment id does not exists. It must have been deleted."
|
|
|
1658 |
msgstr ""
|
1659 |
|
1660 |
+
#: app/services/BPMediaEncoding.php:438
|
1661 |
+
msgid "BuddyPress Media Encoding: Download Failed"
|
|
|
1662 |
msgstr ""
|
1663 |
|
1664 |
+
#: app/services/BPMediaEncoding.php:439
|
1665 |
+
#, php-format
|
1666 |
+
msgid ""
|
1667 |
+
"<p><a href=\"%s\">Media</a> was successfully encoded but there was an error while downloading:</p>\n"
|
1668 |
+
" <p><code>%s</code></p>\n"
|
1669 |
+
" <p>You can <a href=\"%s\">retry the download</a>.</p>"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
+
#: app/services/BPMediaEncoding.php:453
|
1673 |
+
msgid "Done"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: app/services/BPMediaEncoding.php:496
|
1677 |
+
msgid "Your subscription was cancelled successfully"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: app/services/BPMediaEncoding.php:499
|
1681 |
+
msgid "Something went wrong please try again."
|
1682 |
msgstr ""
|
1683 |
|
1684 |
+
#: app/services/BPMediaEncoding.php:508
|
1685 |
+
msgid "Please enter the api key."
|
1686 |
msgstr ""
|
1687 |
|
1688 |
+
#: app/services/BPMediaEncoding.php:515
|
1689 |
+
msgid "Encoding disabled successfully."
|
|
|
1690 |
msgstr ""
|
1691 |
|
1692 |
+
#: app/services/BPMediaEncodingTranscoder.php:44
|
1693 |
+
msgid "Upload file type not supported"
|
1694 |
msgstr ""
|
1695 |
|
|
|
|
|
|
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.
|
10 |
|
11 |
Adds Photos, Music, Videos & Albums to BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
|
12 |
|
@@ -36,10 +36,12 @@ BuddyPress Media adds Photos, Music, Videos & Albums to your BuddyPress powered
|
|
36 |
* **Groups** Supported: Users can upload media on Groups, as well!
|
37 |
* **HTML5 playback**: with fall back to flash/silverlight player support
|
38 |
* **Privacy**: Users can control access to their uploaded media
|
39 |
-
* **Shortcode**: Display public media of all the users on the site
|
40 |
* **Enhanced media management**: including sorting, moving media between albums, etc
|
41 |
* **Advanced Image Editor**: Use the Dashboard media editor on the front-end!
|
|
|
42 |
* **Automatic conversion** (*premium*): of common audio & video formats to mp3/mp4 via [Kaltura Add-On](http://rtcamp.com/store/buddypress-media-kaltura/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "BuddyPress Media Kaltura Addon for Kaltura.com/Kaltura-CE/Kaltura On-Prem version"), and [FFMPEG Add-On](http://rtcamp.com/store/buddypress-media-ffmpeg/ "BuddyPress Media FFMPEG Addon")
|
|
|
43 |
|
44 |
= Roadmap =
|
45 |
|
@@ -58,7 +60,6 @@ BuddyPress Media adds Photos, Music, Videos & Albums to your BuddyPress powered
|
|
58 |
|
59 |
**Coming Soon**
|
60 |
|
61 |
-
* **Encoding Service** [*new*] (*premium*): Site owners will be able to get unsupported formats converted via this service, even on a shared hosting, without installing any additional software.
|
62 |
* **Watermark Addon** [*new*] (*premium*): Adds advanced, customised watermarks to photos.
|
63 |
* **Membership Addon** (*premium*): Users can be given controlled upload quotas and media type access on their profiles and groups.
|
64 |
|
@@ -119,6 +120,16 @@ Please visit [BuddyPress Media's Features page](http://rtcamp.com/buddypress-med
|
|
119 |
|
120 |
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.
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
= 2.12.1 =
|
123 |
* Fixes bug in featured media that occurred when the featured media was deleted
|
124 |
* Optimises db queries for privacy
|
@@ -394,5 +405,5 @@ Please visit [BuddyPress Media's Roadmap page](http://rtcamp.com/buddypress-medi
|
|
394 |
* HTML5 Video Tag Support (with fallback)
|
395 |
|
396 |
== Upgrade Notice ==
|
397 |
-
= 2.
|
398 |
-
|
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.13.1
|
10 |
|
11 |
Adds Photos, Music, Videos & Albums to BuddyPress. Supports mobile devices (iPhone/iPad, etc) and automatic audio/video conversion.
|
12 |
|
36 |
* **Groups** Supported: Users can upload media on Groups, as well!
|
37 |
* **HTML5 playback**: with fall back to flash/silverlight player support
|
38 |
* **Privacy**: Users can control access to their uploaded media
|
39 |
+
* **[Shortcode](http://rtcamp.com/buddypress-media/docs/admin/shortcodes/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Shortcode Documentation")**: Display public media of all the users on the site
|
40 |
* **Enhanced media management**: including sorting, moving media between albums, etc
|
41 |
* **Advanced Image Editor**: Use the Dashboard media editor on the front-end!
|
42 |
+
* **[Featured Media](http://rtcamp.com/buddypress-media/docs/admin/featured-media/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Featured Media documentation")**: Using a template tag, this can be then displayed on the user profile as a cover photo/video. Sponsored by [Henry Wright](http://profiles.wordpress.org/henrywright-1)
|
43 |
* **Automatic conversion** (*premium*): of common audio & video formats to mp3/mp4 via [Kaltura Add-On](http://rtcamp.com/store/buddypress-media-kaltura/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "BuddyPress Media Kaltura Addon for Kaltura.com/Kaltura-CE/Kaltura On-Prem version"), and [FFMPEG Add-On](http://rtcamp.com/store/buddypress-media-ffmpeg/ "BuddyPress Media FFMPEG Addon")
|
44 |
+
* **[Encoding Service]( http://rtcamp.com/buddypress-media/addons/audio-video-encoding-service/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media)** [*new*]: Site owners will be able to get unsupported formats converted via this service, even on a shared hosting, without installing any additional software.
|
45 |
|
46 |
= Roadmap =
|
47 |
|
60 |
|
61 |
**Coming Soon**
|
62 |
|
|
|
63 |
* **Watermark Addon** [*new*] (*premium*): Adds advanced, customised watermarks to photos.
|
64 |
* **Membership Addon** (*premium*): Users can be given controlled upload quotas and media type access on their profiles and groups.
|
65 |
|
120 |
|
121 |
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.
|
122 |
|
123 |
+
= 2.13.1 =
|
124 |
+
* Fixes bug in navigation
|
125 |
+
* Fixes bug in admin menu
|
126 |
+
* Resolves delete album issue (when activity is enabled)
|
127 |
+
* Adds option to disable encoding
|
128 |
+
* Translations Updated
|
129 |
+
|
130 |
+
= 2.13 =
|
131 |
+
* Adds support for audio/video conversion via rtCamp's Encoding Service
|
132 |
+
|
133 |
= 2.12.1 =
|
134 |
* Fixes bug in featured media that occurred when the featured media was deleted
|
135 |
* Optimises db queries for privacy
|
405 |
* HTML5 Video Tag Support (with fallback)
|
406 |
|
407 |
== Upgrade Notice ==
|
408 |
+
= 2.13.1 =
|
409 |
+
Bug fixes for audio/video encoding service and others
|
screenshot-1.png
DELETED
Binary file
|
screenshot-10.png
DELETED
Binary file
|
screenshot-11.png
DELETED
Binary file
|
screenshot-12.png
DELETED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
screenshot-3.png
DELETED
Binary file
|
screenshot-4.png
DELETED
Binary file
|
screenshot-5.png
DELETED
Binary file
|
screenshot-6.png
DELETED
Binary file
|
screenshot-7.png
DELETED
Binary file
|
screenshot-8.png
DELETED
Binary file
|
screenshot-9.png
DELETED
Binary file
|