Official: WCDDL - The DDL Script

Status
Not open for further replies.
WCDDL3 BETA RELEASE
http://warezcoders.com/code/wcddl3_beta.tgz

WCDDL3 Submail & Backlink Check Mods
http://warezcoders.com/code/wcddl3_modules.tgz

Notes:
- This is a beta, it may contain bugs
- No huge/drastic frontend features have been added (yet?)
- The entire script has been recoded except the design and such
- Database has been restructured
- PHP 5.3 OR LATER IS REQUIRED
- POST ANY BUGS HERE

To install from clean:
- Import database.sql
- Edit wcfg.php

To upgrade wcddl2:
- Import the upgrade SQL file
- Edit wcfg.php
- Edit your site's pages to use the new code

I know some of you will have been expecting a bunch of new features, functionality, visual changes, etc, but I have concentrated more on efficiency and making the code cleaner. Modules can be written for extra features.

My aim is good, efficient, clean and secure code
My aim is NOT to add masses of features so that every randomer can throw up a DDL in 5 mins.

See the dev thread for how-to on modules/hooks/etc.
 
Last edited:
The two modules I coded are there now too.

One uses a function, one uses a class. This is mostly for the devs here so you can see how each method works.
 
You forgot to include the admin links for the config in the default sql.

This is in upgrade but also should be in the database.sql

PHP:
INSERT INTO wcddl_config (config_name, config_val) VALUES ('admin_links', '"a:7:{i:0;a:2:{i:0;s:9:"?go=queue";i:1;s:5:"Queue";}i:1;a:2:{i:0;s:13:"?go=downloads";i:1;s:9:"Downloads";}i:2;a:2:{i:0;s:13:"?go=whitelist";i:1;s:9:"Whitelist";}i:3;a:2:{i:0;s:13:"?go=blacklist";i:1;s:9:"Blacklist";}i:4;a:2:{i:0;s:11:"?go=modules";i:1;s:7:"Modules";}i:5;a:2:{i:0;s:16:"?go=downloadsAdd";i:1;s:12:"Add Download";}i:6;a:2:{i:0;s:9:"?go=sites";i:1;s:12:"Manage Sites";}}"');
 
Oh my bad, it's in the upgrade but not the db one.

I fixed that now.

EDIT:
Fixed a few bugs, redownload if you're trying it out. Just overwrite wc3.php.

EDIT:
Changed a couple of things, overwrite submit, wcfg and wc3.
 
Last edited:
Excellent work JmZ. Had to work out 2-3 minor bugs but you've them all fixed now.

Really easy to setup. Just upload, edit the wcfg.php and your good to go :)
 
Yeah it seems to work fine now, hopefully people understand the modules and can convert their v2 ones to v3 now.

I'll release this officially once im completely sure its done. Until then it'll remain a beta.
 
Updated the beta slightly.

Altered hookable/alterable queries to use named parameters so you can easily alter them (e.g. $params['id'] = 99).

Also changed a few lines slightly and put rating column back but it is unused, just there for modules to make use of and to make upgrading easy.

Edited first post a bit too.
 
Last edited:
Added a small tutorial thing for theme devs, it'll tell you the basics of how to do a v2 -> v3 conversion, see the links at the bottom of the original post.

Also apologies for triple post but it was needed.
 
hi,
i installed wc-ddl and its really a great script. i wanted to know how to setup my admin panel in the script?

regards

edit:
i setup my panel but i get this error when i log in to my admin panel....

WCDDL encountered an error during execution:
opendir(modules/) [function.opendir]: failed to open dir: No such file or directory
Line 48 in /home/soulwrz/public_html/linkparadox.com/funcs.php
 
Hello
Can You Guide Me Complet WcDDL Tutorials When I Install Some Error

How Can I Configure funcs.php I Want Katzporn DDL Script

18150305.jpg
 
There is some issue in beta (at least I had it)
<?=$row->showTitle()?> is NOT showing download name. Instead I had to use <?=$row->title?>
I've just finished setting up WCDDL3 with some SEO additions http://eliteddl.us . If someone wants script I'm using, PM me I'll be glad to share it ;)
 
ok im back from the US & france, now i have a couple of exams to do then ill finalise this.

showTitle() has a typo or missing line, its fixed in my copy so ill upload that at some point.
 
Status
Not open for further replies.
Back
Top