Current time: 10-28-2012, 12:05 PM    Register | Lost Password?

Contest #1- First member to have 5 referals will get VIP status. You can find your referal link in your UserCP


Post Reply 
Admin Blacklist remove site downs or not
Author Message
c0rrupt Offline
Administrator


Posts: 262
Joined: Mar 2010
Post: #1
Admin Blacklist remove site downs or not
by jomasaco on Sun Jun 06, 2010

What it does?
When blacklist an site you have the option to remove the related downloads too or not.


Open funcs.php, function admin_blacklist()
Find
$remove = $_POST['remove'];


After add

if(isset($_POST['remove_downs']))
                    $remove_downs = $_POST['remove_downs'];

Find

$sid = @mysql_result($sid,0);


after add

if($remove_downs) {

find
@mysql_query("DELETE FROM wcddl_downloads WHERE sid = '".mysql_real_escape_string($sid)."'");
    }
    echo 'URL has been blacklisted and all related downloads deleted.';


replace by
@mysql_query("DELETE FROM wcddl_downloads WHERE sid = '".mysql_real_escape_string($sid)."'");
                        }
                        }
                    echo $bwurl.' has been blacklisted'; if($remove_downs) echo ' and all related downloads Removed.';

Find

<tr><td align="center">'.ucfirst($this->blackorwhite).'list an URL</td></tr>


after add

if($this->blackorwhite == "black"){ $bwform.=' Remove site Downloads <input type="checkbox" name="remove_downs"></td></tr>';}
11-07-2010 02:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Show the downloads for a specific site (WCDDL v2) c0rrupt 0 109 07-26-2012 04:35 PM
Last Post: c0rrupt
  White/Blacklist Search with Date/Reason c0rrupt 15 638 07-08-2012 01:49 PM
Last Post: c0rrupt
  Site Rating MOD c0rrupt 7 491 12-27-2011 07:06 PM
Last Post: WJManiaC
  Show site Downloads/Rank [module] c0rrupt 9 606 12-25-2011 01:41 AM
Last Post: WJManiaC
  Accept All Downloads By Site c0rrupt 1 268 05-28-2010 07:41 AM
Last Post: nirav5300
  Site Provider with up ^ arrow ^ c0rrupt 2 267 04-27-2010 07:46 AM
Last Post: nirav5300
  Site Provider (index page) c0rrupt 0 233 04-16-2010 01:02 PM
Last Post: c0rrupt



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

Affiliates
PhazeDDL WarezUNION WarezOrder Free Full Downloads Free Full Downloads SuppaDDL Free Full Downloads CafeDDL-Serves Premium Downloads! Free Full Rapidshare Fileserve Netload RapidGator Extabit Warez Downloads
This forum uses Lukasz Tkacz MyBB addons.