WcDDL BackLink
Author Message
c0rrupt
Administrator


Posts: 250
Joined: Mar 2010
Post: #1
WcDDL BackLink
0
0
Create an new file name "wcddl_backlink.php"
inside past and upload it to your modules folder
<?php
if(!defined("WCDDL_GUTS"))
    exit;

// Config
$modEnabled = true;
$subBacklink = "yoursite.com";

function subBacklink($arr) {
    // Pretty old-style code, too tired to make a more complex piece
    // of code today. Maybe someone will modify it.
    global $subBacklink;
    if(!$arr['status'])
        return $arr;
    $surl = $arr['site']['surl'];
    $get = @file_get_contents('http://'.$surl.'/');
    if(preg_match('#href=\"http://(www\.)?'.$subBacklink.'#i',$get))
        return $arr;
    $arr['status'] = false;
    return $arr;
}

if($modEnabled)
    $core->attachDataHook("submitChecksPass","subBacklink");
?>

Be sure to visit WCDDL.org Affiliates
04-14-2010 01:42 PM
linkstar
Newbie


Posts: 16
Joined: Aug 2011
Post: #2
WcDDL BackLink
0
0
mate this modules for what yeah?
can you guide me... thx
09-17-2011 12:57 PM


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Show the downloads for a specific site (WCDDL v2) c0rrupt 0 36 07-26-2012 04:35 PM
Last Post: c0rrupt
  List Updated Last Time (WCDDL V2) c0rrupt 0 35 07-23-2012 02:49 PM
Last Post: c0rrupt
  [WCDDL] Download Provider Mod immu 2 181 09-25-2011 01:16 AM
Last Post: linkstar
  [WCDDL] Colored Category Titles Mod immu 1 112 09-17-2011 12:46 PM
Last Post: linkstar



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

This forum uses Lukasz Tkacz MyBB addons.