2008-04-01, 11:28 AM
2008-04-02, 11:32 AM
Do you mean a media player as in, someone enters some MyCode and it shows up in posts?
Why must it be Java based?
Why must it be Java based?
2008-04-03, 09:37 AM
I mean a page on my forum, where you can play music. It can be all but it must play music...
Sry for my english i am German... Hope you can understand me
Styler
Why no answer...
Sry for my english i am German... Hope you can understand me
Styler
Why no answer...
2008-04-04, 03:40 AM
What page on your forum, specifically?
Usually, you just add the HTML code to the appropriate template.
Usually, you just add the HTML code to the appropriate template.
2008-04-04, 03:56 AM
//EDITED: just download and install this plugin: MP3 MyCode
You can try something like this.
In ACP - Custom My Code create new code:
MyCode title:
Simple MP3 Player
MyCode description:
Play mp3 from mp3music dir
Regular expression:
After that, download this attach and upload it in your root forum:
There is 2 folders:
/mp3player = where is your mp3 player
and
/mp3music = where you must to upload some .mp3 files
-------
To use it, just create a new post in your forum with next tag:
I don't know if this help you, but you can try. This is a nice mp3 player in flash.
//Later: See this DEMO
[attachment=8978]
styler2go Wrote:I mean a page on my forum, where you can play music. It can be all but it must play music...
You can try something like this.
In ACP - Custom My Code create new code:
MyCode title:
Simple MP3 Player
MyCode description:
Play mp3 from mp3music dir
Regular expression:
\[mp3\](.*?)\[/mp3\]
Replacement:<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="20" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="mp3player/mp3player.swf?showDownload=false&autoStart=false&file=mp3music/$1" />
<param name="wmode" value="transparent" />
<embed wmode="transparent" width="150" height="20" src="mp3player/mp3player.swf?showDownload=false&autoStart=false&file=mp3music/$1" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
After that, download this attach and upload it in your root forum:
There is 2 folders:
/mp3player = where is your mp3 player
and
/mp3music = where you must to upload some .mp3 files
-------
To use it, just create a new post in your forum with next tag:
[mp3]namesong.mp3[/mp3]
where "namesong.mp3" = "http://www.yourforum/mp3music/namesong.mp3"I don't know if this help you, but you can try. This is a nice mp3 player in flash.
//Later: See this DEMO
[attachment=8978]
2008-04-04, 05:59 PM
Ehm.. nothing.. i dont see anything (http://styler2go.bplaced.net/music.php
2008-04-04, 06:28 PM
is it possible to add to it so that mp3's can be linked to from other url's?
nice mod, works fine for me
[mp3]http://someforum.moc/music/song.mp3[/mp3]
nice mod, works fine for me

2008-04-04, 06:53 PM
styler2go Wrote:Ehm.. nothing.. i dont see anything (http://styler2go.bplaced.net/music.php
This is because "Custom My Code" works just for posts in mybb forum (or in template), not in other php file. Where is your mybb ?
2008-04-04, 07:32 PM
corny Wrote:is it possible to add to it so that mp3's can be linked to from other url's?
[mp3]http://someforum.moc/music/song.mp3[/mp3]
I test this code with other mp3 file hosted on http://www.youshare.com
(just for test

and it works.
So... just use in your forum posts this tag:
[mp3]http://someforum.moc/music/song.mp3[/mp3]
If you have problem and don't play mp3 files from another site, just replace:
Replacement
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="20" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="mp3player/mp3player.swf?showDownload=false&autoStart=false&file=mp3music/$1" />
<param name="wmode" value="transparent" />
<embed wmode="transparent" width="150" height="20" src="mp3player/mp3player.swf?showDownload=false&autoStart=false&file=mp3music/$1" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
with:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="20" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="http://yoursite.com/mp3player/mp3player.swf?showDownload=false&autoStart=false&file=mp3music/$1" />
<param name="wmode" value="transparent" />
<embed wmode="transparent" width="150" height="20" src="http://yoursite.com/mp3player/mp3player.swf?showDownload=false&autoStart=false&file=mp3music/$1" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
where http://yoursite.com/mp3player/mp3player.swf is link to your mp3 player.
2008-04-04, 09:53 PM
ehm my forum is in /fourm/ and the music file too, thta was a wrong link sry
http://styler2go.bplaced.net/forum/music.php
http://styler2go.bplaced.net/forum/music.php