sdpatsdp
Forum Replies Created
-
[SOLVED]
First my best best regard to truethemes and photocrati team that both worked promptly on my issue and got it to a solution.
The winner (just kidding! I’m really impressed for the speed and the professionality of both the teams worked out my issue!!!!) is the truethemes guy who found:
“The nextgen gallery issue turns out to be a conflict with Theme, it needs WordPress default metaboxes”
If you have my problem with Karma Theme and NextGen Gallery 2.0.x this is how to solve the issue
Karma 3.0.4
file
Karma/truethemes_framework/theme_specific/admin-functions.php
just comment out line 553
// add_action(‘admin_menu’,'<karma_metaboxes>’,90);Karma 3.0.3
file
Karma/truethemes_framework/theme_specific/admin-functions.php
just comment out line 553
// add_action(‘admin_menu’,'<karma_metaboxes>’,90);Karma 4.0.2
file
Karma/framework/site-options-functions.php
just comment out line 975
// add_action(‘admin_menu’,'<karma_metaboxes>’,90);Now NextGen Gallery 2.0.58 and Karma 3.0.4/4.0.2 work smoothly together on my site ??
Thank You all
SdPDone ??
Now Cais, you have a full stage site to test on.regards
SdPSure I can (but they don’t answer as fast as you do ;-p )
I’m sure that with different theme everyting works fine
Twenty ElevenVersione: 1.7 – ALL OKI know that the issue is related to the combination theme/plugin, NextGen Galley is working fine with other different sites I manage…
And the only this one with Karma Theme is the one with issue…Let me know if you get to a solution.
At this point you gave me a good idea (a little annoying but it works…) I switch to a theme Twenty-something publish the galley then switch back to Karma.
SdP
FYI…
On Github I found the following statement:
“Please note that you should download and upload all resources to your own server and not reference source files from the blueimp.github.io domain”I had same problem and solved it downloading all the external JS and CSS and modifying the script (see modified script).
function jqhfu_enqueue_scripts() { $stylepath=JQHFUPLUGINDIRURL.'css/'; $scriptpath=JQHFUPLUGINDIRURL.'js/'; wp_enqueue_style ( 'jquery-ui-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/base/jquery-ui.css' ); wp_enqueue_style ( 'jquery-image-gallery-style', $stylepath . 'jquery.image-gallery.min.css'); wp_enqueue_style ( 'jquery-fileupload-ui-style', $stylepath . 'jquery.fileupload-ui.css'); wp_enqueue_script ( 'enable-html5-script', 'https://html5shim.googlecode.com/svn/trunk/html5.js'); if(!wp_script_is('jquery')) { wp_enqueue_script ( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js',array(),'',false); } wp_enqueue_script ( 'jquery-ui-script', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js',array('jquery'),'',true); wp_enqueue_script ( 'tmpl-script', $scriptpath . 'tmpl.min.js',array('jquery'),'',true); wp_enqueue_script ( 'load-image-script', $scriptpath . 'load-image.min.js',array('jquery'),'',true); wp_enqueue_script ( 'canvas-to-blob-script', $scriptpath . 'canvas-to-blob.min.js',array('jquery'),'',true); wp_enqueue_script ( 'jquery-image-gallery-script', $scriptpath . 'jquery.image-gallery.min.js',array('jquery'),'',true); wp_enqueue_script ( 'jquery-iframe-transport-script', $scriptpath . 'jquery.iframe-transport.js',array('jquery'),'',true); wp_enqueue_script ( 'jquery-fileupload-script', $scriptpath . 'jquery.fileupload.js',array('jquery'),'',true); wp_enqueue_script ( 'jquery-fileupload-fp-script', $scriptpath . 'jquery.fileupload-fp.js',array('jquery'),'',true); wp_enqueue_script ( 'jquery-fileupload-ui-script', $scriptpath . 'jquery.fileupload-ui.js',array('jquery'),'',true); wp_enqueue_script ( 'jquery-fileupload-jui-script', $scriptpath . 'jquery.fileupload-jui.js',array('jquery'),'',true); wp_enqueue_script ( 'transport-script', $scriptpath . 'cors/jquery.xdr-transport.js',array('jquery'),'',true); }
As you can see I downloaded
jquery.image-gallery.min.css
from
https://github.com/blueimp/jQuery-Image-Gallery/blob/master/css/jquery.image-gallery.min.cssand I did put the file in
wp-content/plugin/jquery-html5-file-upload/css/And downloaded
tmpl.min.js
from
https://github.com/blueimp/JavaScript-Templates/blob/master/js/tmpl.min.jsload-image.min.js
from
https://github.com/blueimp/JavaScript-Load-Image/blob/master/js/load-image.min.jscanvas-to-blob.min.js
from
https://github.com/blueimp/JavaScript-Canvas-to-Blob/blob/master/js/canvas-to-blob.min.jsjquery.image-gallery.min.js
from
https://github.com/blueimp/jQuery-Image-Gallery/blob/master/js/jquery.image-gallery.min.jsand I did put the files in
wp-content/plugin/jquery-html5-file-upload/js/Then I removed the https://blueimp.github.xxx part and added $styletpath and $scriptpath as you can see in the code on top.
Obviously this will not allow me to have online automatic updates of the scripts and also I’ll need to rework the script on each update, but, I don’t like online scripts and the plugin was not working anyway because of problems/path on blueimp.github.com/blueimp.github.io repository…
SdP
Forum: Plugins
In reply to: [JQuery Html5 File Upload] Where do the photos go?Hi EliasG.
6 moths after your post I downloaded this plugin and had the same problem.
The solution is that the the directories under
‘wp-content/uploads/files/’
have strange permission that make them disappear to FTP client.
Just change the permission of ‘files’ (this one should be visible) and all subfolder to something like 741 (or 755) and all will be fine!SdP