hi,

here's the wcddl2 mod,

PHP Code: 
<?php
   
/*BEGIN_INFO
    Check Hosts
    END_INFO*/
if(!defined("WCDDL_GUTS"))
    exit;
$modEnabled true//Change to false if don't use

if($modEnabled) {  //start of $modenabled

$hosts=array("rapidshare.com/files/","megaupload.com/?d=","hotfile.com/dl/","fileserve.com/file/","filesonic.com/file/","storage.to/get/","netload.in/datei","depositfiles.com/files/","filefactory.com/file/","uploading.com/files/",".easy-share.com/","ugotfile.com/file/","filesmonster.com/","enterupload.com/","megarotic.com/","uploadbox.com/","sharingmatrix.com/","turbobit.net/","oron.com/","shareflare.net/download","**********/download/","gigasize.com/get.php","file-rack.com/files/","extabit.com/file","share-online.biz/dl","freakshare.net/files","wupload.com/file","filejungle.com/f","fiepost.com/files","filevelocity.com/","rapidgator.net/","glumbouploads.com/","ul.to/");

$mhosts=array("RS","MU","HF","FS","SO","ST","NL","DF","FF","UP","ES","UG","FM","EU","ME","UB","SM","TB","OR","SF","ZD","GS","FR","EB","S-O","FS","WU","FJ","FP","FV","RG","GU","UL");

$titles=array("RapidShare","Megaupload","HotFile","FileServe","Filesonic","STorage.to","Netload","DepositFiles","FileFactory","Uploading","Easy-Share","Ugotfile","FilesMonster","EnterUpload","Megarotic","UploadBox","SharingMatrix","TurboBit","Oron","ShareFlare","Ziddu","GigaSize","File-Rack","ExtaBit","Share-Online","FreakShare","WUpload","FileJungle","FilePost","FileVelocity","RapidGator","GlumboUploads","UL");

function 
gettitles($m) {
      global 
$hosts,$mhosts,$titles;
              
$a=explode(',',$m);
            
$b=str_replace($mhosts,$titles,$a);
            
$count=count($a);
            
$i 0;
            
$more '';
            
            for(
$i=0;$i<count($a);$i++) {
                if(
$i 5)
                    
$html .= '<span title="'.$a[$i].' - '$b[$i].'"><img src="/images/icons/'.$a[$i].'.png" /></span>  ';
                else
                    
$more .= $b[$i] .' ';
                    
                
$i++; 
            }
                if(!empty(
$more))
                
//<img src="/images/more.png" />
                    
$html .= '<span title="'.$more.' + More">+</span>';

            
        return 
$html;
    }

//end of modenabled
?>
problem: i think iv modified it rite btw if theres 4 hosts, it only counts 1 or 2 to display, i reelly need 3 host 2 show andd a "+"........

any help
Chris2k Reviewed by Chris2k on . Filehost not counted properly hi, here's the wcddl2 mod, <?php /*BEGIN_INFO Check Hosts END_INFO*/ if(!defined("WCDDL_GUTS")) Rating: 5