73 views
[Ready] - SoundCloud integration
creativewild

17 subjects, 53 replies

Contributors donors
Unread message
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
Zaekof

38 subjects, 883 replies

Contributors donors
Unread message
thx
"N'arrêtez jamais d'apprendre" !
Lyogi

20 subjects, 97 replies

Unread message
Nice *_*
charlatan

4 subjects, 14 replies

Unread message
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 subjects, 53 replies

Contributors donors
Unread message
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 subjects, 14 replies

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