hia,

these 2 modules were written by me as i tried to find with no l?ck so i tgot help from jomasco + others who helped me to code em and understand:

make a file called wcddl_blacklist.php n put it in the modules dir, then copy n paste:

Code: 
    <?php
    /*BEGIN_INFO
    Show sites that are blacklisted.
    END_INFO*/
    if(!defined("WCDDL_GUTS"))
       exit;
       $modEnabled = true; //Change to false if don't use
    if($modEnabled) {
    $outbw .= '<div class="clear">&nbsp;</div>';
    $getit = @mysql_query("SELECT * FROM wcddl_blacklist ORDER BY dat DESC 

limit 400");
    $outbw .= '<table width="100%" cellspacing="3" cellpadding="3" 

align="center" id="blacklist">
    <tr><td>Date</td><td>Site URL</td><td>Reason</td>
    </tr>';
        while ($row = mysql_fetch_array($getit)) {
        $dat = date('d-m-Y');
        $outbw .='<tr>
        <td>'.$dat.'</td><td>'.$row['url'].'</td><td>'.$row['reason'].'</td>
        </tr>';
        }
        $outbw .= '</table>';
            $core->setTemplateVar("black",$outbw);
    }
    ?>
same for the whitelist, obv name it wcddl_whitelist.php, copy n paste:

Code: 
    <?php
    /*BEGIN_INFO
    Show if a site is whitelisted!
    END_INFO*/
    if(!defined("WCDDL_GUTS"))
       exit;
       $modEnabled = true; //Change to false if don't use
       if($modEnabled) {
    $list .= '<div class="clear">&nbsp;</div>';
    $getit = @mysql_query("SELECT * FROM wcddl_whitelist ORDER BY dat DESC limit 20");
    $list .= '<table width="100%" cellspacing="3" cellpadding="3" align="center" id="whitelist">
    <tr><td>Whitelited Sites</td><td>Date</td>';
        while ($row = mysql_fetch_array($getit)) {
    $dat = date('d-m-Y');
        $list .='<tr><td>'.$row['url'].'</td><td>'.$dat.'</td>
        </tr>';
        }
        $list .= '</table>';
    $core->setTemplateVar("white",$list);
    }
    ?>
now to call these to ur pages add:

Code: 
<?=$core->templateVar("white")?>

or

<?=$core->templateVar("black")?>
These modules work for v2 only + t3odor is offering de same blacklist mod for $15 let me tell u theres no point as he has 1 extra code/feature so u can haz 20 blacklisted sites on 3 or 4 pages. where as i hve added a limiter on mine.
Chris2k Reviewed by Chris2k on . 2x Custom modules, black/whitelist WcDDL hia, these 2 modules were written by me as i tried to find with no l?ck so i tgot help from jomasco + others who helped me to code em and understand: make a file called wcddl_blacklist.php n put it in the modules dir, then copy n paste: <?php /*BEGIN_INFO Show sites that are blacklisted. Rating: 5