Back to vBulletin 3.6 Add-ons

Rapidshare Upload In New Thread / Reply
Mod Version: 1.00, by technom8t

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 5
Released: 24 Feb 2008 Last Update: Never Downloads: 108
Not Supported Template Edits Additional Files Re-usable Code  

How to make rapidshare upload link at newreply, new thread:

2 template edit : Newreply | Newthread
(please note this code can actually go on anytemplate you wish, i chose to put it in these templates for personal preference)

Easy edit 5 minutes

Installations for new reply:
1. Go to Styles & Templates > Style Manager > Default style > New Posting Templates > newreply

2. Find -
Code:
<!-- message area -->
</div>
		<div class="smallfont">$vbphrase[message]:</div>		
		$messagearea
		<!-- / message area -->
3. Add after

Code:
<html>
<head><title>RapidShare Upload</title>
<Style>
body {
 font-family: Verdana;
 font-size: 12px;
}
table {
 font-family: Verdana;
 font-size: 12px;
}
</Style>
</head>
<body bgcolor="#FFFFFF" text="#000000" alink="#555555" vlink="#555555" link="#555555" topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0>
<script>if (self != top) { top.location.replace(window.location.href) }</script>
<table width=49% height=43% border=0 cellspacing=0 cellpadding=0>
  <tr></tr>
  <tr>
    <td height=100% align=center valign=top bgcolor=#E2E6ED><!-- rapidshare !-->
        <table width=621 border=0 cellpadding=0 cellspacing=0>
          <tr>
            <td nowrap colspan=5 bgcolor=#000000></td>
          </tr>
          <tr>
            <td nowrap bgcolor=#FCFEFE></td>
            <td align=center valign=top bgcolor=#FCFEFE><p></p>
                <script>function switchfiles() {alert("Please notice that when using multi-upload the sum of\nall files you upload at once must not exceed 100 MB.");
document.getElementById('files').innerHTML = 'File #01: <input type="file" size="64" name="filecontent"><br>File #02: <input type="file" size="64" name="filecontent2"><br>File #03: <input type="file" size="64" name="filecontent3"><br>' +
'File #04: <input type="file" size="64" name="filecontent4"><br>File #05: <input type="file" size="64" name="filecontent5"><br>File #06: <input type="file" size="64" name="filecontent6"><br>File #07: <input type="file" size="64" name="filecontent7"><br>' +
'File #08: <input type="file" size="64" name="filecontent8"><br>File #09: <input type="file" size="64" name="filecontent9"><br>File #10: <input type="file" size="64" name="filecontent10"><br><input type="submit" name="u" value="Upload!">'}</script>
<form name="ul" method="post" action="http://rapidshare.com/cgi-bin/upload.cgi" enctype="multipart/form-data" onsubmit="document.ul.u.value='Please wait ...';document.ul.u.disabled=true">
<a href="#" onclick="switchfiles()">Multi-Upload</a> Choose your upload-datapath: &nbsp;&nbsp;&nbsp; Cogent <input name="mirror" type="radio" onclick="document.ul.action='http://rapidshare.com/cgi-bin/upload.cgi';document.ul.u.value='Upload via Cogent'">
Level(3) <input checked name="mirror" type="radio" onclick="document.ul.action='http://rapidshare.com/cgi-bin/upload.cgi';document.ul.u.value='Upload via Level(3)'">
Telia <input name="mirror" type="radio" onclick="document.ul.action='http://rapidshare.com/cgi-bin/upload.cgi';document.ul.u.value='Upload via Telia'"><br>
<div id="files"><input type="file" size="64" name="filecontent"> <input type="submit" name="u" value="Upload!"></div></form>
<b>Upload-Limit: <font color="red">Unlimited!</font></b> (Max. <b><u>100 MB</u></b>)<br>
            <td nowrap bgcolor=#FCFEFE></td>
          </tr>
          <tr>
            <td nowrap colspan=5 bgcolor=#000000></td>
          </tr>
      </table>
      <!--rapidshare-->    </td>
  </tr>
</table>
</body></html>
press save and your done.

Installations for NEW THREAD:

1. Go to Styles & Templates > Style Manager > Default style > show thread Templates > NEWTHREAD

2. Find
Code:
<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>		
		$messagearea
		<!-- / message area -->
3. add after

Code:
<html>
<head><title>RapidShare Upload</title>
<Style>
body {
 font-family: Verdana;
 font-size: 12px;
}
table {
 font-family: Verdana;
 font-size: 12px;
}
</Style>
</head>
<body bgcolor="#FFFFFF" text="#000000" alink="#555555" vlink="#555555" link="#555555" topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0>
<script>if (self != top) { top.location.replace(window.location.href) }</script>
<table width=49% height=43% border=0 cellspacing=0 cellpadding=0>
  <tr></tr>
  <tr>
    <td height=100% align=center valign=top bgcolor=#E2E6ED><!-- rapidshare !-->
        <table width=621 border=0 cellpadding=0 cellspacing=0>
          <tr>
            <td nowrap colspan=5 bgcolor=#000000></td>
          </tr>
          <tr>
            <td nowrap bgcolor=#FCFEFE></td>
            <td align=center valign=top bgcolor=#FCFEFE><p></p>
                <script>function switchfiles() {alert("Please notice that when using multi-upload the sum of\nall files you upload at once must not exceed 100 MB.");
document.getElementById('files').innerHTML = 'File #01: <input type="file" size="64" name="filecontent"><br>File #02: <input type="file" size="64" name="filecontent2"><br>File #03: <input type="file" size="64" name="filecontent3"><br>' +
'File #04: <input type="file" size="64" name="filecontent4"><br>File #05: <input type="file" size="64" name="filecontent5"><br>File #06: <input type="file" size="64" name="filecontent6"><br>File #07: <input type="file" size="64" name="filecontent7"><br>' +
'File #08: <input type="file" size="64" name="filecontent8"><br>File #09: <input type="file" size="64" name="filecontent9"><br>File #10: <input type="file" size="64" name="filecontent10"><br><input type="submit" name="u" value="Upload!">'}</script>
<form name="ul" method="post" action="http://rapidshare.com/cgi-bin/upload.cgi" enctype="multipart/form-data" onsubmit="document.ul.u.value='Please wait ...';document.ul.u.disabled=true">
<a href="#" onclick="switchfiles()">Multi-Upload</a> Choose your upload-datapath: &nbsp;&nbsp;&nbsp; Cogent <input name="mirror" type="radio" onclick="document.ul.action='http://rapidshare.com/cgi-bin/upload.cgi';document.ul.u.value='Upload via Cogent'">
Level(3) <input checked name="mirror" type="radio" onclick="document.ul.action='http://rapidshare.com/cgi-bin/upload.cgi';document.ul.u.value='Upload via Level(3)'">
Telia <input name="mirror" type="radio" onclick="document.ul.action='http://rapidshare.com/cgi-bin/upload.cgi';document.ul.u.value='Upload via Telia'"><br>
<div id="files"><input type="file" size="64" name="filecontent"> <input type="submit" name="u" value="Upload!"></div></form>
<b>Upload-Limit: <font color="red">Unlimited!</font></b> (Max. <b><u>100 MB</u></b>)<br>
            <td nowrap bgcolor=#FCFEFE></td>
          </tr>
          <tr>
            <td nowrap colspan=5 bgcolor=#000000></td>
          </tr>
      </table>
      <!--rapidshare-->    </td>
  </tr>
</table>
</body></html>
4. save and your done.

now upload this button to your /images folder


now upload the attached rapid.php to your forum root directory

thats it, all done

( please not you can insert the actuall code anywere you wish the upload button to appear)

screenshot

Download

This modification is archived, downloads are still allowed.

File Type: %1$s rapid.php (2.9 KB, 105 downloads)

Supporters / CoAuthors

  • technom8t

Similar Mods

New Posting Features Upload to a RAPIDSHARE PREMIUM ACCOUNT from a thread / newpost Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024