[AndyB] Audio plus

Free XF1 Add-ons [AndyB] Audio plus 1.8
Audio player which plays attached .mp3 audio files.

Compatible XF 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)

pic001.jpg



Features:
  • Automatically inserts an audio player for each .mp3 attachment.
Installation:
  1. Download audioplus_v1.8.zip and unzip it.
  2. Upload the Andy folder to your server. The correct location will be library/Andy.
  3. From your Admin Control Panel, go to the "Install Add-on" page.
  4. Upload the addon-AudioPlus_v1.8.xml file.
  5. Click the Install Add-on button.
How to use:
  1. Create a post.
  2. Upload a .mp3 audio file using the "Upload a File" button.
  3. Save Changes.
  4. Audio player is automatically inserted into message.
  5. Click play button to listen to audio.
Set up:
  1. Create a /misc/ folder in your web root.
    Code:
  2. Upload the following file Andy/AudioPlus/audio_plus.php to your /misc/ folder:
  3. 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.
  4. In the Admin Control Panel, update "Allowed Attachment File Extensions" to include mp3 files.
  5. In the EXTRA.css template add the following code:
    Code:
    #audioplus {
    max-width: none;
    max-height: none;
    }
How it works:

This example shows what the BB Code looks like after the post is saved.
Code:
[AUDIOPLUS=[URL]https://www.southbayriders.com/forums/attachments/510008/][/AUDIOPLUS[/URL]]
User Group Permissions:

This add-on requires the Unregistered / Unconfirmed user group to have "View attachments to posts" setting set to "Allow".

pic002.jpg



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.
  • Icy Bro
  • Like
Reactions:Nebulae and seeraaf
Author
FateKid
Downloads
1
Total Views
417
Released
Version
1.8
Rating
0.00 star(s) 0 ratings

More files from FateKid

Share this resource

Similar resources

[AndyB] Remove edit silently FateKid
Removes 'Edit silently' and 'Clear last edit information' options for moderators.
0.00 star(s) 0 ratings
Downloads
0
[AndyB] Weekly Digest FateKid
Sends an email to your members every week showing most popular topics.
0.00 star(s) 0 ratings
Downloads
0