Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: flickernever - tammikuu 30, 2008, 06:12:40 IP

Otsikko: MP3 attachments: Play or Download? - Code that makes this
Kirjoitti: flickernever - tammikuu 30, 2008, 06:12:40 IP
How can I code the attachment system so that when a user uploads a MP3 file it automatically appears on the post with two options: Play or Download.

Or another way: A user uploads a MP3 and then MP3 Flash Player by Pierre29200 (http://www.simplemachines.org/community/index.php?topic=174907.0) is put on the post.

It would be awesome if someone with PHP experience could help out.

Thanks for reading.
Otsikko: Re: MP3 attachments: Play or Download? - Code that makes this
Kirjoitti: flickernever - helmikuu 03, 2008, 06:45:54 IP
I've been checking the code for the Attachments Positioning MOD by Karl Benson and it is very big, so I assume that for the thing I want it is too complicated....
Otsikko: Re: MP3 attachments: Play or Download? - Code that makes this
Kirjoitti: codenaught - helmikuu 25, 2008, 09:18:49 IP
First off I will move this to Mod Requests (http://www.simplemachines.org/community/index.php?board=79.0) so someone who is looking for mods to write, may come across this request.

I would suggest you link to this in Karl's mod's support topic to see if perhaps he is willing to look into helping you with this while using his mod.

The same could go with the MP3 Flash Player mod. You can try asking in the mod's support topic to see if attachment functionality could be added in for it.