View Full Version : Rapidshare Upload
HaYLaZ
02-15-2006, 10:00 PM
You can simply upload your files to rapid while opening newthread,posting new thread etc
İNSTALLATİON
upload rapid.php to forums root
upload rapid.gif to images folder
make template changes for each template below:
newreply, newthread, editpost, pm_newpm
find:
<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
$disablesmiliesoption
</div>
</fieldset>
add under;
<!--Rapidshare-->
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapid.php','rapid','600','15 0','center','front');">
<img src="images/rapid.gif" border="0"></a>
<!--Rapidshare finished-->
thats all enjoy:D
not: I added rapid.psd (button) in zip file you can edit what you want:D or you can make a new one:D
Snake
02-16-2006, 08:54 AM
Thank you, I'm lovin' it! :)
jarod1981?
02-16-2006, 12:19 PM
Hi HaYLaZ
Very Nice, Congratulations :up:
Can you create a simil modifications also for Image Shack please?
I wait your answer...thanks :rolleyes:
HaYLaZ
02-16-2006, 01:45 PM
yes it can be:D
Corriewf
02-16-2006, 01:49 PM
Hi HaYLaZ
Very Nice, Congratulations :up:
Can you create a simil modifications also for Image Shack please?
I wait your answer...thanks :rolleyes:
One has already been made.... :rolleyes:
sensimilla
02-16-2006, 01:51 PM
how does post look like after upload? or I just get the link to rapidshare file ? ..
The Chief
02-16-2006, 01:57 PM
very nice hack, good job!!
XanTrax
02-16-2006, 03:04 PM
Very nice concept. Thanks for this.
HaYLaZ
02-16-2006, 03:06 PM
when you uploaded any file you will see your file's link in window than copy and paste it to your message simply
Barakat
02-16-2006, 11:56 PM
just great i need that kind of uploading files its better than to upload files by admin , and it will gives the users to share more files to thier posts .
thanks again
VBUsers
02-17-2006, 12:12 AM
is there a way to have both ? your imageshack and rapidshare? one for images and one for big uploads?
VBUsers
02-17-2006, 12:29 AM
good stuff and thanks for the hacks
HaYLaZ
02-17-2006, 05:40 AM
is there a way to have both ? your imageshack and rapidshare? one for images and one for big uploads?
ı am not sure but ı think rapidshare gives 30mb limit per file
vietfancy
02-17-2006, 06:49 PM
wow! i should install this
bubba01
02-18-2006, 09:52 PM
install :)
Mudvayne
02-21-2006, 12:04 PM
hehe.. Again I change the modification a bit.. I post that here.. Hope someone might be like it..
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<fieldset class="fieldset"><legend>Upload Your Files Here</legend> <div style="padding:$stylevar[formspacer]px">
<a href="javascript:NewWindow('rapid.php','rapid','600','15 0','center','front');">
<img src="images/rapid.gif" border="0"></a> <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
File</font></b></div></fieldset>
vietfancy
02-22-2006, 06:45 PM
wow... what about yousendit?
barny11
02-22-2006, 07:06 PM
well i must be doing something wrong cos it wont work for me ???
done all the template changes and uploaded the rapid.php & gif file but nothing showing in new post options ??
any ideas ?
do i need to enable anything in admincp maybe bearing in mind that we have a new install and most things are still at default settings.
thanks ;)
EDIT - forget the above problem solved :)
JsnakeJ
02-22-2006, 07:56 PM
Is this in English or German?
VBUsers
02-23-2006, 12:05 AM
hehe.. Again I change the modification a bit.. I post that here.. Hope someone might be like it..
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<fieldset class="fieldset"><legend>Upload Your Files Here</legend> <div style="padding:$stylevar[formspacer]px">
<a href="javascript:NewWindow('rapid.php','rapid','600','15 0','center','front');">
<img src="images/rapid.gif" border="0"></a> <b>
<font face="Verdana" size="2" color="#FF0000">Click on the Image for Upload Your
File</font></b></div></fieldset>
what did you do different? screen shots would be nice.
Mudvayne
02-23-2006, 03:43 AM
what did you do different? screen shots would be nice.
At ur service sir.. Screenshot added.. Chk the attachment :D..
VBUsers
02-23-2006, 04:09 AM
At ur service sir.. Screenshot added.. Chk the attachment :D..
good stuff i will use it and thank you for the snap shots
Cyberfreak
03-09-2006, 01:22 PM
Hell yes.. this one was a good idea, and i liked it so much that i have installed it.. :)
So thanks m8.. :)
But.. i din`t like everything, so i re-made it (hope it is okey?!) hehe..
Shuvo did one great job with this, but i have used his code and made some diffrence..
Here goes..
Add some phrases:
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_header
Text: Rapidshare Upload
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_upload_extensions
Text: Upload your files to Rapidshare.
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_explain_header
Text: Little info about uploading
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_explain_text
Text: When file is done, you see a msg "Scroll down to find your download link".
<br>
ex.<br>
<font color="green">Your Download-Link</font>: http://rapidshare.de/files/15073415/vbpager.zip.html<br>
<font color="red">Your Delete-Link</font>: http://rapidshare.de/files/15073415/vbpager.zip?killcode=2442646880<br>
Then just copy&paste your link into your thread.
in style : newreply, newthread, editpost
Search for " $attachmentoption "
Under add:
<!-- Rapidshare Upload -->
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[rapidshare_upload_extensions]</div>
</div>
<div>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapidshare.php','rapid','600 ','260','center','front');"><img src="$stylevar[imgdir_button]/rapidshare_upload.gif" alt="$vbphrase[rapidshare_header]" border="0" /></a>
</div>
</div>
</fieldset>
<!-- / Rapidshare Upload -->
And in pm_newpm
Search for
$disablesmiliesoption
</div>
</fieldset>
add this text below
<!-- Rapidshare Upload -->
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[rapidshare_upload_extensions]</div>
</div>
<div>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapidshare.php','rapid','600 ','260','center','front');"><img src="$stylevar[imgdir_button]/rapidshare_upload.gif" alt="$vbphrase[rapidshare_header]" border="0" /></a>
</div>
</div>
</fieldset>
<!-- / Rapidshare Upload -->
MAKE A NEW STYLE
CALL IT "rapidshare"
COPY & PASTE THIS TEXT
<head>
$headinclude
<title>$vbphrase[rapidshare_header] - $vboptions[bbtitle]</title>
</head>
<body style="margin:0px" onload="self.focus()">
<script>if (self != top) { top.location.replace(window.location.href) }</script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span>
$vbphrase[rapidshare_header]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="padding:$stylevar[formspacer]px">
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td align="$stylevar[left]">
<!-- <iframe src="http://dl16.rapidshare.de/en/progress.html?uploadid=146476730136187882" width="600" height="85" frameborder="0" marginwidth="0" marginheight="0" scrolling="NO"></iframe>-->
<form method="post" action="http://ul16.rapidshare.de/cgi-bin/upload.cgi?rsuploadid=146476730136187882" enctype="multipart/form-data" onSubmit="this.u.value='Please wait ...';this.u.disabled=true">
<input type="hidden" name="english" value="1">
<input type="file" class="bginput" size="48" name="filecontent">
<input type="submit" class="button" name="u" value="$vbphrase[upload]" style="width:70px">
</form>
</td>
</tr>
</table>
</fieldset>
<br>
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_explain_header]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td align="$stylevar[left]">
$vbphrase[rapidshare_explain_text]
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="button" class="button" value="$vbphrase[close_this_window]" onclick="window.close();" />
</div>
</td>
</tr>
</table>
</form>
</body>
</html>
Now create a new file, and call it rapidshare.php copy all this into that file, and upload that file to your forum root directory.
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'rapidshare'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'rapidshare',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Rapidshare Upload';
$navbits = construct_navbits($navbits);
//eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('rapidshare') . '");');
?>
And you are all done.. :D
Diffrence is that this one uses the board forum style, and uses ohrases. Style is diffrent and placement.. other than that, the hack or mod is just the same as yours m8.. :)
No screen shots needed, u just love it.. ;)
Sorry if you din`t like it, but hey.. i thought it was okey to share my ideas on it as well.. :)
Take care now..
Cheers.
Cyberfreak
03-09-2006, 01:27 PM
Oh.. btw.. the image if you would like to use that, u must eiahter chance the file name your self, or call it rapidshare_upload.gif
Save it under your images/buttons folder.. :)
Cheers
what does this do exactly?
Mudvayne
03-10-2006, 01:09 PM
cyberfreak.. seems very nice.. screenshot plz :)..
Cyberfreak
03-10-2006, 01:26 PM
Sorry m8.. i forgot... :(
But here you have two images..
It`s just like your code, only that i have made it so it follows the style un your board. :)
Cheers. :)
prows
03-17-2006, 01:05 PM
Anyway we could get the Rapidshare image button to be a html generated button..just like the one im about to hit to post this message? This would speed up load times on slow connections.
gigaenvy
04-08-2006, 11:56 AM
Works for 3.0.9 thanks!!
Rickie3
04-09-2006, 05:27 AM
i do like the look of this hack,is there anyway just to make it usuable in one forum,and not in others??
Rickie3
04-09-2006, 08:18 AM
ok i went to install this,i'm running 3.5.0 and for the life of me i cant see this code in any of the templates ive got,, and i went right thru them so i take it this is not compatipal for 3.5.0 please help as i want to get this up and running
<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
$disablesmiliesoption
</div>
</fieldset>
spipo
04-09-2006, 09:32 AM
Hell yes.. this one was a good idea, and i liked it so much that i have installed it.. :)
So thanks m8.. :)
But.. i din`t like everything, so i re-made it (hope it is okey?!) hehe..
Shuvo did one great job with this, but i have used his code and made some diffrence..
Here goes..
Add some phrases:
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_header
Text: Rapidshare Upload
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_upload_extensions
Text: Upload your files to Rapidshare.
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_explain_header
Text: Little info about uploading
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_explain_text
Text: When file is done, you see a msg "Scroll down to find your download link".
<br>
ex.<br>
<font color="green">Your Download-Link</font>: http://rapidshare.de/files/15073415/vbpager.zip.html<br>
<font color="red">Your Delete-Link</font>: http://rapidshare.de/files/15073415/vbpager.zip?killcode=2442646880<br>
Then just copy&paste your link into your thread.
in style : newreply, newthread, editpost
Search for " $attachmentoption "
Under add:
<!-- Rapidshare Upload -->
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[rapidshare_upload_extensions]</div>
</div>
<div>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapidshare.php','rapid','600 ','260','center','front');"><img src="$stylevar[imgdir_button]/rapidshare_upload.gif" alt="$vbphrase[rapidshare_header]" border="0" /></a>
</div>
</div>
</fieldset>
<!-- / Rapidshare Upload -->
And in pm_newpm
Search for
$disablesmiliesoption
</div>
</fieldset>
add this text below
<!-- Rapidshare Upload -->
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[rapidshare_upload_extensions]</div>
</div>
<div>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapidshare.php','rapid','600 ','260','center','front');"><img src="$stylevar[imgdir_button]/rapidshare_upload.gif" alt="$vbphrase[rapidshare_header]" border="0" /></a>
</div>
</div>
</fieldset>
<!-- / Rapidshare Upload -->
MAKE A NEW STYLE
CALL IT "rapidshare"
COPY & PASTE THIS TEXT
<head>
$headinclude
<title>$vbphrase[rapidshare_header] - $vboptions[bbtitle]</title>
</head>
<body style="margin:0px" onload="self.focus()">
<script>if (self != top) { top.location.replace(window.location.href) }</script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span>
$vbphrase[rapidshare_header]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="padding:$stylevar[formspacer]px">
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td align="$stylevar[left]">
<!-- <iframe src="http://dl16.rapidshare.de/en/progress.html?uploadid=146476730136187882" width="600" height="85" frameborder="0" marginwidth="0" marginheight="0" scrolling="NO"></iframe>-->
<form method="post" action="http://ul16.rapidshare.de/cgi-bin/upload.cgi?rsuploadid=146476730136187882" enctype="multipart/form-data" onSubmit="this.u.value='Please wait ...';this.u.disabled=true">
<input type="hidden" name="english" value="1">
<input type="file" class="bginput" size="48" name="filecontent">
<input type="submit" class="button" name="u" value="$vbphrase[upload]" style="width:70px">
</form>
</td>
</tr>
</table>
</fieldset>
<br>
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_explain_header]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td align="$stylevar[left]">
$vbphrase[rapidshare_explain_text]
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="button" class="button" value="$vbphrase[close_this_window]" onclick="window.close();" />
</div>
</td>
</tr>
</table>
</form>
</body>
</html>
Now create a new file, and call it rapidshare.php copy all this into that file, and upload that file to your forum root directory.
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'rapidshare'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'rapidshare',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Rapidshare Upload';
$navbits = construct_navbits($navbits);
//eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('rapidshare') . '");');
?>
And you are all done.. :D
Diffrence is that this one uses the board forum style, and uses ohrases. Style is diffrent and placement.. other than that, the hack or mod is just the same as yours m8.. :)
No screen shots needed, u just love it.. ;)
Sorry if you din`t like it, but hey.. i thought it was okey to share my ideas on it as well.. :)
Take care now..
Cheers.
Thanks mate . but whare should I put all these Codes .?
thanks inadvance
Rickie3
04-11-2006, 02:07 AM
is this hack supported?
BeaLzeBuB
04-29-2006, 08:54 PM
gayet güzel
yanlız geçen günlerde rapidshare in Türkiye'den parasız erişime kapatılacağını duymuştum. premium acc zorunlu hale gelecekmiş Türkiye'deki kullanıcılar için. o zaman kadar idare eder bizi. eline sağlık
Rickie3
04-30-2006, 01:09 AM
gayet g?zel
yanlız ge?en g?nlerde rapidshare in T?rkiye'den parasız erişime kapatılacağını duymuştum. premium acc zorunlu hale gelecekmiş T?rkiye'deki kullanıcılar i?in. o zaman kadar idare eder bizi. eline sağlık
whats that in english please??
OmekaTeam
04-30-2006, 08:24 AM
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, advancedsupport@doteasy.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Why???Hi all
hello...any one can intigrate it with ecDownload 4.1 by Ron1n ,so that user can upload files in download portion of a forum & submit links for download.
Thnx
BeaLzeBuB
04-30-2006, 09:56 AM
whats that in english please??
it's meaning :
so good
few days ago, someone said me "rapidshare stop upload/download to non-premium users" so we won't uplaod/download to free from rapid. this is valid only users from Turkey. there is a problem with illegal mp3s. Turkish government application rapids company about that. Turkish user can't use megaupload.com now
asianboi
05-04-2006, 01:10 AM
Great Hack!
In addition: Add to Quick Reply
Look for:
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
Add After
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><!--Rapidshare-->
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapid.php','rapid','600','15 0','center','front');">
<img src="images/bbrapid.gif" border="0"></a>
<!--Rapidshare finished-->
</td>
Image: http://img119.imageshack.us/img119/921/bbrapid1oz.gif
umm what abt others free file foster
like: megaupload.com / upload2.net / filefactory.com
can u realse hacks with this?
nymyth
06-13-2006, 08:53 PM
Hell yes.. this one was a good idea, and i liked it so much that i have installed it.. :)
So thanks m8.. :)
But.. i din`t like everything, so i re-made it (hope it is okey?!) hehe..
Shuvo did one great job with this, but i have used his code and made some diffrence..
Here goes..
Add some phrases:
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_header
Text: Rapidshare Upload
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_upload_extensions
Text: Upload your files to Rapidshare.
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_explain_header
Text: Little info about uploading
Phrase Type: GLOBAL
Product: Vbulletin
Varname: rapidshare_explain_text
Text: When file is done, you see a msg "Scroll down to find your download link".
<br>
ex.<br>
<font color="green">Your Download-Link</font>: http://rapidshare.de/files/15073415/vbpager.zip.html<br>
<font color="red">Your Delete-Link</font>: http://rapidshare.de/files/15073415/vbpager.zip?killcode=2442646880<br>
Then just copy&paste your link into your thread.
in style : newreply, newthread, editpost
Search for " $attachmentoption "
Under add:
<!-- Rapidshare Upload -->
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[rapidshare_upload_extensions]</div>
</div>
<div>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapidshare.php','rapid','600 ','260','center','front');"><img src="$stylevar[imgdir_button]/rapidshare_upload.gif" alt="$vbphrase[rapidshare_header]" border="0" /></a>
</div>
</div>
</fieldset>
<!-- / Rapidshare Upload -->
And in pm_newpm
Search for
$disablesmiliesoption
</div>
</fieldset>
add this text below
<!-- Rapidshare Upload -->
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[rapidshare_upload_extensions]</div>
</div>
<div>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapidshare.php','rapid','600 ','260','center','front');"><img src="$stylevar[imgdir_button]/rapidshare_upload.gif" alt="$vbphrase[rapidshare_header]" border="0" /></a>
</div>
</div>
</fieldset>
<!-- / Rapidshare Upload -->
MAKE A NEW STYLE
CALL IT "rapidshare"
COPY & PASTE THIS TEXT
<head>
$headinclude
<title>$vbphrase[rapidshare_header] - $vboptions[bbtitle]</title>
</head>
<body style="margin:0px" onload="self.focus()">
<script>if (self != top) { top.location.replace(window.location.href) }</script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">
<span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span>
$vbphrase[rapidshare_header]
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="padding:$stylevar[formspacer]px">
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_header]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td align="$stylevar[left]">
<!-- <iframe src="http://dl16.rapidshare.de/en/progress.html?uploadid=146476730136187882" width="600" height="85" frameborder="0" marginwidth="0" marginheight="0" scrolling="NO"></iframe>-->
<form method="post" action="http://ul16.rapidshare.de/cgi-bin/upload.cgi?rsuploadid=146476730136187882" enctype="multipart/form-data" onSubmit="this.u.value='Please wait ...';this.u.disabled=true">
<input type="hidden" name="english" value="1">
<input type="file" class="bginput" size="48" name="filecontent">
<input type="submit" class="button" name="u" value="$vbphrase[upload]" style="width:70px">
</form>
</td>
</tr>
</table>
</fieldset>
<br>
<fieldset class="fieldset">
<legend>$vbphrase[rapidshare_explain_header]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td align="$stylevar[left]">
$vbphrase[rapidshare_explain_text]
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="button" class="button" value="$vbphrase[close_this_window]" onclick="window.close();" />
</div>
</td>
</tr>
</table>
</form>
</body>
</html>
Now create a new file, and call it rapidshare.php copy all this into that file, and upload that file to your forum root directory.
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'rapidshare'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'rapidshare',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Rapidshare Upload';
$navbits = construct_navbits($navbits);
//eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('rapidshare') . '");');
?>
And you are all done.. :D
Diffrence is that this one uses the board forum style, and uses ohrases. Style is diffrent and placement.. other than that, the hack or mod is just the same as yours m8.. :)
No screen shots needed, u just love it.. ;)
Sorry if you din`t like it, but hey.. i thought it was okey to share my ideas on it as well.. :)
Take care now..
Cheers.
when you say make a new style, do you mean add a new template within a style...kidna confused here.....thanks
Peace
b3hr0uz
06-17-2006, 01:08 AM
awesommmmmE
mojahudba
08-06-2006, 07:08 PM
can you add button for www.yousendit.com and www.sendspace.com as well ?? would be awesome
JourneyDeep
08-12-2006, 05:04 PM
It seems to go up and down now and again. I just wait for it to fix itself, is there a reason?
-J
tuanvic
09-12-2006, 09:59 PM
anyone can make hack if we have rapidshare acc then member can upload direct to premium rapidshare acc thanks
AMG021
10-21-2006, 01:59 AM
does this work with 3.6?
AMG021
10-21-2006, 02:19 PM
By the way can you make this work for rapidshare.com since they have moved there.....
vppremier
03-17-2007, 05:58 AM
wrong thread ...
AzaDiyaR
11-10-2007, 08:23 PM
not working
nyunyu
11-12-2007, 08:19 AM
i like this hack, could you possibly make it for divshare? i prefer divshare over rapidshare. btw, thanks
Gerald123
03-03-2008, 06:50 PM
anyone can make hack if we have rapidshare acc then member can upload direct to premium rapidshare acc thanks
this would be great if the users could upload to my rapidshare account so the files dont get deleted after 90 days
Justin Murad
07-12-2008, 07:11 PM
Works with 3.7.x, I've just tried.
And I've done something. I combined Imageshack and Rapidshare plugins in a fieldset. Look at the ss in the attachment. If u like it, copy the codes and change it with the original one.
http://img204.imageshack.us/img204/9960/rapidshackhp5.jpg
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resiz able=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<fieldset class="fieldset"><legend>Image and File Upload</legend> <div style="padding:$stylevar[formspacer]px">
<a href="javascript:NewWindow('imageshack.php','imageshack' ,'600','150','center','front');">
<img src="images/imageshack.gif" border="0"></a>   <!--Rapidshare-->
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*( screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<a href="javascript:NewWindow('rapid.php','rapid','600','15 0','center','front');">
<img src="images/rapid.gif" border="0"></a>
<!--Rapidshare finished--></div></fieldset>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.