Welcome guest! Please Login or Register.

Auto Accept
Author Message
c0rrupt Administrator


Posts: 265
Joined: Mar 2010
Post: #1
Auto Accept
0
0
Auto Accept downloads.
Credit to jomasco

Open your wcfg.php file search for:
[hide]
$this->allow_dupes = true; // Allow duplicate download entries? If no, duplicates will be removed at the submission stage.
[/hide]

Below add:
[hide]
$this->vip = true; //auto accept downloads to whitelisted sites
[/hide]

Save it.

Open your funcs.php file and find:
[hide]
if(!empty($titles[$i]) && !empty($urls[$i]) && !empty($types[$i]) && (in_array(strtolower($types[$i]),$this->allowed_types) || in_array($types[$i],$this->allowed_types)) && !isset($downDupe)) {
                            mysql_query("INSERT INTO wcddl_queue (sid,title,type,url) VALUES ('".mysql_real_escape_string($sid)."','".mysql_real_escape_string($titles[$i])."','".mysql_real_escape_string($types[$i])."','".mysql_real_escape_string($urls[$i])."')");
                        }
[/hide]

Replace with:
[hide]
if(!empty($titles[$i]) && !empty($urls[$i]) && !empty($types[$i]) && (in_array(strtolower($types[$i]),$this->allowed_types) || in_array($types[$i],$this->allowed_types)) && !isset($downDupe)) {
                            if($this->vip && @mysql_num_rows(mysql_query("SELECT url FROM wcddl_whitelist WHERE url = '".mysql_real_escape_string($surl)."'"))) {
                      mysql_query("INSERT INTO wcddl_downloads (sid,title,type,url,dat) VALUES ('".$sid."','".mysql_real_escape_string($titles[$i])."','".mysql_real_escape_string($types[$i])."','".mysql_real_escape_string($urls[$i])."','".time()."')");
                            } else {
                            mysql_query("INSERT INTO wcddl_queue (sid,title,type,url) VALUES ('".mysql_real_escape_string($sid)."','".mysql_real_escape_string($titles[$i])."','".mysql_real_escape_string($types[$i])."','".mysql_real_escape_string($urls[$i])."')");
                        }
[/hide]

From here you can change to work by site rank... downloads number... sites table vip row....
(This post was last modified: 07-12-2012 12:43 PM by c0rrupt.)
12-30-2011 03:55 PM
Website Find Reply
c0rrupt Administrator


Posts: 265
Joined: Mar 2010
Post: #2
RE: Auto Accept
0
0
Not with this mod.

What this mod does is as soon as a site submits the downloads are automatically added live. They do not go into the Queue
07-12-2012 12:45 PM
Website Find Reply
c0rrupt Administrator


Posts: 265
Joined: Mar 2010
Post: #3
RE: Auto Accept
0
0
I think I have an auto accept mod. I will try and find it an post it
07-12-2012 02:30 PM
Website Find Reply
GodFather Newbie


Posts: 2
Joined: Aug 2012
Post: #4
RE: Auto Accept
0
0
this auto accepted by site how about auto accepted a day or 24 hour time
08-16-2012 12:42 AM
Find Reply
c0rrupt Administrator


Posts: 265
Joined: Mar 2010
Post: #5
RE: Auto Accept
0
0
I use to have an auto accept mod, but lost it when my external hard drive died on me.

I think t3od0r at wjunction has one for sale
08-18-2012 09:27 PM
Website Find Reply


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Accept All Downloads By Site c0rrupt 1 270 05-28-2010 07:41 AM
Last Post: nirav5300



User(s) browsing this thread: 1 Guest(s)

WCDDL Skins and Mods Affiliates
PhazeDDL WarezUNION WarezOrder Free Full Downloads Free Full Downloads SuppaDDL Full Downloads CafeDDL-Serves Premium Downloads!
Click Here to Affiliate!

This forum uses Lukasz Tkacz MyBB addons.