- don't plug in to internet
- chose a country (United Kingdom)
- refuse to share any info with apple or log in to iCloud (to make sure you don't get sucked in early)
- refuse location services
- restart
- still a German computer
- add a new language in Regions preferences
- some dialogues (restarting) still come in German after deleting German
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: FV Player - MemberPress Courses fix | |
* Version: 0.2 | |
* Description: Since memberpress-courses/app/views/classroom/courses_footer.php doesn't contain wp_footer hook we have to provide an alternative way of loading FV Player scripts. Here's another description of the issue: https://blog.calendarscripts.info/watu-watupro-and-memberpress-temporary-solution-to-an-issue/ | |
* Author: Foliovision | |
* Author URI: https://foliovision.com | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: FV Player Pro - Custom CDN | |
Description: Add Settings -> FV Player Pro -> Hosting -> BunnyCDN Extended which signs the URLs for use in SK and US countries only. | |
Author: Foliovision | |
Version: 0.1 | |
*/ | |
add_action( 'plugins_loaded', 'fv_player_custom_cdn_load', 0 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var player = jQuery('<div id="background-video"></div>'); | |
jQuery('#wp-custom-header').append(player); | |
player.flowplayer( { | |
autoplay: true, | |
disabled: true, | |
loop: true, | |
clip: | |
{ | |
"sources": [ | |
{ src: "https://s3-eu-west-1.amazonaws.com/fv-player-unprotected/dominika-960-31_HD.mp4", type: "video/mp4" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Core WordPress function wp_is_mobile() detects iPad as mobile, so we filter it and use WP Rocket mobile detection | |
*/ | |
add_filter( 'wp_is_mobile', 'fv_bra_wp_is_mobile' ); | |
function fv_bra_wp_is_mobile( $is_mobile ) { | |
if ( class_exists( 'Rocket_Mobile_Detect' ) ) { | |
$detect = new Rocket_Mobile_Detect(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).on('mfpClose', function() { | |
jQuery('.flowplayer').data('flowplayer').unload() | |
} ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', 'tweak_fv_player_css_enqueue' ); | |
function tweak_fv_player_css_enqueue() { | |
global $fv_fp; | |
if( method_exists( $fv_fp, 'css_enqueue' ) { | |
$fv_fp->css_enqueue(true); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Please read the bbPress 1 conversion article on foliovision.com before using | |
*/ | |
include('wp-load.php'); | |
global $wpdb; | |
$aPosts = $wpdb->get_results( "SELECT * FROM $wpdb->posts AS p JOIN $wpdb->postmeta AS m ON p.ID = m.post_id WHERE post_type IN ('forum','topic','reply') AND ( meta_key = '_bbp_old_topic_id' ) LIMIT 10000 " ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include('bb-load.php'); | |
global $bbdb; | |
$aTopics = $bbdb->get_col( "SELECT topic_id FROM $bbdb->topics" ); | |
foreach( $aTopics AS $iTopic ) { | |
echo $iTopic.'<br />'; | |
bb_update_post_positions($iTopic); | |
} |
NewerOlder