tsjippy
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7 Dropbox] 2 feature requests…filename solved:
jQuery(document).ready(function() {
wpcf7_dropbox_mailsent_handler();
});function wpcf7_dropbox_mailsent_handler() {
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
form = wpcf7_dropbox_forms [ event.detail.contactFormId ];if ( form.access_token && form.file_input ) {
var accessToken = form.access_token;
var dbx = new Dropbox({ accessToken: accessToken });
var fileInput = document.getElementById(form.file_input);
var file = fileInput.files[0];
var location = form.folder_location;
if(file) {
dbx.filesUpload({path: ‘/’ + location + file.name, contents: file})
.then(function(response) {
console.log(response);
console.log(‘File uploaded!’);
})
.catch(function(error) {
console.error(error);
});
}
}
return false;}, false );
}Forum: Plugins
In reply to: [Contact Form 7 Dropbox] File name or Folder nameThats what I want as well!
Would be great if uploaded files are stored on dropbox with a filename I specify. In my case the unique id of the form submission so that I know which file belong to which form data.
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Excel download link does not workThanks, I updated to php 7.1 and it works!
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Excel download link does not workthank you so much!
I tested a copy of the site in another environment, with php 7 and it works.
My environment is on php 5.5.38
That should be enough right?Apache 2.4.33
DirectAdmin 1.53.0
Exim 4.91
MySQL 5.6.38
Named 9.8.2rc1
sshd
dovecot 2.3.1 (8e2f634)
pure-ftpd 1.0.47
Php 5.5.38Forum: Plugins
In reply to: [Doneren met Mollie] waarde in URL meesturenik probeer dit ook voor de website https://www.tastedelft.nl/nieuw/donaties
Maar ik weet niet wat ik moet gebruiken:[email protected]
Waarmee moet ik 7921 vervangen?Als ik in de source kijk dan zie ik alleen
<form action="/nieuw/donaties/" class="" method="post">
staan, maar nietname="1234"