- Compatible XF 1.x versions
- 1.2
- 1.3
- 1.4
- 1.5
Description:
Audio player which plays attached .mp3 audio files.
(Example of Audio Plus player in a post)
Features:
This example shows what the BB Code looks like after the post is saved.
User Group Permissions:
This add-on requires the Unregistered / Unconfirmed user group to have "View attachments to posts" setting set to "Allow".
Questions and Answers:
Sending a donation:
If you like this add-on, please consider sending a small donation.
https://www.paypal.me/andybajka
Thank you.
Audio player which plays attached .mp3 audio files.
(Example of Audio Plus player in a post)
Features:
- Automatically inserts an audio player for each .mp3 attachment.
- Download audioplus_v1.8.zip and unzip it.
- Upload the Andy folder to your server. The correct location will be library/Andy.
- From your Admin Control Panel, go to the "Install Add-on" page.
- Upload the addon-AudioPlus_v1.8.xml file.
- Click the Install Add-on button.
- Create a post.
- Upload a .mp3 audio file using the "Upload a File" button.
- Save Changes.
- Audio player is automatically inserted into message.
- Click play button to listen to audio.
- Create a /misc/ folder in your web root.
Code:http://www.example.com/misc/
- Upload the following file Andy/AudioPlus/audio_plus.php to your /misc/ folder:
- In the Admin Control Panel, update "Maximum Attachment File Size (KB)" to 3072, this will allow a maximum of 3MB audio files to be uploaded.
- In the Admin Control Panel, update "Allowed Attachment File Extensions" to include mp3 files.
- In the EXTRA.css template add the following code:
Code:#audioplus { max-width: none; max-height: none; }
This example shows what the BB Code looks like after the post is saved.
Code:
[AUDIOPLUS=https://www.southbayriders.com/forums/attachments/510008/][/AUDIOPLUS]
This add-on requires the Unregistered / Unconfirmed user group to have "View attachments to posts" setting set to "Allow".
Questions and Answers:
Q: I get the following error message after uploading a file, "There was a problem uploading your file".
A: This means your php.ini maximum upload setting needs to be increased.
Q: Will this add the audio player to any previous posts with .mp3 attachments?
A: No. To make older posts show the audio player, you will need to edit and save the post.
Q: Can you make this permission based?
A: No.
Q: My error.log show a problem with file_get_contents command.
A: Make sure allow_url_fopen is enabled in PHP.
Q: Will this work in Conversations?
A: The audio player will only embed in posts.
A: This means your php.ini maximum upload setting needs to be increased.
Q: Will this add the audio player to any previous posts with .mp3 attachments?
A: No. To make older posts show the audio player, you will need to edit and save the post.
Q: Can you make this permission based?
A: No.
Q: My error.log show a problem with file_get_contents command.
A: Make sure allow_url_fopen is enabled in PHP.
Q: Will this work in Conversations?
A: The audio player will only embed in posts.
Sending a donation:
If you like this add-on, please consider sending a small donation.
https://www.paypal.me/andybajka
Thank you.