Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rapidshare Upload In New Thread / Reply Details »»
Rapidshare Upload In New Thread / Reply
Version: 1.00, by technom8t technom8t is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 02-23-2008 Last Update: Never Installs: 5
Template Edits
Re-useable Code Additional Files  
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-25-2008, 02:29 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to add a login (inside the code, admin configured only) for uploading using a RS premium account?
Reply With Quote
  #3  
Old 02-25-2008, 12:07 PM
technom8t technom8t is offline
 
Join Date: Oct 2007
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think that it may be possible, i am not that advanced in my coding but i will have a look into it for you, please note this may cause an issue as everyone who will use the upload will most probabaly be able to view your Rapidshare login details if the view the page source...

i will however look at it for you, im also planning on making it only availible to certain usergroups so update to follow
Reply With Quote
  #4  
Old 02-25-2008, 07:09 PM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You Take My Post And You Make A New Hack...perfect..

You Are The Best...bravooooooo...

Thanks That You Help Me And You Post This Thread

Bravooooooo........again...and Again

AND TO SEE HOW SMALL BRAIN YOU HAVE THIS IS NOT UPLOAD IMAGE (I PUT IT FOR THAT REASON IN MY POST....FOR GUYS LIKE YOU)
Reply With Quote
  #5  
Old 02-25-2008, 07:34 PM
technom8t technom8t is offline
 
Join Date: Oct 2007
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why dont you want to help the community , as far as i can see i improved on it, just like the code i know have to do the premium login version, yeh cheerz yeh muppet pmsfl

i think you will find that is an upload image you idiot, u can test it if u dont beleive me, as your code doesnt work the same as mine :-)
Reply With Quote
  #6  
Old 02-25-2008, 08:52 PM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

one thanks to me i thing its not big thing..you just take the code and you change some part...so?you dont help the community..i fount something that doesnt work and i post something that works,and you get it and create second add-on.

Ok men you are the best... congratulations

Edit..
i thing its better to use this code and no tables

<fieldset class="fieldset">
<legend>SOME TEXT</legend>
Some code
Code

</fieldset>
Reply With Quote
  #7  
Old 02-25-2008, 09:09 PM
technom8t technom8t is offline
 
Join Date: Oct 2007
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok but didnt relise this was a competition, were did u get the code from, the same place as me the page source from the upload page on rapidshare, so dont bullshit everyone on here and pretend you wrote it because you didnt you fool, so yes i used the code from the upload page from Rapidshare, you don't own it, get over it, unless you have anything constructive to say then shut up and dont reply in this thread, i put this here for people who want it for FREE as i got it for FREE just like you got it for FREE, some one ban this idiot please im not here to exsplain my self or be abused in any way!
Reply With Quote
  #8  
Old 02-26-2008, 12:25 AM
stelthius stelthius is offline
 
Join Date: Jan 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didnt work for me i followed your instructions too
Reply With Quote
  #9  
Old 02-26-2008, 08:04 AM
technom8t technom8t is offline
 
Join Date: Oct 2007
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

give us a bit more info mate as to how it didnt work

i.e did your upload button appear ok on the newthread page but no poup-upload box appeared when pressed?

or did nothing appear on your newreply/newthread pages.

let me know and i will try solve this for you, i have it working perfectly @

*** Link removed, no linking to warez boards ***- just go into the guest section (no need to register) and do a test thread you will see the concept works ok :-)

thanks
Tech
Reply With Quote
  #10  
Old 02-26-2008, 10:16 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by technom8t View Post
ok but didnt relise this was a competition, were did u get the code from, the same place as me the page source from the upload page on rapidshare, so dont bullshit everyone on here and pretend you wrote it because you didnt you fool, so yes i used the code from the upload page from Rapidshare, you don't own it, get over it, unless you have anything constructive to say then shut up and dont reply in this thread, i put this here for people who want it for FREE as i got it for FREE just like you got it for FREE, some one ban this idiot please im not here to exsplain my self or be abused in any way!

If someone need ban maybe its you becuase you cannot control your self...
Its not my code byt its copy of my work (rapid.php file image etc..)
The bifferent on my code is that works,perfect and many people can use it without problems..
Your code doesnt work


I close this history now because i dont wont to talk with people like you,its better to talk with my hand..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04722 seconds
  • Memory Usage 2,314KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete