vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   SoundCloud on vbulletin 4.1.1 (https://vborg.vbsupport.ru/showthread.php?t=257540)

Wird0 01-21-2011 05:57 PM

SoundCloud on vbulletin 4.1.1
 
Hi,

I wanted to make it possible to embed a soundcloud track on vbulletin 4.1.1. I found a link on the soundcloud blog that provides us whit a bbcode. Seems that BB code is not working correct. Is there someone that knows how we can fix this? The link to the blog is http://blog.soundcloud.com/2009/07/2...cloud-bb-code/

BirdOPrey5 01-22-2011 01:48 AM

Their code works fine for me... that warning message you get after submitting it isn't an error it's a warning, and you can safely hit "continue" and it will save and work as normal.

Wird0 01-22-2011 09:37 PM

Wierd, i did everything i needed to do and its still not showing the correct soundcloud track. Its showing a small soundcloud box with a lot of text be need it. I am wondering what is going wrong.

BirdOPrey5 01-22-2011 09:46 PM

What is the exact bbcode you are using in your post?

OldSchoolDSL 01-24-2011 05:37 AM

This was a good find

Installed and working

4.1.1

AURFSCAN 03-02-2011 02:58 AM

Quote:

Originally Posted by Wird0 (Post 2153112)
Wierd, i did everything i needed to do and its still not showing the correct soundcloud track. Its showing a small soundcloud box with a lot of text be need it. I am wondering what is going wrong.


Untick 'automatically parse links in text' :)


also modded the replacement code to seperate the link a bit and open it in a new tab


Code:


<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb" type="application/x-shockwave-flash" width="100%"></embed></object><br /><br /> <a href="{param}" target="_blank">{param}</a>


StilgarSinople 09-28-2011 12:17 PM

this is also not working for me.

This is the code I used :
Code:

<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb" type="application/x-shockwave-flash" width="100%"></embed></object> <a href="{param}">{param}</a>

Cobro 10-20-2011 11:20 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=2251666#post2251666" target="_blank">https://vborg.vbsupport.ru/showt...66#post2251666</a>

this one works for me give it a try

mgcom 10-22-2011 05:19 PM

need this badly but not working on 4.1.5

The tag appears when link is clicked AND the soundcloud player appears but when you click play - nothing happens

pete_brady 04-18-2012 10:11 PM

bump

this works for me for individual tracks:
BB Code Tag: sc

Replacement:
PHP Code:

<object height="81" width="100%">
<
param name="movie" value="http://player.soundcloud.com/player.swf?url={param}"></param>
<
param name="allowscriptaccess" value="always"></param>
<
param name="wmode" value="transparent"></param>
<
embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url={param}" type="application/x-shockwave-flash" width="100%" wmode="transparent"></embed></object

example:
PHP Code:

[sc]http://soundcloud.com/ooal/come-wanader-with-me[/sc] 

--------------- Added [DATE]1334790764[/DATE] at [TIME]1334790764[/TIME] ---------------

and for sets / playlists:

BB Code: scpl

Replacement:
PHP Code:

<object height="360" width="100%">
<
param name="movie" value="http://player.soundcloud.com/player.swf?url={param}&secret_url=false"></param
<
param name="allowscriptaccess" value="always"></param
<
embed allowscriptaccess="always" height="360" src="http://player.soundcloud.com/player.swf?url={param}&secret_url=false" type="application/x-shockwave-flash" width="100%"></embed>
 </
object

example:
PHP Code:

[scpl]http://soundcloud.com/ooal/sets/hidden-highways-hidden-1/[/scpl] 

demo: http://thumped.com/bbs/showthread.ph...ndcloud-embeds


All times are GMT. The time now is 12:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01095 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete