vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - ZippyShare.com shared music BBCode (Embed mp3 files in you forum!) (https://vborg.vbsupport.ru/showthread.php?t=246977)

BirdOPrey5 07-19-2010 10:00 PM

ZippyShare.com shared music BBCode (Embed mp3 files in you forum!)
 
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:
https://vborg.vbsupport.ru/attachmen...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:
Code:

<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: [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://vborg.vbsupport.ru/attachmen...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 [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 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:

Code:

<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 [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 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: [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 08-29-2011 07:14 PM

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 08-29-2011 07:53 PM

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

thank you for help

BirdOPrey5 09-01-2011 10:47 AM

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 08:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03139 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete