EmuZone
Forum Replies Created
-
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) LocationPlace this code into your themes single.php.
Requires my embed function and meta-boxes!
Place this code where you would like your Automatic Youtube Video to appear.
This code will check the post meta data for an Automatic Youtube Video, if no video is found it will disable the iFrame and hide it.
<?php $disable = of_get_option( 'disable_features' ); $video_url = get_post_meta($post->ID,'_tern_wp_youtube_video',true); $embeded_code = get_post_meta($post->ID,'_tern_wp_youtube_video',true); ?><?php if($video_url !='' || $embeded_code != '') { ?><?php tern_wp_youtube_video(); ?><?php } ?>
To disable Automatic Youtube Video iFrame in content area:
Change line 30 of /core/video.php from:
add_filter(‘the_content’,’WP_ayvpp_content’);
to:
//add_filter(‘the_content’,’WP_ayvpp_content’);Please let me know if you have any problems adding the embed function to any of your WordPress themes? Please reply here and also on https://www.codecentral.org/embed so to help any others trying to achieve this!
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) LocationYou can add my embed function directly into any WordPress theme!
This is a very adoptable function!
This adds a meta box to the post page to enable you to add embed codes into your posts.
Visit https://www.codecentral.org/embed to find out how!
Forum: Plugins
In reply to: [MP6] Admin bar menu items pushed behind admin bar background!I am having these problems in IE10, Google Chrome, Mobile: Android!
Forum: Plugins
In reply to: [MP6] Admin Bar Search Icon missing in MP6 admin-bar.cssDo you need to replace the css in admin-bar.css with the revision (eg) 736485.
Do I replace the css?
How do I implement the fix?
Forum: Plugins
In reply to: [MP6] Admin bar menu items pushed behind admin bar background!Whats jQuery.fn.jquery;?
How is jQuery.fn.jquery; executed?
When is jQuery.fn.jquery; executed?
Where is jQuery.fn.jquery; located?
jQuery’s executed in console!
JQMIGRATE: Logging is active jquery-migrate.js:21 JQMIGRATE: jQuery.browser is deprecated jquery-migrate.js:40 console.trace() jquery-migrate.js:42 migrateWarn jquery-migrate.js:42 Object.defineProperty.get jquery-migrate.js:57 (anonymous function) fancybox.min.js:4 (anonymous function) fancybox.min.js:32 fire jquery.js:1037 self.fireWith jquery.js:1148 jQuery.extend.ready jquery.js:433 completed jquery.js:103 Resource interpreted as Image but transferred with MIME type text/html: "https://www.codecentral.org/".
jQuery’s executed in console without responsive css!
JQMIGRATE: Logging is active jquery-migrate.js:21 JQMIGRATE: jQuery.browser is deprecated jquery-migrate.js:40 console.trace() jquery-migrate.js:42 migrateWarn jquery-migrate.js:42
jQuery’s executed in console with responsive css on admin dashboard!
JQMIGRATE: Logging is active load-scripts.php:9620 JQMIGRATE: jQuery.attrFn is deprecated load-scripts.php:9639 console.trace() load-scripts.php:9641 migrateWarn load-scripts.php:9641 Object.defineProperty.get load-scripts.php:9656 s jquery.mobile.custom.min.js:3 jQuery.extend.each load-scripts.php:648 (anonymous function) jquery.mobile.custom.min.js:3 (anonymous function) jquery.mobile.custom.min.js:3 (anonymous function) jquery.mobile.custom.min.js:3 (anonymous function) jquery.mobile.custom.min.js:3 Resource interpreted as Font but transferred with MIME type application/x-font-woff: "data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAClEAA4AAAAAQ…ewp7CnsKewp7CnCD27CrsKuwq7CrsKu4qsZ19hX2FfYV9hX5Hrb+euH4YAAAAAAVHIeo4AAA==". www.codecentral.org/:241 JQMIGRATE: jQuery.fn.live() is deprecated load-scripts.php:9639 console.trace() load-scripts.php:9641 migrateWarn load-scripts.php:9641 jQuery.fn.live load-scripts.php:10060 (anonymous function) akismet.js:32 fire load-scripts.php:1037 self.fireWith load-scripts.php:1148 jQuery.extend.ready load-scripts.php:433 completed load-scripts.php:103 Resource interpreted as Font but transferred with MIME type font/woff: "https://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBtIh4imgI8P11RFo6YPCPC0.woff". www.codecentral.org/:672 Resource interpreted as Font but transferred with MIME type font/woff: "https://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxrsuoFAk0leveMLeqYtnfAY.woff". www.codecentral.org/:672 Resource interpreted as Font but transferred with MIME type font/woff: "https://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxmWeb5PoA5ztb49yLyUzH1A.woff".
jQuery’s executed in console without responsive css on admin dashboard!
JQMIGRATE: Logging is active load-scripts.php:9620 JQMIGRATE: jQuery.attrFn is deprecated load-scripts.php:9639 console.trace() load-scripts.php:9641 migrateWarn load-scripts.php:9641 Object.defineProperty.get load-scripts.php:9656 s jquery.mobile.custom.min.js:3 jQuery.extend.each load-scripts.php:648 (anonymous function) jquery.mobile.custom.min.js:3 (anonymous function) jquery.mobile.custom.min.js:3 (anonymous function) jquery.mobile.custom.min.js:3 (anonymous function) jquery.mobile.custom.min.js:3 JQMIGRATE: jQuery.fn.live() is deprecated load-scripts.php:9639 console.trace() load-scripts.php:9641 migrateWarn load-scripts.php:9641 jQuery.fn.live load-scripts.php:10060 (anonymous function) akismet.js:32 fire load-scripts.php:1037 self.fireWith load-scripts.php:1148 jQuery.extend.ready load-scripts.php:433 completed load-scripts.php:103
I’ve removed responsive css so not to disrupt my users until this has been resolved!
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) Location005vinay, can you please collaborate more on what you are trying to achieve?
More information is required!(automatic iframe code at detube video code area)
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) Location/*———————————————————————————–*/
/* Framework
/*———————————————————————————–*/if ( !function_exists( 'of_get_option' ) ) { function of_get_option($name, $default = false) { $optionsframework_settings = get_option('optionsframework'); // Gets the Unique Option ID $option_name = $optionsframework_settings['id']; if ( get_option($option_name) ) { $options = get_option($option_name); } if ( isset($options[$name]) ) { return $options[$name]; } else { return $default; } } }
Forum: Plugins
In reply to: [MP6] Admin Bar Search Icon missing in MP6 admin-bar.cssYes I noticed this to so all I can suggest is to add it to the admin-bar.css manually which you would have to figure out yourself or remove the search box from the admin bar!
// Remove Admin Bar Menus
add_shortcode(‘ss_screenshot’, ‘ss_screenshot_shortcode’);
function remove_admin_bar_links() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu(‘search’);}
add_action( ‘wp_before_admin_bar_render’, ‘remove_admin_bar_links’ );
add_action( ‘admin_bar_menu’, ‘admin_bar_delete_option’, 40 );Forum: Plugins
In reply to: [MP6] Admin bar menu items pushed behind admin bar background!Browser: Google Chrome – Latest Version.
Forum: Plugins
In reply to: [MP6] Admin bar menu items pushed behind admin bar background!? WordPress Version 3.5.2
? WordPress language is set to en-US
? Linux operating system, Release/Version 2.6.18-308.4.1.el5PAE / #1 SMP
? i686 computer hardware
? php Version 5.3.25
? php memory_limit 256M
? Zend engine Version 2.3.0
? Web Server software is Apache
? MySQL Version 5.5.30-cllOS for Mobile: Android.
OS for Desktop: Windows 7.MP6 Version 1.8
These errors are not due to any of my WordPress Themes.
Possible Location of the problem!
mp6 ? components ? responsive ? css ? admin-bar.css
mp6 ? components ? responsive ? css ? moby6.cssForum: Plugins
In reply to: [MP6] Admin bar menu items pushed behind admin bar background!Desktop and Mobile error: Home page only!
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) LocationVideo Function!
[Please see the note above about posting code on these forums]Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) LocationResolved: Requires embed video function!
<?php $disable = of_get_option( 'disable_features' ); $video_url = get_post_meta($post->ID,'_tern_wp_youtube_video',true); $embeded_code = get_post_meta($post->ID,'_tern_wp_youtube_video',true); ?><?php if($video_url !='' || $embeded_code != '') { ?><?php tern_wp_youtube_video(); ?><?php } ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) LocationThis above code is causing a page error (eg) black page, page doesn’t complete session!
Forum: Plugins
In reply to: [Automatic Youtube Video Posts Plugin] Changing Video (iFrame) LocationThis above solution still leaves an empty Automatic Youtube Video Posts iFrame in other post!
This term (<?php tern_wp_youtube_video(); ?>)is causing an empty YouTube iFrame in none Automatic Youtube Video Posts when I add it in manually using the <?php tern_wp_youtube_video(); ?> term!
How can I get the video holder (ect)<?php tern_wp_youtube_video(); ?>
Automatic Youtube Video Posts iFrame to only display on Automatic Youtube Video Posts as its leaving an empty YouTube iFrame in other post?