Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
BBcode: Play Zippyshare Full Link Details »»
BBcode: Play Zippyshare Full Link
Version: 1.00, by huevncom huevncom is offline
Developer Last Online: Aug 2016 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.1.8 Rating:
Released: 12-06-2011 Last Update: Never Installs: 3
 
No support by the author.

Step 1: create a file "get.php" with the following contents:
PHP Code:
<?
function GetBetween($content,$start,$end){
$r = explode($start, $content);
if (isset($r[1])){
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
function getmicrotime($e = 0)
{
list($u, $s) = explode(' ',microtime());
return bcadd($u, $s, $e);
}
$time = getmicrotime();
$link = $_REQUEST['id'];
if(strlen($link)>15){
$wwwid = GetBetween($link,'http://','.zippyshare');
$splitlink = explode('/', $link);
$musicid = $splitlink[4];

$dlink = "http://$wwwid.zippyshare.com/downloadMusic?key=$musicid&time=$time";
header( "Location: $dlink" );
}
$wwwid = $_GET['wid'];
$musicid = $_GET['fid'];

if(strlen($wwwid)>1 && strlen($musicid)>1){
$dlink = "http://$wwwid.zippyshare.com/downloadMusic?key=$musicid&time=$time";
header( "Location: $dlink" );
}
else {echo "http://www.huevn.com";}
?>
step 2: upload "get.php" to the root forum!

step 3: login Admincp -> Custom BB Codes -> Add New BB Code:

Title: ZippyShare
BB Code Tag Name: ZippyShare
Replacement:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="single1" name="single1" height="93" width="300">
<param name="movie" value="http://yourdomain.com/jwhplayer.swf">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="wmode" value="transparent">
<param name="flashvars" value="file=http://yourdomain.com/get.php?id={param}.flv&amp;logo=http://yourdomain.com/images/player.png&amp;menu=false&amp;repeat=always&amp;stretching=none&amp;autostart=true&amp;image=http://yourdomain.com/images/playerbg.jpg">
<embed type="application/x-shockwave-flash" id="single2" name="single2" src="http://yourdomain.com/jwhplayer.swf" bgcolor="undefined" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="file=http://yourdomain.com/get.php?id={param}.flv&amp;logo=http://yourdomain.com/images/player.png&amp;menu=false&amp;repeat=always&amp;stretching=none&amp;autostart=true&amp;image=http://yourdomain.com/images/playerbg.jpg" height="93" width="300"></object>
Example: [Zippy]link[/Zippy]
Description: This code embeds a ZippyShare.com mp3 file
Use Option: Yes
Button Image (Optional):

Remove Tag If Empty: Yes
Disable BB Code Within This BB Code : Yes
Disable Smilies Within This BB Code : Yes
Disable Word Wrapping Within This BB Code : Yes
Disable Automatic Link Parsing Within This BB Code: Yes

*** Change yourdomain.com to your domain name!


Example: [Zippy]http://www7.zippyshare.com/v/5822548/file.html[/Zippy]

Demo:
Code:
User: demo
Pass: 123321

Download Now

File Type: zip jwhplayer.zip (55.6 KB, 51 views)

Screenshots

File Type: jpg playerbg.jpg (3.7 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 12-07-2011, 06:31 PM
dertoon dertoon is offline
 
Join Date: Sep 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thaks a lot
Reply With Quote
  #3  
Old 12-11-2011, 07:48 AM
desperado01 desperado01 is offline
 
Join Date: Nov 2011
Location: t?rkiye
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

?alışmadı
Reply With Quote
Reply

Thread Tools

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 12:23 AM.


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.04035 seconds
  • Memory Usage 2,231KB
  • Queries Executed 17 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete