(#1)
c0rrupt Offline
Administrator
 
Posts: 185
Join Date: Mar 2010
Location: Canada
WcDDL BackLink - 04-14-2010, 06:42 PM

Create an new file name "wcddl_backlink.php"
inside past and upload it to your modules folder
Code:
<?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");
?>


Before doing any edits to your DDL Site always make a BACKUP first.
(#2)
linkstar Offline
 
Posts: 17
Join Date: Aug 2011
09-17-2011, 05:57 PM

mate this modules for what yeah?
can you guide me... thx

Bookmarks

Tags
backlink, wcddl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin


Content Relevant URLs by vBSEO