Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Upload to a RAPIDSHARE PREMIUM ACCOUNT from a thread / newpost Details »»
Upload to a RAPIDSHARE PREMIUM ACCOUNT from a thread / newpost
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.7.2 Rating:
Released: 09-04-2008 Last Update: 09-06-2008 Installs: 5
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

*** FIRST OFF I DO NOT ACCEPT ANY RESPONSIBILITY FOR LOST / STOLEN RAPIDSHARE ACCOUNT, USE AT YOUR OWN JUDGMENT ***

Ok what this mod will do is insert a button on your NEWTHREAD / NEWPOST template that will allow you to upload to a chosen RAPIDSHARE PREMIUM ACCOUNT. it will open a small java script box were you can browse and upload your files.

before we start you will need three thing

1. your rapidshare user name
2. your rapidshare password
3 you rapidshare upload id ( this can be found by logging into your premium zone and viewing the page source and then search for rsuploadid= 123456789.....)( this is the number you need i have attached the the following screen shot to show were in the page source you must look , i have highlighted the username and password details also but you should have these already :-) :


once you have these 3 peices of info you now need to insert them in to the relevant parts of the encrypt.php ( inc in the download file) see section of code highlighted red below for were to insert your login details and upload id :


PLEASE UPLOAD ALL THE FILES ATTACHED INTO YOUR FORUMS ROUTE DIRECTORY
--------------------------------------------------------------------------------------------------

</script>

<form name="ul" method="post" action="http://rs170cg.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=0123456789012345678" enctype="multipart/form-data" onsubmit="return zeigeProcess();">
<input type="hidden" name="login" value="*******" />
<input type="hidden" name="password" value="**********" />
<center>
<div id="progbar" style="display:none;">
<div style="font-size:8pt;">You are uploading:</div>
<p style="margin-top:0px;color:#8E908F;font-size:16pt;" id="dname">.</p>

<iframe src="http://rs170l3.rapidshare.com/progress.html?uploadid=0123456789012345678" name="pframe" width="100%" height="120" frameborder=0 marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div>
<div id="dateiwahl">
<table style="font-size:8pt;color:#002760;"><tr><td align=left>
<div id="files">
<a href="javascript:switchfiles()" style="font-size:8pt;color:#002760;">Do you want to upload several files? Please click here</a>
| Maximum upload size 200 MB | Split archives allowed!<br />
<input type="file" size="65" id="dateiname" name="filecontent" onchange="zeigeUploadBtn();" /><br />
<input type="checkbox" name="norelocate" value="1"> SHOW ME THE DOWNLOAD LINK
</div>

</td></tr></table>
<div style="font-size:8pt;padding-bottom:20px;">Choose your preferred Carrier:
<input name="mirror" type="radio" onclick="document.ul.action='http://rs170cg.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=12345678901234';" /> Cogent |
<input checked name="mirror" type="radio" onclick="document.ul.action='http://rs170l3.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=2345678901234';" /> Level3 |
<input name="mirror" type="radio" onclick="document.ul.action='http://rs170tl.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=2345678901234';" /> TeliaSonera
</div>
<input type=image id="btnupload" name="u" src="http://www.hacked-downloads.co.uk/forums/upload_file.jpg" style="visibility:hidden;" />
</div>
</center>
</form>
</div>


</body>
</html>
-------------------------------------------------------------------------------------------------------- REMEBER TO SAVE THE ENCRYPT.PHP FILE BEFORE UPLOADING



Now upload the ENCRYPT.php file to your forums route directory ( forums/ ) AS WELL AS ALL OTHER ATTACHED FILES

now on your NEWTHREAD AND NEW POST TEMPLATE

FIND

Code:
<!-- / message area -->
AND UNDER IT ADD

Code:
<<P></P>
<div style="border: thin white solid;">
<P></P>
&nbsp;<!--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.random()*((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('rapidpremium.php','rapid','700','200','center','front');">
<img src="images/rapid.jpg"  border="0"></a>
<!--Rapidshare finished--> &nbsp;&nbsp;<b><center><strong><font color="red">USE THIS BUTTON IF YOU WANT TO UPLOAD A FILE TO RAPIDSHARE, THEN POST THE LINK</font></strong></center></b>
<P></P> 
</div>
PRESS SAVE

please note the above code can be altered to suit your preference and forum colour, below is what it looks like on my forum, it can also be inserted anywhere you wish to have the upload button, i prefer it here TBH :



instructions on how to use......................



it is really simple, once all code is inserted onto your newthread / newpost template, go to do a new thread / post, you will see the upload button underneath the message box, press the upload button and you will see a small javasript window appear, this is were yo can browse for your file and uplaod it, now please note in order to receive the download link then and there you will have to tick the small check box on the bottom left of this javascript window, if you don't the file will be uploaded directly to the account without a download link

see screen :



This mod does NOT store your rapidshare details within the page source and i believe it to be 100% safe, i am using it just now, but once again i do not accept any responsibility for any lost or stolen rapidshare account!

it is also not supported although i will answer any post / queries for a short time :-)

I MAKE THIS CODE OPEN SOURCE ON THE HOPE THAT SOMEONE MAY BE ABLE TO IMPROVE IT IN SOME WAY

OH AND IF YOU LIKE THIS CODE THEN ANY DONATION VIA PAYPAL OF ANY KIND IS WELCOME aypal = technom8t@sky.com

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 09-06-2008, 02:08 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a good idea to save bandwidth, and with everyone uploading to the same account, RS gives you benefits right? so it sounds like a win win situation. except lots of people dislike or cant use RS because of waiting times etc.

I might check it out during my holidays. thanks for sharing.
Reply With Quote
  #3  
Old 09-06-2008, 04:20 PM
technom8t technom8t is offline
 
Join Date: Oct 2007
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup i agree mate, win win situation with this, and the biggest file hoster on the net, is rapidshare so should be plenty of call for this.....
Reply With Quote
  #4  
Old 09-06-2008, 06:45 PM
blaskow blaskow is offline
 
Join Date: Aug 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

People have been asking for this forever! I'm installing it tonight! PROPS! Thanks!:up::up::up:
Reply With Quote
  #5  
Old 09-06-2008, 07:34 PM
bhanuprasad1981 bhanuprasad1981 is offline
 
Join Date: Apr 2007
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this be done to other file hosting sites, i want to use my own site
Reply With Quote
  #6  
Old 09-07-2008, 02:40 AM
juan71287 juan71287 is offline
 
Join Date: Dec 2003
Location: New York
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you installed!
Reply With Quote
  #7  
Old 09-07-2008, 09:59 AM
laurens800 laurens800 is offline
 
Join Date: Dec 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
Reply With Quote
  #8  
Old 09-07-2008, 01:47 PM
edermix edermix is offline
 
Join Date: Aug 2008
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Dude!!!!
Reply With Quote
  #9  
Old 09-07-2008, 02:01 PM
rapidshare.vn rapidshare.vn is offline
 
Join Date: Nov 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you will lost your RapidShare Premium Account if member view your code (view source HTML) ^_^
Reply With Quote
  #10  
Old 09-07-2008, 03:32 PM
juan71287 juan71287 is offline
 
Join Date: Dec 2003
Location: New York
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rapidshare.vn View Post
you will lost your RapidShare Premium Account if member view your code (view source HTML) ^_^
Lol yeah i just noticed that. Not very safe. However, i've encrypted the files a bit. If anyone needs it i can post it
Reply With Quote
Reply

Thread Tools

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 03:00 AM.


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.06024 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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