Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SoundCloud BBCode Details »»
SoundCloud BBCode
Version: 1.00, by LouiseWilson LouiseWilson is offline
Developer Last Online: Apr 2018 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.2.x Rating:
Released: 06-06-2012 Last Update: Never Installs: 27
Re-useable Code  
No support by the author.

SoundCloud BBCode

With the help of pete_brady

I have got this working and I'm posting the FULL how to regards the options etc

Step 1
Login To AdminCP
Go To Custom BB Codes > Add New BB Code

Step 2
Now Add The Information Below

Title sc
BB Code Tag Name sc
Replacement
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
Code:
 [sc]http://soundcloud.com/dj-anthony-ellwood/djantek-funkypumpinghouse-june[/sc]
Description Anything you wish
Use {option} No
Button Image (Optional) yourforumroot.tld/images/misc/soundcloud.png
Remove Tag If Empty No
Disable BB Code Within This BB Code No
Disable Smilies Within This BB Code Yes
Disable Word Wrapping Within This BB Code Yes
Disable Automatic Link Parsing Within This BB Code Yes

If you get the following Message
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes

Just Click Continue

Screenshots

File Type: png cs.png (16.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-07-2012, 07:52 PM
pete_brady pete_brady is offline
 
Join Date: Mar 2002
Location: Dublin
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah, excellent

you can do a soundcloud playlist too with scpl or whatever:

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/fresh_air/sets/small-hours-autumn-leaves[/scpl] 
Reply With Quote
  #3  
Old 06-18-2012, 06:50 AM
Essam Essam is offline
 
Join Date: Aug 2003
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great !
is there mini version of the player ?
and is there a way to autoplay the sound when you visit the page ?
Reply With Quote
  #4  
Old 06-18-2012, 02:43 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can change the height and width of it by altering the following (see the text in red)
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>
As far as i know there is no way to auto start on page view
Reply With Quote
  #5  
Old 07-23-2012, 07:27 AM
Onion_Bag_Dave Onion_Bag_Dave is offline
 
Join Date: Aug 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is driving me crazy, I've followed the steps about 8297802918309283 times, and it just does not work for me. Any ideas?

This is what I'm getting...

http://www.musicgaff.com/forum/showt...=2232#post2232

It shows up, but it does not play.

:S
Reply With Quote
  #6  
Old 07-23-2012, 10:32 AM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post a screenshot of the admincp where you have entered your bbcode and also the soundcloud URL
Reply With Quote
  #7  
Old 07-23-2012, 11:55 AM
Onion_Bag_Dave Onion_Bag_Dave is offline
 
Join Date: Aug 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



This is the particular URL I was testing with http://soundcloud.com/koan-sound/funk-blaster But i have tested with various links.

I test the BB code and it works perfectly fine, but on my site, it doesn't work.

There is one thing though that AME is installed. This could have an effect I suppose...

Thanks for your help!
Reply With Quote
  #8  
Old 07-23-2012, 11:59 AM
Onion_Bag_Dave Onion_Bag_Dave is offline
 
Join Date: Aug 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hang on. So odd, I copy and pasted the BB Code and URL that was in the testing part (of bb code manager)

And it works perfectly.

Right okay, I've found out why. Anybody else who gets a problem at first. If you highlight the whole link and ''unlink the URL'' it works fine.

Hmm..

Sorry.
Reply With Quote
  #9  
Old 07-23-2012, 12:02 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you have the settings in the AdminCP BBCode to

Disable Automatic Link Parsing Within This BB Code YES

I also have AME installed and it does not affect the bbcode
Reply With Quote
  #10  
Old 07-23-2012, 12:10 PM
Onion_Bag_Dave Onion_Bag_Dave is offline
 
Join Date: Aug 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LouiseWilson View Post
Make sure you have the settings in the AdminCP BBCode to

Disable Automatic Link Parsing Within This BB Code YES

I also have AME installed and it does not affect the bbcode
Hello.

Is it right that you have to ''unlink urls'' for this bb code to work? Because I have Disable Auto link par set as yes.

It works aslong as the URLS are unlinked.

Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04528 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete