We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] BBCode for adding music to a post
Topic Started: Jun 18 2011, 02:41 PM (1,001 Views)
ashleewithani-ZNR
Member
[ * ]
Board Address: http://s4.zetaboards.com/MatthewGrayGublerFan/index/
Board Software: Zetaboards
Description: I would just like to be able to add a BBCode for adding music to a single post. Everything I've tried doesn't seem to want to work. Something simple would be perfect.

either [mp3][/mp3] or [music][/music] would be great. Thank you so much.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
$('.c_post, #topic_review td').each(function(){
$(this).html($(this).html().replace(/\[music](.+?)\[\/music\]/gi,"<embed src='$1'></embed>"));
});
</script>
Offline Profile Goto Top
 
ashleewithani-ZNR
Member
[ * ]
Thanks, I tried but it's not wanting it to work. I placed it where you said but the bbcode doesn't seem to work. it just shows exactly what I typed.
Offline Profile Goto Top
 
Minato
Member Avatar
Let Me Be With You
[ *  *  *  *  * ]
Have you tried this?
Offline Profile Goto Top
 
ashleewithani-ZNR
Member
[ * ]
Yes I did. I put it in Templates/Below Board and it just doesn't seem to want to work :/ thanks for trying.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Mind posting the URL of the music file you're trying to use and your Board Template?
Offline Profile Goto Top
 
Minato
Member Avatar
Let Me Be With You
[ *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic