vBulletin Mods

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

ZippyShare.com shared music BBCode (Embed mp3 files in you forum!)
by BirdOPrey5
20 Jul 2010 22:16

1 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:


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)
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 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 20 Jul 2010 22:18

Nice idea! tags for Ron

BirdOPrey5 20 Jul 2010 22:48

Had to update this to use the option because not all files are uploaded to the same server.
Sorry, should work now.

BirdOPrey5 28 Jul 2010 01:31

If you want the file to auto-play when the page loads use the following replacement instead:


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

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 28 Jul 2010 09:21

Funcionou comigo perfeitamente !!

10/10

thecelticway 21 Aug 2010 21:37

thanks~~~~~ installed and working great......:up:

dallibose 29 Aug 2011 01:47

I am trying to embed this link http://www64.zippyshare.com/v/7291996/file.html

as per the guide I have this [zippy="64"]7291996[/zippy]

but it's not working..running on 4.0.3

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

anything that might be causing this??

BirdOPrey5 29 Aug 2011 10:40

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: [zippy="64"]7291996[/zippy]

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...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 29 Aug 2011 20:14

Quote:

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 29 Aug 2011 20:53

Quote:

Originally Posted by dallibose (Post 2239563)
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 01 Sep 2011 06:13

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 [zippy]http://www64.zippyshare.com/v/7291996/file.html[/zippy] and not [ZIPPY=19]3152613[/ZIPPY]

thank you for help

BirdOPrey5 01 Sep 2011 11:47

Quote:

Originally Posted by Natralix (Post 2240715)
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 [zippy]http://www64.zippyshare.com/v/7291996/file.html[/zippy] and not [ZIPPY=19]3152613[/ZIPPY]

thank you for help

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

Then you would use: [zippy="64"]7291996[/zippy] in your posts.

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

If [zippy="64"]7291996[/zippy] 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."


All times are GMT. The time now is 04:30.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.