Back to vBulletin 3.6 Template Modifications

Rapidshare upload link at newreply, newthread, quickreply
Mod Version: 1.00, by saotome

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 5
Released: 15 Feb 2008 Last Update: Never Downloads: 3
Not Supported  

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

Template modification edit:
3 template edit : Newreply | Newthread | showthread_quickreply

Easy edit 5 minutes

Installations for new reply:

1. as usually go to Styles & Templates > Style Manager > Default style > New Posting Templates > newreply
2. Find:
Code:
$disablesmiliesoption
                    </div>
                </fieldset>
3. Add after:
Code:
  <!-- / Qunsys Rapidshare Upload Code -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<td class="tcat">Rapidshare Upload</td>
<tr><td><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></tr>
</table>
<br>
 <!-- / Qunsys Rapidshare Upload Code -->
4. Done

Installations for quickreply:

1. as usually go to Styles & Templates > Style Manager > Default style > show thread Templates > showthread_quickreply
2. Find:
Code:
<if condition="$show['editor_toolbar']">
3. Add before or add rapidshare upload code to the top
Code:
  <!-- / Qunsys Rapidshare Upload Code -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
 <td class="tcat">Rapidshare Upload</td>
 <tr><td><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></tr>
 </table>
 <br>
 <!-- / Qunsys Rapidshare Upload Code -->
4. Done

Installation for newthread:
1. as usually go to Styles & Templates > Style Manager > Default style > New Posting Templates > newthread
2. Find:
Code:
$disablesmiliesoption
                     </div>
                 </fieldset>
3. Add after:
Code:
  <!-- / Qunsys Rapidshare Upload Code -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
 <td class="tcat">Rapidshare Upload</td>
 <tr><td><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></tr>
 </table>
 <br>
 <!-- / Qunsys Rapidshare Upload Code -->
4. Done

Credits goes to Qunsys for rapidshare upload code
If you like click install or nominate this

Just for education only

Download

No files for download.

Supporters / CoAuthors

  • saotome

vblts.ru supports vBulletin®, 2022-2024