huevncom
12-06-2011, 11:00 PM
Step 1: create a file "get.php" with the following contents:
<?
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:
<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&logo=http://yourdomain.com/images/player.png&menu=false&repeat=always&stretching=non e&autostart=true&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&logo=http://yourdomain.com/images/player.png&menu=false&repeat=always&stretching=non e&autostart=true&image=http://yourdomain.com/images/playerbg.jpg" height="93" width="300"></object>
Example: link
Description: This code embeds a ZippyShare.com mp3 file
Use Option: Yes
Button Image (Optional): http://huevn.com/images/editor/zs.gif
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: http://www7.zippyshare.com/v/5822548/file.html
Demo: (http://huevn.com/f95/nonstop-floor-h-p-p-d-naut55-dj-chapter-remix-2433.html)
User: demo
Pass: 123321
<?
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:
<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&logo=http://yourdomain.com/images/player.png&menu=false&repeat=always&stretching=non e&autostart=true&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&logo=http://yourdomain.com/images/player.png&menu=false&repeat=always&stretching=non e&autostart=true&image=http://yourdomain.com/images/playerbg.jpg" height="93" width="300"></object>
Example: link
Description: This code embeds a ZippyShare.com mp3 file
Use Option: Yes
Button Image (Optional): http://huevn.com/images/editor/zs.gif
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: http://www7.zippyshare.com/v/5822548/file.html
Demo: (http://huevn.com/f95/nonstop-floor-h-p-p-d-naut55-dj-chapter-remix-2433.html)
User: demo
Pass: 123321