Could you tell me where I can find out a BBCode of MP3 Player to import on new YAF version? All code I did find on this forum didn't work.
Ok here is an sample code for an mp3 player bbcode and how to add it...
Go to Admin -> Settings -> BBCode Extensions ->
Add New BBCodeThen enter...
Name Description[MP3]Enter an URL to an MP3 File[/MP3]
Search RegEx\[mp3\](?<inner>[^\[]*)\[/mp3\]
Replace RegEx<div>
<object type="application/x-shockwave-flash" data="http://yetanotherforum.net/player_mp3.swf" width="200" height="20">
<param name="movie" value="player_mp3.swf" />
<param name="FlashVars" value="mp3=${inner}" />
</object>
</div>
http://yetanotherforum.net/ with your forum url
Then save the extension.
Now you need to download the flash file from here...
http://flash-mp3-player....players/normal/download/ and put it in the forum root folder.
Save the new extension and you have everything setup
For usage use...
[mp3]http://flash-mp3-player.net/medias/another_world.mp3[/mp3]
And how can I turn on the attached function which let the forum member can upload their file on by their self? I just saw attached icon when log in under forum Admin.
Thanks
This is handled via the Access Masks. Access Masks are set for each forum and the access masks are connected to each User Group.
If you want to allow all users to upload, then you have to allow the Member Access Mask Upload Access
Edited by moderator
2015-05-11T08:55:15Z
|
Reason: Not specified