MyBB Community Forums

Full Version: Mybb Audio Player Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB Audio Player Plugin[Build #1 (dev)] (v1.0)
-> convert audio links inside a specified tag into audio player.

Installation:
1. Copy and paste inc and jscripts folder to your forum's root directory from Upload folder.
2. Install and Activate the plugin from Admin CP.
3. Goto Configuration->MyBB Audio Player Plugin->choose the bbcode tag you want to use.



[Image: preview_138616_1609396704_41492794c12091...f0736b.png]


[Image: preview_138616_1609396712_a4df02dc54c19d...f99348.png]




Download:
Extend MyBB - MyBB Audio Player
Hi, thank you for your contribution Smile

As a suggestion, you probably would want to use a more complex regular expression to allow URLs that match a pattern.
$re = sprintf("/\[(%s)\](.+?)\[\/\\1\]/", preg_quote($tag));

You could even add a new setting to allow only URLs from specific domains to limit the sources for security reasons.
Will surely consider these things in next update as it is just a developmental release
Hello and thank you for your plugins.
The audio player plugin is really a great idea, most needed!

I downloaded your version #1 stable but after uploading files...
in the admin within "inactive plugins" area, I see "activate" only, not "install and activate".
When I click on "activate" I get the MyBB error...
"MyBB has experienced an internal SQL error and cannot continue."
Please could you give me some advice on this?
I installed MyBB 1.8.29 yesterday.

I have plugins installed...
Simple Audito Video Embeder (6.1.1)
Page Manager (2.1.4)
Thank You/Like System (3.4.3)
Google Analytics (2.0.1) - not activated
Hello,

maybe a stupid question:

What should the correct TAG definition be in the post:
Example: the MP3 file is in the subfolder ./audios/filename.mp3

The contribution must therefore read: [sb]????/filename.mp3[/sb].

What exactly is the name of the audio file?
Despite reinstallation, I can no longer get the player to function.

Thank you in advance for any assistance.
(2023-03-16, 01:16 PM)Fontane Wrote: [ -> ]Hello,

maybe a stupid question:

What should the correct TAG definition be in the post:
Example: the MP3 file is in the subfolder ./audios/filename.mp3

The contribution must therefore read: [sb]????/filename.mp3[/sb].

What exactly is the name of the audio file?
Despite reinstallation, I can no longer get the player to function.

Thank you in advance for any assistance.

Same to me ....