Jean-Philippe Murray
Forum Replies Created
-
I’m experiencing the same issue. Any ideas?
So it took longer then expected to get back to this, but I did ??
Using XML-RPC and wp.uploadFile while the plugin is activated does upload to S3. The only problem I have is that the response for the XML-RPC call returns a local file URL. I can easily resolve this by doing a simple str_replace trick, but it’s not perfect… but it works!
Thanks!
I’d really like to know this too.
I’m not entirely ready to test it, but when I am, after the holiday break, I’ll get back to let you guys know! ??
Hey everyobdy. Thanks for emailing me and reporting theses bugs.
I’m curently back from a medical leave, I’ll be updating things soon ! ??
Thank for your comments !
I shall look into it again soon, let’s keep in touch if you find something before me ??
Hey Mark ! I incorporated your bug fixes in the script (and credited you in the readme), it should update soon today. One thing I didn’t change though is the fact to attach the count check on form submit. If we do that, a jQuery is triggered on WP’s side that shoes a loading icon and makes the button grey. We still can submit again, but it’s confusing, as it’s like the form is submitting, but can’t, while it actually don’t submit at all. That is why the verification is attached to the click. It checks before sending the form and triggering WP’s built in scripts !
Hey Mark ! I’ll be looking into this today!
Okay, I uploaded a new version to www.ads-software.com’s repository. It should come up as version 1.1 soon enough. I think I corrected the lines of code that where causing problems. If there is anything that still won’t work, feel free to contact me via the URL provided in the readme file !
I’m curently loocking into this, I think I’ll post an update today resolving this issue!
(Sorry for long time reply, I though I would have email notifications about theses ! :P)
Forum: Hacks
In reply to: Hook to stop post being sent to DB on criteriaWell, everything is there and what I was really missing, is the
wp_die()
function. I was still running into a problem (and solved it with a little bit of patience!).When I realized that I should be using
$post->post_title
instead of$post->title
(hehe), thewp_die
function did stop everything from happening. Problem was that ‘post_title’ was returning 10 characters (“auto draft”)… I took me some time to just think to wait a little more to click “publish” so it’s not a draft anymore ! ??So yes, your solution worked! Now I’m just going to check out for a less invasive way for stopping the action to happen, if it is at all possible. Using the
wp_die()
function stops everything, with an error message, but the user has to go back to the page and start all over again!Again, thank you for your input, fellow french speaking WP user! ??