Skip to content
WJunction - Webmaster Forum

[WCDDL v2]WGTools Link Checker

Status
Not open for further replies.
Copy the following code in a file and save it as wcddl_lc.php and paste the file in the modules folder

PHP:
<?php 
    /*BEGIN_INFO
    WGTools Link Checker<br>
    END_INFO*/
if(!defined("WCDDL_GUTS")) 
    exit;
$download = $core->fetchDownload(true);
    global $core; 
$lcurl = 'http://wgtools.com/link-checker/?url=' . $download['url'];
$wglc = '<a target="_blank" href="' . $lcurl . '"><strong>Check Download Links</strong></a>';
    $core->setTemplateVar("linkchecker",$wglc);
    ?>

add <?=$core->templateVar("linkchecker")?> wherever you want in leftbar.php


Codes are from WGTools Link Checker, I've just managed to make it into a module. =)

After I've done this that I've noticed that there was a WGTools Link Checker addon for WCDDL v1 but I don't know if it's the same :'(
 

3 comments

PHP:
<?php 
/*BEGIN_INFO
    WGTools Link Checker
END_INFO*/
if(!defined('WCDDL_GUTS')) exit;
$download = $core->fetchDownload(true);
global $core; 
$core->setTemplateVar('linkchecker', '<a target="_blank" href="http://wgtools.com/link-checker/?url='.$download['url'].'"><strong>Check Download Links</strong></a>');
?>
Shortened and Optimized
 
Status
Not open for further replies.

About the author

S
Active Member · Joined
625
Messages
18
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom