PDA

View Full Version : BB Code Enhancements - ZippyShare.com shared music BBCode (Embed mp3 files in you forum!)


BirdOPrey5
07-19-2010, 10:00 PM
ZippyShare.com (http://www.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:
file#

Live Demo: here. (http://www.juot.net/forums/showthread.php?t=48056)

Screen Shot:
https://vborg.vbsupport.ru/attachment.php?attachmentid=119851&stc=1&d=1279665916

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:

<script type="text/javascript">var zippywww="www{option}";var zippyfile="{param}";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=680;var zippyauto=false;var zippyvol=80;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>


Example: 4972441
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://vborg.vbsupport.ru/attachment.php?attachmentid=119848&stc=1&d=1279662586
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 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 tested with 4.0.4 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.

Xencored
07-20-2010, 09:18 PM
Nice idea! tags for Ron

BirdOPrey5
07-20-2010, 09:48 PM
Had to update this to use the option because not all files are uploaded to the same server.
Sorry, should work now.

BirdOPrey5
07-28-2010, 12:31 AM
If you want the file to auto-play when the page loads use the following replacement instead:


<script type="text/javascript">var zippywww="www{option}";var zippyfile="{param}";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=680;var zippyauto=true;var zippyvol=80;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>


I suggest making a new bbcode called something like [zippyauto] so only people who need it to auto-start will use it. If every zippy embedded file auto-played on a page at once it would be bad,

ZEHH
07-28-2010, 08:21 AM
Funcionou comigo perfeitamente !!

10/10

thecelticway
08-21-2010, 08:37 PM
thanks~~~~~ installed and working great......:up:

dallibose
08-29-2011, 12:47 AM
I am trying to embed this link http://www64.zippyshare.com/v/7291996/file.html

as per the guide I have this 7291996

but it's not working..running on 4.0.3

Also when I enter it this way http://www64.zippyshare.com/v/7291996/file.html ...I get the player window but cannot play..

anything that might be causing this??

BirdOPrey5
08-29-2011, 09:40 AM
OK well your second test, with the full URL, would never ever work so I'm not surprised it didn't work for you.

As for your exact code: 7291996

That should work. I copied it exactly and it works fine on both my 3.8.7 forum and my VB 4.1.5 forum, proof here: http://www.qapla.com/mods/showthread.php/38-Zippy-Share-BBCode-Testing

So if it's not working for you I must conclude there was a mistake was made when it was installed. Do ANY zippy mp3's work for you or is it just this particular link you are having a problem with?

Did you remember to set Use Option to YES in the BBCode setup? That sounds like the most likely problem.

If you're sure that is set to yes please copy and paste here everything you have in the "Replacement" box of the BBCode. Please put it inside the [code] bbcode here so I can read it easily.

dallibose
08-29-2011, 07:14 PM
Did you remember to set Use Option to YES in the BBCode setup? That sounds like the most likely problem.I hadn't clicked on the Yes option...my bad..works like a charm now...thank you so much for your help....great!!:up:

BirdOPrey5
08-29-2011, 07:53 PM
I hadn't clicked on the Yes option...my bad..works like a charm now...thank you so much for your help....great!!:up:

Please mark this mod as installed. Thank You.

Natralix
09-01-2011, 05:13 AM
Hello, i have a question. What i must change but work this? I paste only http://www64.zippyshare.com/v/7291996/file.html not 64 (7291996)

Exapmple http://www64.zippyshare.com/v/7291996/file.html and not 3152613

thank you for help

BirdOPrey5
09-01-2011, 10:47 AM
Hello, i have a question. What i must change but work this? I paste only http://www64.zippyshare.com/v/7291996/file.html not 64 (7291996)

Exapmple http://www64.zippyshare.com/v/7291996/file.html and not 3152613

thank you for help

If the zippy link is: http://www64.zippyshare.com/v/7291996/file.htm

Then you would use: 7291996 in your posts.

You would NEVER EVER use http://www64.zippyshare.com/v/7291996/file.html - that would NEVER work.

If 7291996 isn't working in your posts then you made a mistake when adding the new BBCode to vBulletin. Most likely you did not set "Use Option" to "YES."