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.
You have to be careful Gavo with the DownloadsGetQuery. Don't replace it.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
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)';
}
public function DownloadsGetQuery($sql) {
$sql = str_replace("s.name as site_name", "s.name as site_name, s.rate as rate ", $sql);
}
Ya jomasaco didn't code them correctly or they have a bug.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.
Thank youAnother great mod you have been busy.
You must have all the major wcddl2 modules coded for wcddl3 now & more for free :D
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.