logo

Flash Mp3 Player (JW) for PHP Fusion

logo

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=0x324B5A&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=0x324B5A&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=0x324B5A&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 ;)

VN:F [1.9.3_1094]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.3_1094]
Rating: +1 (from 1 vote)
Flash Mp3 Player (JW) for PHP Fusion, 10.0 out of 10 based on 1 rating
  • hasan
    bunu article da yapabiliyormuyuz?
  • SoulSmasher
    We're excited to let you know that Arda Kilicdagi has invited you to Dropbox!

    Arda Kilicdagi has been using Dropbox to sync and share files online and across computers, and thought you might want it too.

    Visit http://www.dropbox.com/link/20.UrqE7m5bKq/NjIxO... to get started.

    - The Dropbox Team

    ____________________________________________________
    To stop receiving invites from Dropbox, please go to http://www.dropbox.com/bl/1e177192952e/notifica...
  • SoulSmasher
    İncelemelerde JW MP3 Player'ın kodlarını direkt HTML olarak girebilirsiniz, üçüncü parti bir koda gerek bulunmamakta
  • Great infusion ;)
blog comments powered by Disqus
logo
logo
Powered by Wordpress | Designed by Elegant Themes