djikstra
Forum Replies Created
-
Forum: Plugins
In reply to: [Iptanus File Upload] Mkdir outside the plugin folder when upload is finishedAh, sorry, I am using the
wfu_after_file_loaded_handlerfilter.
Forum: Plugins
In reply to: [Iptanus File Upload] Mkdir outside the plugin folder when upload is finishedHi Nick,
thx, works. What I want to do now:
I want to access the path of the uploaded file within this function. If I understand the comment correctly, I should find this in the
$additional_dataarray. But how to access this value?
$file_path=$additional_data["file_path"];???
My upload file path looks like this:
wp-content/uploads/poseidon/data/poseidon-stamp_1492194083367/poseidon-id_test/p19.fnaand at the end I want to have ‘1492194083367’ stored in a variable.
Thanks!
Forum: Plugins
In reply to: [Iptanus File Upload] Mkdir outside the plugin folder when upload is finishedHi,
I have the professional version. I just created a new hook and added code from the ‘After file was completely uploaded’ template. When I save this I already get the message:
“Hook has been saved but cannot be activated because the code contains errors. Please check its syntax.”
But shouldnt be the syntax of the imported template ok? Or did I miss something regarding the implementation of new hooks?
Thanks!
Forum: Plugins
In reply to: [Iptanus File Upload] Mkdir outside the plugin folder when upload is finishedHi Nickolas,
thanks for the hint. Unfortunately I am not so experienced in PHP stuff, so how to access this wfu_after_upload function?
I found the template in the _wfu_hook_templates.php file. But how is it executed if I put my code for creating the directory there? Or do I have to create a new php file inside the lip folder and include the function?
Thanks for your help!
Martin… and I found the blacklist in the lib folder of the plugin. I just moved those file extensions that I want to allow from the black to the white list. That should be it. Thanks
Hi Nickolas,
I have the Pro version.
thanks!