Rapidshare Upload In New Thread / Reply
This modification is in the archives.
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 --> 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: 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> 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 --> 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: 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> 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. Supporters / CoAuthors
|
Similar Mods
New Posting Features Upload to a RAPIDSHARE PREMIUM ACCOUNT from a thread / newpost | Modification Graveyard |