WCDDL Modules, Plugins and Extensions

Status
Not open for further replies.
Sorry. Their's no need for the <span> at all. You can just do:
PHP:
<td class="<?php echo strtolower($row->type); ?>"><?php echo $row->type; ?></td>
 
JmZ updated it on https://github.com/jmzrlz/WCDDL

All you have to replace is the config file (wcfg.php) and the wc3.php file. You don't need to reinstall anything if you replace these two files. That's why I hate to see people edit wc3.php file which happened a lot in Version 2 modules. Try not to do it in Version 3 as it makes it far easier to update.
 
Its the 1st time i even tried using wcddl hooks and had some problems

Am i getting it wrong or does Mr.Happys mods stop you using DownloadsGetQuery hook?
Its seems the mods override any settings from other mods.
 
Its the 1st time i even tried using wcddl hooks and had some problems

Am i getting it wrong or does Mr.Happys mods stop you using DownloadsGetQuery hook?
Its seems the mods override any settings from other mods.

Ya your right. I noticed this after I released it as I started coding a File Host module. If you download the latest version you won't have this problem. I've also added another few code improvements.

Get the latest version here http://www.wjunction.com/1403476-post54.htm
 
I got it sorted, i just used the full query pinched from one of your mods and added the extra row i wanted.

Im slowly getting there for the wcddl3 upgrade
You have to be careful Gavo with the DownloadsGetQuery. Don't replace it.

DO NOT DO
PHP:
public function DownloadsGetQuery($sql) {
		$sql = 'SELECT d.id, d.title, d.type, d.url, d.time_added, d.views, s.url as site_url, s.name as site_name, s.rate as rate
				FROM ' . WCDDL_DB_PREFIX . 'downloads d LEFT JOIN ' . WCDDL_DB_PREFIX . 'sites s ON (s.id = d.sid)';
	}

And instead do

PHP:
public function DownloadsGetQuery($sql) {
		$sql = str_replace("s.name as site_name", "s.name as site_name,  s.rate as rate ", $sql);
	}

The Reason is your modifying rather than replacing. If you replace you potentially modify or disable other modules while if each module modify's the sql then they can all work together.
 
File Host Module
Adds the file host to the download pages and removes duplicates and dead pages. Saves logs of downloads removed and includes debug mode.


Add and Search Websites
QEorw.png


Show File Hosts on Download Pages
D7ltU.png


Shows other File Hosts and their names on Hover
bh1Dp.png


List of Search Result Websites
hOpBF.png


Admin Settings
xBGXc.png


Easy to Install
4coJQ.png


ObHHi.png


File Host Debug Mode
Idblo.png


File Host Module

Features and Settings
Adds file hosts on download pages. When it checks a site for file hosts it checks if the download links were submitted by other sites. If they were submitted then it will automatically delete the download and record the deletion to a log. This record helps you identify sites which are submitting copied downloads. It also tells you which sites are submitting downloads on good file hosts.

Download

https://rapidshare.com/files/2334029127/wcddl_fileHost.php
 
Last edited:
I've noticed a weird bug that the Plugin Manager won't work properly when you add other wcddlv3 module from jomasaco.

I can't figure it out my self. Thanks in advanced.
 
I've noticed a weird bug that the Plugin Manager won't work properly when you add other wcddlv3 module from jomasaco.

I can't figure it out my self. Thanks in advanced.
Ya jomasaco didn't code them correctly or they have a bug.

For the plugin manager to work the class, functions and file all have to be called the same name. For example one of his modules is called wcddl_jomasasites.php but the class is called Jomasites which aren't the same and is causing the problem.

Nothing I can do about that.


As for the File Host Module I released earlier I've updated it to version 1.1 as I've added a check for Backlink Feature. When it's visiting the page to check the file hosts it now also checks for a backlink. You can enable or disable this in the settings as well as specify the URL to check for.

RPFXh.png


xBGXc.png
 
Another great mod you have been busy.
You must have all the major wcddl2 modules coded for wcddl3 now & more for free :D
Thank you :)


Almost. The last major one is the Webmaster Control Panel (WCP) module. It has to be released last as I want to include loads of stuff in the WCP area like the file host graphs. Therefore it has to be released last but I strongly encourage anyone running a WCDDL Version 2 site to upgrade now as the modules released are far superior to V2 and more efficient.
 
Ya jomasaco didn't code them correctly or they have a bug.

For the plugin manager to work the class, functions and file all have to be called the same name. For example one of his modules is called wcddl_jomasasites.php but the class is called Jomasites which aren't the same and is causing the problem.

Nothing I can do about that.


As for the File Host Module I released earlier I've updated it to version 1.1 as I've added a check for Backlink Feature. When it's visiting the page to check the file hosts it now also checks for a backlink. You can enable or disable this in the settings as well as specify the URL to check for.

Thanks! Now everything works properly.

As for the File Host Module, I'm not sure if that works, I keep get 404 page not found, which they are not. I've setup everything correctly, I added the cron job etc.
 
If you go to example.com/wc3admin.php?go=filehost&debug it should show you the logs as it goes through sites.

What it does is check the page it's visiting and if the page it's visiting sends a 404 header then it removed them and records them.

When you visit the debug page if it says the page is a 404 and it's not then tell me the page here or PM me a list of the pages it's saying are 404 and I'll check them out.
 
It disabled "Delete Submitted Pages which return a 404"
or else it will delete all submitted downloads. I get 404 on all downloads and on 3 different sites.

I will send you the log trough pm. thanks
 
Status
Not open for further replies.
Back
Top