vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=246975

ZippyShare.com shared music BBCode (Embed MP3 files in your forum!)
by BirdOPrey5
20 Jul 2010 21:57

3 Attachment(s)
ZippyShare.com is a free file host that lets you upload any type of file for free to share with the internet community, also for free. If you upload special types of files, such as music or video, it will even allow you to embed a player for your file. This BB Code specifically deals with Music (.mp3) files.

Go to www.zippyshare.com and upload an mp3 file. Then link to it using the following bbcode to embed a player right in your forum page:
[zippy="www#"]file#[/zippy]

Live Demo: here.

Screen Shot:
https://www.vbulletin.org/forum/external/2010/07/33.jpg

When you submit a file you need 2 pieces of information, the number following the "www" as the option and the file number which goes between the tags. In my example the file was uploaded to www21 so "21" is the tag option. 4972441 is the file number.

Add a new BBCode

Title: ZippyShare Music
BB Code Tag Name: zippy
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [zippy="21"]4972441[/zippy]
Description: This code embeds a ZippyShare.com mp3 music file. The example is a reading of Edgar Allen Poe's "The Raven."
Use Option: Yes
Button Image: (optional) https://www.vbulletin.org/forum/external/2010/07/33.jpg
Remove Tag If Empty: Yes
All Disable Options: Yes

Once you upload your music file at zippyshare.com copy the file number and the number after the "www". These numbers are in the link.
Example: If your link is: http://www21.zippyshare.com/v/4972441/file.html
Your file number is: 4972441
And your www option is: 21
Put the file number between the [zippy="www#"] [/zippy] tags.

According to the ZippyShare.com terms of use:
Terms of Use: Function for non-comercial use only.

NOTE: After submitting a post with this bbcode you may need to reload (refresh) the page to see the embedded player.

Files uploaded to ZippyShare.com remain active for at least 30 days after the latest activity (download) of the file, so it's not a permanent solution but it will still work well staying alive while any thread is active and then for 30 additional days.

This was made for vB 3.8 but should work on all current versions.

Please mark as installed if you use this. :)

Download the .txt file for a copy of the Install Instructions.

BirdOPrey5 20 Jul 2010 22:47

Updated to use the option.

john102774 27 Jul 2010 23:01

Is there an autoplay feature?

BirdOPrey5 28 Jul 2010 01:24

Quote:

Originally Posted by john102774 (Post 2075529)
Is there an autoplay feature?

Yes, to auto-start use the following replacement code instead:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But it may get very annoying for users.

Unfortunately you can't choose auto play or not within the bb code. I'd suggest making a second copy of the BB Code, maybe calling it [zippyauto] or such so only people who need to autostart something use it... if everyone auto-starts it would be bad.

john102774 28 Jul 2010 15:15

Nice! *Installed.

ozgurer34 08 Feb 2013 15:08

thanks

freak46 16 Jul 2013 23:44

hmm awesome works fine for my forum thanks man


All times are GMT. The time now is 16:31.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.