Audio plus

xF2 Add-on Audio plus 1.2

No permission to download
Compatible XF Versions
  1. 2.0
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Audio player which plays attached .mp3 audio files.

Automatically inserts an audio player for each .mp3 attachment.

(Example of Audio plus player in a post)


xenforo_com_community_attachments_pic001_jpg_164054__.jpg



Installation:
  1. Download Andy-AudioPlus-1.2.zip and unzip it.
  2. Copy the src/addons/Andy/AudioPlus directory to your server.
  3. From the Admin Control Panel Install the add-on.
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.
Setup step 1:
  1. Create a /misc/ folder in your web root.
  2. Upload the following file Andy/AudioPlus/audioplus.php to your /misc/ folder.
Setup step 2:
  1. In order to do the next step you need to put the forum into debug mode. Add $config['debug'] = true; to your config.php file.
  2. In the Admin control panel Admin control panel -> Content -> Custom BB codes update the Custom BB Code. The HTML replacement needs to reflect your domain and location of the /misc/ folder.


    xenforo_com_community_attachments_pic002_jpg_164055__.jpg



  3. Remove the $config['debug'] = true; from your config.php file.

Setup step 3:
  1. 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.
  2. In the Admin control panel, update "Allowed attachment file extensions" to include mp3 files.
Setup step 4:

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

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 Conversation posts?
A: No.
  • Like
Reactions: appsfinder
Author
Admin
Size
11.7 KB
Extension
zip
Downloads
4
Views
1,537
First release
Last update

More resources from Admin

Similar resources

[XenCustomize] Profile Audio Player & Library - Music and Lyrics Admin
Profile Audio Player is the premier profile music addon for XenForo 2, bringing your profile to life
[XenCustomize] Profile Audio Player - Profile Music AnimeHaxor
Profile Audio Player is the premier profile music addon for XenForo 2, bringing your profile to life
Attachment list plus Admin
Improves attachment list to show non-image attachments in a list.
Auto close plus Admin
Auto close threads based on thread start time.
730Threads
2,282Messages
62,903Members
KingPowerLatest member
Back