WCDDL Modules, Plugins and Extensions

Status
Not open for further replies.

Mr Happy

Active Member
4,093
2009
2,572
0
WCDDL Version 3 Modules, Plugins and Extensions


Now that WCDDL version 3 has got it's full release I've decided to start releasing plugins and modules for it. This thread contains WCDDL Modules, Plugins and Extensions for Version 3 only so no support will be given to Version 2. V3 is far faster, safer and easier to use so I'd advise you to consider upgrading. The modules and plugins available will be far superior to V2 as well. All plugins and modules in this thread will require the Plugin Manager below to be installed.
All the modules are designed so you can modify the appearance in the CSS file or the settings. You should never have to do manual edits on the modules. If you've questions just ask.

v1leU.png


WCDDL Plugin Manager

Info
The plugin manager allows you to install, change settings and update other plugins easily. To install just upload it to your modules folder and go to http://exmaple.com/wc3admin.php?go=installpluginManager

Download

https://rapidshare.com/files/2157303402/wcddl_pluginManager.zip
 
Last edited:
156 comments
No XXX on Home Page
Info
Prevents XXX downloads appearing on the home page and other pages if required.

Download
https://rapidshare.com/files/2182124685/wcddl_noxxx.zip



Admin Login Protection
Info
This module prevents brute force login protection (guessing random passwords) by limiting the number of attempts. You can specify the amount of chances in the options. It also adds a Logout Button to the navigation.

Screenshots
Admin Settings

Download
https://rapidshare.com/files/4042038965/wcddl_adminProtection.php



Total Downloads
Info
Shows the total downloads in the Database for each type and the number of downloads in the queue. The total number is cached and saved so the number doesn't have to be counted on each page load. This makes it very efficient and you can set how often you want it to update in the ACP.

Screenshots
Admin Settings Typical View

Download
https://rapidshare.com/files/3722229948/wcddl_totalDownloads.php



Text and Button Linkback Page
Info
An easy to add page for Text and Image Buttons all controlled through the ACP including full SEO and URL settings. The mod uses a default page which can be used by other modules like the contact module, dcma module, Advertise module, Popular Downloads module etc. This allows you to only have to update one page to update your whole site.

Screenshots
Button and Text Link Page Admin Settings Easy to Install Admin Show Help for Settings

Download
https://rapidshare.com/files/2843269744/buttons_page.zip


RSS Feed
Info
Add a valid RSS Feed to your site and all your site categories. It's fully customisable through the APC so their are no file edits.

Screenshots
Admin Settings Easy to Install Admin Show Help for Settings

Download
https://rapidshare.com/files/1619102743/wcddl_rss.php


Users Online
Info
This is one of my favorite ones. Users Online modules are usually very heavy on a server. The one I see on some sites for Version 2 is terrible. This one caches the number of people online and only updates when needed reducing server load along with having far more features like the robots online, how many users online in a day and the record number of users online. As usual with other modules every part can be modified via the ACP making it easy to install and use.

Screenshots
Example 1 Example 2 Example 3 Admin Settings Easy to Install Admin Show Help for Settings

Download
https://rapidshare.com/files/4239821933/wcddl_usersOnline.php




Change Log
28 Jan 2012 - Updated Admin Login Protection to Version 2.1
 
Last edited:
Added Admin Login Protection, Total Downloads and Link Back Page.

All are super easy to install. No file edits are required and you can change any settings you want from the ACP (example) and they even include inbuilt admin help instructions and guidelines (example).

I've created a new file page.php. This is a default page that I will use for loads of modules and plugins like a DCMA page, Contact page, Link Back Page, Rules Page, Advertise Page, Popular Downloads etc etc which will be released over the coming weeks.
The advantage is if you update this one page then you've your whole site updated.
From a developer point of view it has just four lines of php code so I'm hoping that all developers who are going to be releasing skins will add it as it's incredibly simple and easy for everyone. From a webmaster it means all settings are easy to do in the ACP so you'll never have any files to edit.

Any problems with modules let me know. More will be released in time.
 
My first work
Sites Manager Extended
Code:
https://rapidshare.com/files/2430555014/wcddl_siteuparrow.php
convert the normal sites Manager in to an new whit more features.

5fqfme.png

this on that


30js940.png
 
Last edited:
Added RSS Feed and Users Online Module. The users online one is pretty good. Not only does it cache the number of people online to reduce server load (all version 2 modules of this are terrible) it allows you to fake the amount of users online too so you can make your site look busier.

DdGEM.png
 
V1.0 jomasaco - site name arrow up
/*
Install
index.php
FIND
$downloads->query = str_replace('-', ' ', $downloads->query);
AFTER ADD
$downloads->siteInfo = true;
FIND
<td>Views</td>
CHANGE TO
<td>Views</td><td>Provider</td>
FIND
<td><?php echo $row->views; ?></td>
AFTER ADD
<td><?php echo $row->arrowup ?></td>
*/

2qbx0y1.png
b84ah4.png

https://rapidshare.com/files/2011959557/wcddl_siteuparrow.rar
Code:
https://rapidshare.com/files/2430555014/wcddl_siteuparrow.php
 
Last edited:
Mr Happy can i post the mods to my blog? with credits to this post .... or another site if you want
Of course. The only thing you need to be aware of is updating the posts. For example I know the noxxx module has an issue with a new module jomasaco is working on and the buttons module doesn't save the seo stuff which I'll fix over the weekend along with releasing some new ones.
 
time_added Today/Yesterday/Date ex(2012-01-22)
PHP:
<?php
/*BEGIN_INFO
V1.0 jomasaco - Today/Yesterday/Y-m-d(2012-01-22).
END_INFO*/

if(!defined("WCDDL_GUTS"))
    exit;
$modEnabled = true; //Change to false to turn it off

function todayesterday($rows) {
foreach($rows as $row) {
if(date("Y-m-d") == date("Y-m-d",strtotime($row->time_added))) {
$row->time_added = "Today";
} elseif(date("Y-m-d",strtotime("yesterday")) == date("Y-m-d",strtotime($row->time_added))) {
$row->time_added = "Yesterday";
} else {
$row->time_added = date("Y-m-d",strtotime($row->time_added));
}
}
}

if($modEnabled) 
Core::load()->hook('DownloadsGetRows', 'todayesterday');
Other Version Today/Yesterday/X ago ex(3 days ago)

PHP:
<?php
/*BEGIN_INFO
V1.1 jomasaco - Today/Yesterday/Time ago.
END_INFO*/

if(!defined("WCDDL_GUTS"))
    exit;
$modEnabled = true; //Change to false to turn it off

function todayesterday($rows) {
foreach($rows as $row) {
if(date("Y-m-d") == date("Y-m-d",strtotime($row->time_added))) {
$row->time_added = "Today";
} elseif(date("Y-m-d",strtotime("yesterday")) == date("Y-m-d",strtotime($row->time_added))) {
$row->time_added = "Yesterday";
} else {
$date2 = time();
    $blocks = array(
        array('name'=>'year','amount' => 60*60*24*365),
        array('name'=>'month','amount' => 60*60*24*31),
        array('name'=>'day','amount' => 60*60*24)
        );
   
    $diff = abs(strtotime($row->time_added)-$date2);
    $result = array();
    foreach($blocks as $block)
        {
        if ($diff/$block['amount'] >= 1)
            {
            $amount = floor($diff/$block['amount']);
            if ($amount>1) {$plural='s';} else {$plural='';}
            $result[] = $amount.' '.$block['name'].$plural;
            $diff -= $amount*$block['amount'];
            }
        }
    $row->time_added = implode(' ',$result).' ago';
}
}
}
if($modEnabled) 
Core::load()->hook('DownloadsGetRows', 'todayesterday');
 
Last edited:
dHDI2.png



LT0dg.png


Easy to Install and Modify Options via the Plugin Manager

vovrG.png


Queued Downloads

Info
This module allows you to sort the queue by various settings. You can sort them by rating, date, site, last submitted or Random. You can record rejected downloads and have it automatically check for valid titles. The queue also shows you how many queued submits are remaining for each rating.
In the settings you can add words to highlight in the titles which helps you find invalid title.

Download

https://rapidshare.com/files/4040479525/wcddl_queued.php


Change Log:
2nd Feb - Fixed bug where some sites don't have rating system.
 
Last edited:
76nCb.png



fbwxl.png


Easy to Install and Modify Options via the Plugin Manager

F0bEa.png


fA0kW.png


Blacklist Websites Page

Info
Show the Blacklisted websites and the reason they were blacklisted. If you have my ACP Module installed that lets you ban for a period of time it will also show when a site will be unbanned. The module uses the page.php file which is the same as the buttons module. This means you don't have to go editing loads of files if you ever change theme and it has full SEO incorporated.

Download

https://rapidshare.com/files/3383253582/blacklist.zip
 
Can't wait to test out the DMCA and banned site modules!

I'm having trouble with the plugin manager though. It doesn't show that there are any other modules, so I can't install any unless I go to their hard install link.
 
@Mr Happy found an error with the Admin Protection.

I was getting an cannot modify header error when logging out.

If anyone else gets it open up the wcddl_adminProtection.php file and search for: (Line 86)
PHP:
header("Location: index.php");

remove the space before :index.php

Save it and error should be gone.
 
Status
Not open for further replies.
Back
Top