This file contains 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
group:GG|JE|AX|DK|EE|FI|FO|GB|IE|IM|IS|LT|LV|NO|SE|SJ|AT|BE|CH|DE|DD|FR|FX|LI|LU|MC|NL|BG|BY|CZ|HU|MD|PL|RO|RU|SU|SK|UA|AD|AL|BA|ES|GI|GR|HR|IT|ME|MK|MT|CS|RS|PT|SI|SM|VA|YU |
This file contains 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
add_action('admin_enqueue_scripts','traveler_fix', 100); | |
function traveler_fix() { | |
if( isset( $_GET['page'] ) && $_GET['page'] === 'advqoptions' ){ | |
wp_deregister_script('select2.js'); | |
wp_dequeue_script('select2.js'); | |
wp_deregister_script('select2_js'); | |
wp_dequeue_script('select2_js'); | |
wp_deregister_script('select2'); | |
wp_dequeue_script('select2'); |
This file contains 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
.iwm_map_canvas .google-visualization-tooltip { | |
pointer-events:none; | |
} |
This file contains 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('html').on('mousedown', '.bx-viewport a', function() { | |
var url = jQuery(this).attr('href'); | |
if( url !== ''){ | |
window.open( url, jQuery(this).attr('target') ); | |
} | |
}); |
This file contains 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
add_filter( 'i_world_map_capability', 'my_custom_capability' ); | |
function my_custom_capability() { | |
return 'manage_options'; | |
} |
This file contains 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) | |
.ready(function () { | |
ts_move_cell(".tshowcase-box-info"); | |
ts_move_cell(".tscontent"); | |
ts_fix_url(".tshowcase-box-info"); | |
ts_fix_url(".tscontent"); | |
}) | |
.ajaxSuccess(function () { | |
ts_move_cell(".tshowcase-box-info"); |
This file contains 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
.advq_disabled_button { | |
pointer-events:all !important; | |
opacity:1 !important; | |
} |
This file contains 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
// slow redirect | |
jQuery('.advq_profile_box').each(function() { | |
var redirect = jQuery(this).attr('data-redirect'); | |
jQuery(this).attr('data-slow-redirect', redirect); | |
jQuery(this).attr('data-redirect', ''); | |
}); | |
jQuery('.advq_checkanswers .advq_button').on('click', function() { | |
setTimeout(function() { | |
jQuery('.advq_profile_box').each(function() { |
This file contains 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
add_action('adqv_email_submitted', 'advq_create_new_user_from_email'); | |
function advq_create_new_user_from_email( $email_address ){ | |
if( null == username_exists( $email_address ) ) { | |
// Generate the password and create the user | |
$password = wp_generate_password( 12, false ); | |
$user_id = wp_create_user( $email_address, $password, $email_address ); | |
// Set the nickname |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.