MyBB tutorial to create a MyCode for SoundCloud links

You have to go through the following steps:

  • Go into the ACP of your forum
  • Click on configuration
  • Click on the left side on MyCode
  • Click on Add a new MyCode
  • For example you can use “SoundCloud” for the title and “Integrate SoundCloud in postings” for the description

  • By Regular expression you have to fill in:

Code:

\[soundcloud\](.*?)\[/soundcloud\]
  • And by substitution you have to fill in:

Code:

<iframe width="100%" height="140" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=$1&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true"></iframe>

 

  • At the point Activation you have to choose Yes
  • By the ID you have to fill in the next ID (for example 1, 2, 3, …)
  • Then you have to press the button Save

 

Leave a Reply

Your email address will not be published. Required fields are marked *