Justin Frydman
Forum Replies Created
-
I have this in my functions.php, maybe it helps:
wp_enqueue_script('jquery', '', '', '', true); wp_enqueue_script('jquery-ui-core', '', '', '', true); wp_enqueue_script('jquery-ui-tabs', '', '', '', true); wp_enqueue_script('jquery-ui-resizable', '', '', '', true); wp_enqueue_script('jquery-ui-draggable', '', '', '', true); wp_enqueue_script('jquery-ui-selectable', '', '', '', true); wp_enqueue_script('jquery-ui-dialog');Hi Jason,
I don’t think I do, I would be happy to send you any further debug information. If I just use “use google libraries” alone, it only loads 1 very jquery, enabling BWP minify seems to interfere with that and cause it to load like 9 times. I’m not exactly sure where the problem lies…
Forum: Networking WordPress
In reply to: permalink problem on nginxAdd this to functions.php
add_filter( 'got_rewrite', '__return_true', 999 );WordPress is checking if mod_rewrite is enabled (which of course it’s not since we aren’t using Apache), so force this to return true and it won’t add the additional index.php into the permalinks.
Then, just save your permalinks again and you should be good to go.
Hey Jason,
I was able to hack this to work, but it’s not really the most ideal solution. If you have any ideas, let me know:
in use-google-libraries.php:
$ig = false; foreach ($newscripts as $script) { $olddata = $this->WP_Dependency_get_data($scripts, $script->handle); $scripts->remove( $script->handle ); // re-register with original ver // hack: only allow it to enque one jquery-ui, which has version of 1.8.9 if(!$ig) $scripts->add($script->handle, $script->src, $script->deps, $script->ver); if( $script->ver == '1.8.9' && !is_admin()) $ig = true; if ($olddata) foreach ($olddata as $data_name => $data) { $scripts->add_data($script->handle,$data_name,$data); } }Hey again Jason,
You were right, it is another plugin causing the problem, specifically BWP minify ( http://wordpress.org/extend/plugins/bwp-minify/ )
When using both your plugins together, it creates this in the footer source, the 1.8.9 happens to be the jquery UI version:
<script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script> <script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script> <script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script> <script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script> <script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script> <script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script> <script type='text/javascript' src='http://xxx.com?ver=1.8.9'></script>Let me know if I can provide anything else and thank you.
Hey Jason,
I’m using 3.1.2 and sadly we are using about 40 plugins. I’ll debug and get back to you regarding which one is causing the issue. Also, this is a WPMU install, not sure if that has anything to do with it.
Get back to you soon.
Thanks
I noticed it breaks a number of plugins in wp-admin as well. It also breaks the main dashboard page, you can no longer manage those widgets.
Anyone have a fix besides using the included jquery with wordpress?
Forum: Plugins
In reply to: Xinha4WP Beta available (WYSIWYG for WordPress)Any chance of getting the “send to editor” button working in the wordpress browse iframe?
There is no way to manage normal files with this plugin unless i’m missing something, I can’t just add PDF or normal file links with it.
I tried adding a comment on your website as well but it just goes to a blank screen.
Forum: Plugins
In reply to: [New Plugin] Xinha for WordPressBaptiste, I’m using the latest version (beta) of your plugin. My only single complaint is I can’t use wordpress’s default file manager (the send to editor button does not work). It gives javascript errors as the JS to normally do this uses some TinyMCE function.
Do you have any idea at all how I can get this to work? WordPress 2.0.5
Any help would be greatly appreciated.