Audio uploads by site users, case WMA
-
Hello
I’ve set up a WordPress page including shortcode from Contact Form 7. The audio upload is validated and I can see it in my database register (another plugin, Contact Form DB), but the file that I’m testing to upload does not save into /home/fusec327/public_html/wp-content/uploads/wpcf7_uploads like it should.
I have adjusted the rights of the folder to 777.
In addition, I altered the functions.php file to accept wma as an audio file type.References used
The Contact Form 7 info page: http://contactform7.com/file-uploading-and-attachment/
Changing MIME types: http://www.paulund.co.uk/change-wordpress-upload-mime-typesSumma summarum: How can I get the audio files to save into my server?
Here’s the code that I’ve used in my WordPress page:
<p>Etu- ja sukunimesi<br /> [text* your-name] </p> <p>Sähköpostiosoitteesi<br /> [email* your-email] </p> <p>Olen lukenut FUSE:a koskevan ohjeistuksen, tutustunut esimerkkeihin ja varmistanut äänitteella esiintyvien opiskelijoiden antaneen suostumuksensa äänitteen anonyymiin käyttöön FUSE korpuksessa. (HUOM. Alaikäisen opiskelijan täytyy pyytää suostumus äänitteen käyttöön huoltajaltaan.)<br /> [acceptance accept-this-1] </p> Valitse suullisen kielitaidon kokeessa taltioitu äänitiedosto lähetettäväksi. (Mieluiten mp3-tiedosto. Sallitut tiedostotyypit: ogg, m4a, mp3, wav, wma. Jos tiedostosi ei ole näissä muodoissa, voit muuntaa sen oikeaan muotoon esim. osoitteessa <a href="http://audio.online-convert.com/convert-to-mp3">http://audio.online-convert.com/convert-to-mp3</a>) [file* file-139 limit:250mb filetypes:ogg|m4a|mp3|wav|wma] Kirjoita vielä alla näkyvä merkkisarja kenttään ennen äänitteen lähettämistä. HUOM. Kirjoita kirjaimet isolla. [captchac captcha-271] [captchar captcha-271 4/4] <p>[submit "Lähetä"]</p>
- The topic ‘Audio uploads by site users, case WMA’ is closed to new replies.