Back to vBulletin 4.x Add-ons

BBcode: Play Zippyshare Full Link
Mod Version: 1.00, by huevncom

vB Version: 4.1.8 Rating: (0 vote - 0 average) Installs: 3
Released: 07 Dec 2011 Last Update: Never Downloads: 42
Not Supported  

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)>&& 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]

http://huevn.com/f95/nonstop-floor-h-p-p-d-naut55-dj-chapter-remix-2433.html
Code:
User: demo
Pass: 123321

Download

File Type: %1$s jwhplayer.zip (55.6 KB, 53 downloads)

Screenshots

Click image for larger version
Name:	playerbg.jpg
Views:	78
Size:	3.7 KB
ID:	134892  

Similar Mods

BB Code Enhancements ZippyShare.com shared music BBCode (Embed MP3 files in your forum!) vBulletin 3.8 Add-ons
BB Code Enhancements ZippyShare.com shared music BBCode (Embed mp3 files in you forum!) vBulletin 4.x Add-ons
Profile Enhancements Minitube in Profile - Full URL - Auto Play - (right side block) vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024