define('WCDDL_PATH_MODULES', '/path/to/wcddl/modules/');
Sorry that I forgot to mention, but I have set $modEnable=true; already. Also for the plugin manager I have followed the link domain.com/wc3admin.php&go=installPluginManager but still I don't see it. Not only the plugin manager but other modules aren't working too.
Haven't really played around with v3 so not quite sure why it's not working for you. In your admin panel you should see Plugin Manager after you install it. http://screensnapr.com/e/h9imlM.png
Make sure in your wcfg.php file that you have the correct path for the modules folder(don't use your domain)
PHP:define('WCDDL_PATH_MODULES', '/path/to/wcddl/modules/');
I have a vps , what will the username be in
username/public_html/modules/ be ?
<?php echo getcwd(); ?>
public function queue() {
Core::load()->executeHook('DownloadQueuePre', array(&$this));
$this->id = Database::quickExecute('INSERT INTO ' . WCDDL_DB_PREFIX . 'queue (sid, title, type, url) VALUES (:sid, :title, :type, :url)', array(
'sid' => $this->sid, 'title' => $this->title, 'type' => $this->type, 'url' => $this->url), true);
return $this->id;
}
public function queue() {
$query = 'INSERT INTO ' . WCDDL_DB_PREFIX . 'queue (sid, title, type, url) VALUES (:sid, :title, :type, :url)';
$params = array('sid' => $this->sid, 'title' => $this->title, 'type' => $this->type, 'url' => $this->url);
Core::load()->executeHook('DownloadQueuePre', array(&$query, &$params));
$this->id = Database::quickExecute($query, $params, true);
return $this->id;
}