Turkish And English Details Are Included if you read more:
Türkçe ve ingilizce açıklama dökümanın devamındadır. Read More’a basın
English Documentation
within this modification, you can embed Flash Mp3 Player into PHP Fusion, there will be a button in the forum for adding mp3 files
Open maincore.php
find:
function parseubb($text) {below add:
$text = preg_replace('#\[music\]([\r\n]*)(http://|ftp://|https://|ftps://)([^\s\'\";\+]*?)([\r\n]*)\[/music\]#si', '<embed src=\'http://www.jeroenwijering.com/embed/mediaplayer.swf\' width=\'300\' height=\'20\' type=\'application/x-shockwave-flash\' pluginspage=\'http://www.macromedia.com/go/getflashplayer\' flashvars=\'file=\2\3&lightcolor=0×324B5A&backcolor=0xFFFFFF&frontcolor=0×000000\'/>', $text);then go to forum/ folder, open viewthread.php, postedit.php, postreply.php, postnewthread.php, find this line:
<input type='button' value='music' class='button' style='width:45px;' onClick=\"addText('message', '[quote]', '[/quote]');\">add below:
<input type='button' value='music' class='button' style='width:45px;' onClick=\"addText('message', '[music]', '[/music]');\">have fun
Türkçe Açıklama
Arkadaşlar Şimdi Size vereceğim bu modifikasyon ile forumda flash mp3 player ile mp3 dinletebilirsiniz
[music]şarkılinki [/music] şeklinde eklemeniz yeterlidir, zaten foruma buton ekliyor ![]()
maincore.php yi açıyoruz:
şu kodu bulun:
function parseubb($text) {altına ekleyin:
$text = preg_replace('#\[music\]([\r\n]*)(http://|ftp://|https://|ftps://)([^\s\'\";\+]*?)([\r\n]*)\[/music\]#si', '<embed src=\'http://www.jeroenwijering.com/embed/mediaplayer.swf\' width=\'300\' height=\'20\' type=\'application/x-shockwave-flash\' pluginspage=\'http://www.macromedia.com/go/getflashplayer\' flashvars=\'file=\2\3&lightcolor=0×324B5A&backcolor=0xFFFFFF&frontcolor=0×000000\'/>', $text);şimdi forum klasöründeki viewthread.php, postedit.php, postreply.php, postnewthread.php yi açıyoruz, şu kodu buluyoruz (yanındaki </td> kodunu seçime dahil etmeyin)
<input type='button' value='music' class='button' style='width:45px;' onClick=\"addText('message', '[quote]', '[/quote]');\">Altına Ekleyin:
<input type='button' value='music' class='button' style='width:45px;' onClick=\"addText('message', '[music]', '[/music]');\">hepsi bu kadar;)
flash mp3 player swfsini kendi sitesinden çağırtıyorum, böylece otomatik güncelleyecek.
flash mp3 playerın renklerini maincore’a eklenen koddaki
lightcolor=0×324B5A&backcolor=0xFFFFFF&frontcolor=0×000000
yukarda yazdığım bölüm düzenlenerek yapılabilir.
onun hakkında detaylı bilgi flash mp3 player dökümanı içerisinde mevcuttur.
afiyet olsun
0 Responses to “Flash Mp3 Player (JW) for PHP Fusion”
Leave a Reply