We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials
More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsCMS TutorialsphpBBOther

How to Add Soundcloud BBCode

Ubuntu VPS
USA VPS
Windows Cloud Server
Germany Cloud Servers
Brazil VPS
cPanel KVM
KVM VPS
Linux Cloud Server
Linux KVM Hosting
OpenVZ VPS

Adding SoundCloud bbcode in phpBB environment is quite easy and useful feature when it is needed to add audio content directly from SoundCloud service. To add such feature, you will need to create new bb code in phpBB admin panel. After adding new bb code, you will be able to use it when writing new post or replying to existing one.

Follow These Steps to Add a Soundcloud BBCode

Start with logging in to phpBB admin panel by going to the homepage and clicking on “Login” button in the right side corner.

Login to phpBB

It will open login form where it will ask to enter username and password. Since we are going to admin panel, we can use admin login details.

Login to phpBB with admin

Once logged in, click on “Administration Control Panel” which is located at the bottom of the page. It will open a new window with login form to access administration control panel.

Admin login form

In the next step navigate to “POSTING” and find “BBCodes” under “MESSAGES” section.

Posting settings

<>In the BBCodes page we will need to create a new bbcode specifically for soundcloud. To do this, click on “Add a new BBCode” in the right side.

Add a new BBCode

It will open a new page with several fields to fill with required code or information. The first on is “BBCode usage” where we can define how it should be used. The most simplest way is to use “[soundcloud]{URL}[/soundcloud]”.

BBCode Usage

Next one is “HTML replacement”. It’s the field for defining default HTML replacement which saves HTML code of entire soundcloud video player. In this case, we can use the following code.

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

BBCode HTML replacement

Finally, we can add some text which will be displayed after hovering the mouse pointed over BBCode button. This should be done by entering the text in the “Help line” field. Once all fields are filled with required information, we may finish creating new bbcode by clicking “Submit” button.

Submit BBCode

Now it’s time to check how it will be working by writing the post. Simply create a new post or reply to existing one. In the main menu bar we should find a button named “soundcloud” which will add soundcloud tags in the text field.

SoundCloud tag

To put audio content from SoundCloud website, simply enter the full link to the page where the audio player is displayed. By using this feature, we are free to add any audio tracks from Soundcloud website and stream them in phpBB posts.

Germany Cloud Servers
OpenVZ VPS
Ubuntu VPS
Linux KVM Hosting
Brazil VPS
KVM VPS
USA VPS
Windows Cloud Server
Linux Cloud Server
cPanel KVM
Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Other (199)

Popular Keywords