Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ZippyShare.com shared music BBCode (Embed mp3 files in you forum!) Details »»
ZippyShare.com shared music BBCode (Embed mp3 files in you forum!)
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.x Rating:
Released: 07-19-2010 Last Update: 08-20-2010 Installs: 32
Supported
Re-useable Code Translations  

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:
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)
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.

Download Now

File Type: txt zippyshare_bbcode.txt (2.7 KB, 90 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-20-2010, 09:18 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea! tags for Ron
Reply With Quote
  #3  
Old 07-20-2010, 09:48 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had to update this to use the option because not all files are uploaded to the same server.
Sorry, should work now.
Reply With Quote
  #4  
Old 07-28-2010, 12:31 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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,
Reply With Quote
  #5  
Old 07-28-2010, 08:21 AM
ZEHH's Avatar
ZEHH ZEHH is offline
 
Join Date: Oct 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funcionou comigo perfeitamente !!

10/10
Reply With Quote
  #6  
Old 08-21-2010, 08:37 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks~~~~~ installed and working great......:up:
Reply With Quote
  #7  
Old 08-29-2011, 12:47 AM
dallibose dallibose is offline
 
Join Date: Apr 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #8  
Old 08-29-2011, 09:40 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 08-29-2011, 07:14 PM
dallibose dallibose is offline
 
Join Date: Apr 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
Благодарность от:
BirdOPrey5
  #10  
Old 08-29-2011, 07:53 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dallibose View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04419 seconds
  • Memory Usage 2,331KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete