kDDL Webmasters - Better Loading Edit Downloads

Status
Not open for further replies.

Whoo

The Wise One
2,480
2008
282
0
Hi,

I am targetting all DDL webmasters that are still running kDDL. As you may already know when you have a huge number of downloads in your database it takes a (long!) while to load the view/edit downloads page. It's because of all the page number that are generated at the bottom. I made an improved code to increase the loading time from ages to really fast lol.

open edit.class.php

Find:
Code:
$this->page("admin.php?go=stats&page=");

Replace by:
Code:
for($y = 1; $y <= 20 ; $y++){
  echo '<a href="admin.php?go=stats&page='.$y.'">['.$y.']' ;
}

change the 20 to how many pages you want it to display in your admin panel.

Enj0y!
 
12 comments
wcddl is better nd cleaner coded dont get me wrong but by releasing it to public how it did gave hundreads of noobs an easy script to use, now having a bunch of sites that look the same.....it didnt help decrease the amount of ddl sites popping up it jus helped make aonther hundread b created.
 
Well actually VD, I carefully considered all of the things you are pointing out before I even started coding WCDDL.

The number of sites which now exist with WCDDL would easily have been matched if KDDL were still the standard, so me releasing it publicy hasn't affected anything.

Also, even if you think it's used more, why does that mean you have to use KDDL?
You'd rather run a bulky, slow script than a speedy one?

I'm in the process of converting undernation to it and it's at least 50% smaller in database size (with the same amount of downloads).
 
JmZ maybe you can write down each step that needs to be taken to convert from kDDL to WCDDL =) If like you say its at least 50% smaller then I will probably convert too :)
 
- import wcddl tables into kddl db
- upload kddl to wcddl conversion tool from inside wcddl zip
- run conversion tool
- code design into wcddl (see default files)
- apply any rewriterules and such
- done
 
.m0zilla stay on topic please. Ak47 didn't mean it I think.
You should't just say stuff like that just to avoid a flame war.
It even contradicts yourself:I see the biggest DDL sites all running on kDDL so they must not be as noobish as you say they are.

Regards and keep this topic clean will you.
 
Status
Not open for further replies.
Back
Top