73 visualizzazioni
[Ready] - SoundCloud integration
creativewild

17 soggetti, 53 risposte

Hanno contribuito donatori
Messaggio non letto
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 partecipanti
5 risposte
Zaekof

38 soggetti, 883 risposte

Hanno contribuito donatori
Messaggio non letto
thx
"N'arrêtez jamais d'apprendre" !
Lyogi

20 soggetti, 97 risposte

Messaggio non letto
Nice *_*
charlatan

4 soggetti, 14 risposte

Messaggio non letto
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 :)
creativewild

17 soggetti, 53 risposte

Hanno contribuito donatori
Messaggio non letto
Hi, I will have a look and let you know, I may need to update it :)

sorted you need to add the content above in the file located at neofrag/libraries/bbcode.php
charlatan

4 soggetti, 14 risposte

Messaggio non letto
Hello, very good job, I forgot at the end of the array ( , ) This is perfect thanks and sorry @creativewild