Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
MixCloud BBCode Details »»
MixCloud 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: 9
Re-useable Code  
No support by the author.

MixCloud 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 mixcloud
BB Code Tag Name mixcloud
Replacement
Code:
<div> <object width="300" height="300"> <param name="movie" value="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf"></param><param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <param name="flashVars" value="feed={param}?for_player=1"></param> <embed src="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" flashvars="feed={param}?for_player=1" width="300" height="300"></embed></object> <div style="clear:both; height:3px;"></div> <p style="display:block; font-size:12px; font-family:Helvetica, Arial, sans-serif; margin:0; padding: 3px 4px 3px 4px; color:#999;"> <a href="{param}?utm_source=widget&amp;utm_medium=web&amp;utm_campaign=base_links&amp;utm_term=cloudcast_link" style="color:#02a0c7; font-weight:bold;">Click here</a> to see it on Mixcloud</p> <div style="clear:both; height:3px;"></div> </div>
Example [mixcloud]http://www.mixcloud.com/louisewil/djwilson-live-djnetworx-11512/[/mixcloud]
Description Anything you wish
Use {option} No
Button Image (Optional) yourforumroot.tld/images/misc/mixcloud.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 mc.png (177.0 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, 02:59 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work for SOUND cloud stuff too?

Or are they two separate entities?
Reply With Quote
  #3  
Old 06-07-2012, 03:09 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

separate try this one

https://vborg.vbsupport.ru/showthread.php?t=284106
Reply With Quote
  #4  
Old 06-08-2012, 03:15 AM
Preech Preech is offline
 
Join Date: Aug 2002
Location: Fort Campbell
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if it's a playlist. Will it work.
Reply With Quote
  #5  
Old 06-08-2012, 10:36 AM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Replacement Code Updated.
Reply With Quote
  #7  
Old 03-31-2015, 08:49 AM
booble booble is offline
 
Join Date: Apr 2012
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work?
Reply With Quote
  #8  
Old 12-27-2018, 05:04 PM
TheBang TheBang is offline
 
Join Date: Aug 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've whipped up a BB Code using their modern HTML5 embedding method (rather than the Flash-based one in this thread). This has been tested on both vb3 and vb4.

Title: Mixcloud
BB Code Tag Name: mixcloud

Replacement:
Code:
<iframe width="400" height="120" src="https://www.mixcloud.com/widget/iframe/?feed={param}&amp;hide_cover=1&amp;light=1" frameborder="0"></iframe>
Example: [mixcloud]https://www.mixcloud.com/spartacus/party-time/[/mixcloud]
Description: Embeds a Mixcloud player widget. Use the full Mixcloud URL in the tag. For example, https://www.mixcloud.com/spartacus/party-time/

Use {option}: No
Remove Tag if Empty: Yes (and everything below this option set to Yes also).


You can change the size of the player by adjusting the iframe's width and/or height. If you want a dark-themed player, you can change "light=1" to "light=0".
Reply With Quote
Reply

Thread Tools

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 06:02 AM.


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.04626 seconds
  • Memory Usage 2,282KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete