PhPCentre
Forum Replies Created
-
The plugin just need to hook into the filter
wp_update_attachment_metadatato upload to s3. Obviously, the bulk photo plugin is1. not hooking into this filter or,
2. not using thewp_update_attachment_metadata()function which uses this filter or,
3. not using at least a function that calls thewp_update_attachment_metadata()function which in turn triggers this filter to upload images to wordpress.You can check this support for more info.
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] html validationThe attributes u, t, t2 the validator complained about are custom attributes used by the slider to manipulate the images, so don’t bother yourself about those attribute errors , the slider need those attributes, none negotiable. But as for the alt attribute for the img tag, I am thinking providing option for users to set that attribute for each image file on the plugin admin page, it will also be good for SEO.
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] PHP warningsSo so sorry, now it’s definitely fixed. I have updated the code on svn, Just change that line:49 from this
$arrowBorder=(JssorSliderHelper::arrowSKin($arrow)[3])?'0':'8';to this
$arrowBorder=(isset(JssorSliderHelper::arrowSKin($arrow)[3]))?'0':'8';please confrim.
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] Some NoticeThe Undefined offset notice has been fixed in the newer version of the plugin,please upgrade.
Thank You.
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] Hard-coded paths and directories…The hard-coded path and directories have been fixed, please check the newer version of the plugin, and thanks for pointing that out,have not properly taken a look at those path and directories until now.
Thank you .
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] PHP warningsForum: Reviews
In reply to: [Jssor Slider by jssor.com] A lot of 404 errors during plugin initializationThank you so so much for pointing that out, I have not taking a proper look at those defined paths and directories until now, and thanks to you, I have upgraded the script immediately. Please check the newer version of the plugin,it has been fixed.
Thanks again.
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] PHP warningsThe first undefined offset I will fix in the next upgrade asap, but the undefined property error should not be there, cause the latest version run an upgrade script that modified the db. Just check your wp_jssor_slides table an know whether there is a column “new_window” and report your results..
For the cloudfront or custom Domain option, please refer to this doc on how to properly configure it.
On second thought your
wp_insert_attachment()function according to the codex should be used in conjunction withwp_update_attachment_metadata()andwp_generate_attachment_metadata()functions. And both of these functions triggers the filterwp_update_attachment_metadatathe plugin uses to upload files to s3 especially thewp_update_attachment_metadata()function. Please check your code to make sure it conforms with the codex, and if it is,then the plugin should handle your uploads to s3.The plugin hooks into the
wp_update_attachment_metadatafilter to upload to files to s3, and this filter is called by the functionwp_update_attachment_metadata(), and this function is called by 12 other functions in wordpress and yourwp_handle_upload()andwp_insert_attachment()
functions are not one of them,here is the list.wp_restore_image() wp_save_image() wp_generate_attachment_metadata() media_handle_upload() media_handle_sideload() edit_post() wp_ajax_save_attachment() Custom_Image_Header::insert_attachment() Custom_Image_Header::step_2() Custom_Background::handle_upload() wp_maybe_generate_attachment_metadata() wp_xmlrpc_server::mw_newMediaObject()Try using any of the above relevant function for your upload and the plugin will handle the rest.
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] Changes in caption classForum: Plugins
In reply to: [Jssor Slider by jssor.com] Slider not workingResolved..
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] suggestionsResolved
Forum: Plugins
In reply to: [Jssor Slider by jssor.com] Some NoticeWhich php version are you using?.