vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Get direct links v1.4 (https://vborg.vbsupport.ru/showthread.php?t=129598)

mrpaint 10-20-2006 10:00 PM

Get direct links v1.4
 
After a month this hack work perfectly (I think so :P), staff of megaupload & rapidshare has changed a lot to prevent us to share direct link to other people so my script nolonger work now. I will release a new version as soon as possible. Thank you!

Attachment are Get Direct Links from v1.1 to v1.4 for who still want to take a try

Once again, thank you!

PS: I will send an email to installed member when the new version is available :)

Surviver 10-21-2006 04:56 AM

Hello, I'm able to use this wothout vbplaza ?

Thank you !

mfg Surviver

Thinkinstein 10-21-2006 08:56 AM

  • RapidShare.de, currently out of disk space, has changed to RapidShare.com. I think there is something need to be changed in this hack.
  • If our forumers can upload stuff to a megaupload account, that would be a GREAT Feature. REASON: megaupload has a lifetime premium account. You don't need to extend your account anymore! Imagine all stuff can be uploaded to and stayed permanently (it's claimed) in the account without sacrificing our server space and revealing our account details!! ALL admins will love this!
  • It would be better if this hack can work with or without vBux and vPlaza. The more flexible is the hack, The more popular is the hack.

mrpaint 10-21-2006 12:41 PM

Thx to Surviver & Thinkinstein :)
I make this hack for my own forum so that it isn't flexible
I am editting it to make it work with rapidshare.com & megaupload. The number of links each member can get a day can be set in AdminCP. I'm just a n00b so that I think it will require a few day to complete

Thank you again....

AMG021 10-21-2006 01:18 PM

THIS IS NICE!!!! Thanks Mate. This would of have been nice if it would be standalone :D

aycan555 10-21-2006 01:21 PM

I couldn't tryed demo, it says You do not have enough money
My user name is: tet123

DavutPasha 10-21-2006 05:29 PM

holy shit, you are perfect. but can we do that for reputuation points? Do I have to install vbPlaza, couldn't I use alone. Can I do this?

mrpaint 10-22-2006 01:41 PM

Quote:

Originally Posted by AMG021
THIS IS NICE!!!! Thanks Mate. This would of have been nice if it would be standalone :D

Now it can stand alone :D Please take a look at the first post above
Thank you

SnickersTK 10-22-2006 05:21 PM

what about megaupload?

and wont they kill your premium account because mutiple users accesses it, or am I misunderstanding something :-S

lazydesis 10-22-2006 06:15 PM

hi i keep getting this error

Code:

Database error in vBulletin 3.6.1:

Invalid SQL:
INSERT INTO forum_`get_direct_links_table`
                (`userid`,`thedate`,`links`,`number`)
                VALUES ('2', NOW(), 'http://dl25l3.rapidshare.de/files/xxxxxxx/xxxxxxxxx/xxxx.3gp
',1);;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'get_direct_links_table`
                (`userid`,`thedate`,`links`,`number`)
                VALUES ('2',' at line 1
Error Number : 1064
Date        : Sunday, October 22nd 2006 @ 03:10:51 PM
Script      : http://www.mysite.com/community/get_links.php?
Referrer    : http://www.mysite.com/community/get_links.php?
IP Address  : xx.xx.xx.xx
Username    : xxxxxxxxx
Classname    : vb_database

I have inserted my username and password of rapidshare.de in place of id and pass below and uploaded the file
Code:

'rapidshare.de' => array (
                0 => array (
                        'id' => "id",
                        'pass' => "pass"
                )

then uploaded the product file using admincp and also the xml files to includes dir, given 50 links per day to admins and then went to http://mysite.com/community/get_links.php and entered the link and clicked on Get links ...thats when i recieved this error .

Any help wud be appreciated :)

lazydesis 10-22-2006 08:51 PM

There is a bug in the code i guess ...there is an extra pair of qoutes around get_direct_links_table

see below ... this solved the mysql error

Code:

function doHistory($links,$number) {
        global $vbulletin;
        $vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "`get_direct_links_table`
                (`userid`,`thedate`,`links`,`number`)
                VALUES ('" . $vbulletin->userinfo['userid'] . "', NOW(), '" . $links . "'," . $number . ");");
}

change to
Code:

function doHistory($links,$number) {
        global $vbulletin;
        $vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "get_direct_links_table
                (`userid`,`thedate`,`links`,`number`)
                VALUES ('" . $vbulletin->userinfo['userid'] . "', NOW(), '" . $links . "'," . $number . ");");
}

thanx for the hack :) works great now ...*clicks install*

thedvs 10-22-2006 09:05 PM

this is one of the best hacks ever!

how about megashares.com please! :)

lazydesis 10-23-2006 12:56 AM

If anyone posts the links obtained from this hack in other forums. ..will they still be accessible ???

mrpaint 10-23-2006 02:11 AM

Quote:

Originally Posted by lazyindian
There is a bug in the code i guess ...there is an extra pair of qoutes around get_direct_links_table

see below ... this solved the mysql error

Code:

function doHistory($links,$number) {
        global $vbulletin;
        $vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "`get_direct_links_table`
                (`userid`,`thedate`,`links`,`number`)
                VALUES ('" . $vbulletin->userinfo['userid'] . "', NOW(), '" . $links . "'," . $number . ");");
}

change to
Code:

function doHistory($links,$number) {
        global $vbulletin;
        $vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "get_direct_links_table
                (`userid`,`thedate`,`links`,`number`)
                VALUES ('" . $vbulletin->userinfo['userid'] . "', NOW(), '" . $links . "'," . $number . ");");
}

thanx for the hack :) works great now ...*clicks install*


Yes, I'm very sorry for this problem
Thank you, lazyindian

lazydesis 10-23-2006 03:44 AM

can it be made to function in such a way that when user clicks on get links it actually downloads the file instead of showing the link to them ..because if it shows the link this function can be misused by people who might paste the links in other forums?

mrpaint 10-23-2006 03:52 AM

Quote:

Originally Posted by lazyindian
can it be made to function in such a way that when user clicks on get links it actually downloads the file instead of showing the link to them ..because if it shows the link this function can be misused by people who might paste the links in other forums?

The direct link just available for a few hour (as I know is only 1~3 hour?) so posting this link is useless
By other side, why don't you ban this kind of member? :)

lazydesis 10-23-2006 03:22 PM

Quote:

Originally Posted by mrpaint
The direct link just available for a few hour (as I know is only 1~3 hour?) so posting this link is useless
By other side, why don't you ban this kind of member? :)

Its been 12 hrs since i got a direct link and now i tested it on another machine and it still works fine ... so the links are not expiring ...

can there be a way where the user is not shown the file link ...instead when user clicks on Get Direct Links button ..it actually downloads the file ?

By the way its very diffciult to track such users who paste the links in other forums :(

Rian 10-23-2006 05:55 PM

Great MOD! It works like a charm.

Thanks a million for your time and effort put into this!

DavutPasha 10-23-2006 10:20 PM

what about RS-Link-Checker? Can we add a link checker?

And can add a Premium Account Donation page. A premium account user can donate his account. Adding premium account ids to php file is so dangerous for security. it has to be in database, i think.

I'm waiting new releases. I'm sure, this hack will be second best hack (first is vbadvanced :))

Good works, thank you so much.. :)

DavutPasha 10-24-2006 08:55 AM

That's wonderful, everything is fine, thanks a lot..

AMG021 10-25-2006 12:15 PM

hey can you please make this work for megaupload?

thedvs 10-27-2006 12:08 PM

I wish it could lock out IP's too, we have members making dupe accounts just to get extra links now :(

AMG021 10-28-2006 03:54 AM

seems like he gave up on megaupload one :(

VPA021 10-28-2006 11:13 PM

Can you add megaupload to this ?

mrpaint 10-29-2006 01:27 PM

I currently have no solution to support megaupload
Any ideas?

Rian 10-29-2006 04:03 PM

How do I add a second account to the section below: (Everytime I try to add another rapidshare account it does not show on the forum itself.)

-------------------------------------------------------------------------

'rapidshare.de' => array (
0 => array (
'id' => "yyy",
'pass' => "yyy"
)
/*,1 => array (
'id' => "yyy",
'pass' => "yyy"
)
,2 => array (
'id' => "yyy",
'pass' => "yyy"
) */
)
,
'rapidshare.com' => array (
0 => array (
'id' => "xxx",
'pass' => "xxx"
)
/*,1 => array (
'id' => "xxx",
'pass' => "xxx"
)
,2 => array (
'id' => "xxx",
'pass' => "xxx"
) */
)
);

COBRAws 10-29-2006 05:18 PM

Login for demo? http://youth4vn.com/forums/rapid.php


Thank you!!

mrpaint 10-30-2006 08:46 AM

@rian: please remove /*, eg:
PHP Code:

'rapidshare.de' => array (
=> array (
'id' => "yyy",
'pass' => "yyy"
)
=> array (
'id' => "yyy",
'pass' => "yyy"
)
/*,2 => array (
'id' => "yyy",
'pass' => "yyy"
) */
)
,
'rapidshare.com' => array (
=> array (
'id' => "xxx",
'pass' => "xxx"
)
,
=> array (
'id' => "xxx",
'pass' => "xxx"
)
/*,2 => array (
'id' => "xxx",
'pass' => "xxx"
) */
)
); 

@COBRAwa: please register to view demo :P I can't give you an account ^_^
Sorry!

dragonlove 10-30-2006 02:10 PM

can u update this hack work with megaupload ? thanks .

Rian 10-30-2006 05:15 PM

Thx mrpaint. It is working now.

One other problem is that the number of links does not restart everyday.

Some of my users get the message that they have downloaded 15 of 10 files. How do I fix this?

AMG021 10-31-2006 09:37 PM

Quote:

Originally Posted by Rian
Thx mrpaint. It is working now.

One other problem is that the number of links does not restart everyday.

Some of my users get the message that they have downloaded 15 of 10 files. How do I fix this?

Im getting the same problem. please help, the link count doesn't restart everyday. ITS STUCK!

shadowevil 10-31-2006 11:27 PM

Mod nice ....I like it ..... *installed*

but ..... can you write code for this MOD to run vbb3.5.4 and can you write code especially for megaupload and sexupload with vbb3.6.x and 3.5.x ?? thanks you :)

mrpaint 11-01-2006 12:22 AM

@Rian: Try this:
Open get_links.php
Find
PHP Code:

AND thedate >= (now() - 86400);"); 

And REPLACE with
PHP Code:

AND (thedate 86400) >=  NOW();"); 

*Note: There are 2 lines AND thedate >= (now() - 86400);");!

Gud luck :D

Rian 11-02-2006 03:11 AM

Quote:

Originally Posted by mrpaint
@Rian: Try this:
Open get_links.php
Find
PHP Code:

AND thedate >= (now() - 86400);"); 

And REPLACE with
PHP Code:

AND (thedate 86400) >=  NOW();"); 

*Note: There are 2 lines AND thedate >= (now() - 86400);");!

Gud luck :D


Thanks Mr. Paint it seems to be working, will check later today.

Nathan2006 11-02-2006 09:36 PM

Thanks mrpaint

Cool :)

Install

dragonlove 11-04-2006 05:01 AM

This is cool mod but I need direct links with megaupload.com , can u update this mod ?

mrpaint 11-04-2006 06:02 PM

Quote:

Originally Posted by dragonlove
This is cool mod but I need direct links with megaupload.com , can u update this mod ?

megaupload.com is now supported :)
Please take a look at the first post

Greek76 11-04-2006 06:49 PM

Quote:

Originally Posted by lazyindian
can it be made to function in such a way that when user clicks on get links it actually downloads the file instead of showing the link to them ..because if it shows the link this function can be misused by people who might paste the links in other forums?

Do what was recomended to me by another member. Turn the download file into .Rar file and password protect and encrypt it with the link of your forum as a password.

TonyGau 11-05-2006 02:53 AM

Quote:

Result for http://www.megaupload.com/?d=T0PV8JQX
>>> Can NOT fetch link(s)! Invalid link(s)?
Get 0 Link(s) Successfully!
This's the result in my site , please help me mrpaint

Mattimus1984 11-05-2006 03:18 AM

How do you set it so their username shows up in the chanel?


All times are GMT. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01368 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (5)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete