73 views
[Ready] - SoundCloud integration |
|
---|---|
I will be posting shortly a bbcode integration to allow soundcloud integration by using the following code [soundcloud]https://soundcloud.com/playdotas-mind/dota2-for… Demo - Forum http://imgur.com/QjlXjpU Demo - News/articles http://imgur.com/WEemHmC EDIT: 1 - open the file text_editor.php located at [SITE_ROOT]/neofrag/libraries (example: /public_html/neofrag/libraries/bbcode.php) 2 - add the following line within the bbcode array ( it looks like this -> private $_bbcode = array (....)) : '\[soundcloud\](.*?)\[/soundcloud\]' => '<iframe width="100%" height="164" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=\1&auto_play=false&visual=false"></iframe>' DO NOT forget if you are adding the line at the end of the array, the previous line needs to end with a a comma( , ) LIVE DEMO http://heroislusitanos.pt/ |
4 participants
5 replies |
|
---|---|
thx "N'arrêtez jamais d'apprendre" ! |
|
Nice *_* |
|
hello @creativewild, the soundcloud BBcode does not work for me? Same for Twitch Video. It still works for you so far? Soory for my google translator :) |
|
neofrag/libraries/bbcode.php |
|
Hello, very good job, I forgot at the end of the array ( , ) This is perfect thanks and sorry @creativewild |