Who to order queue and mix the downloads
Author Message
c0rrupt
Administrator


Posts: 251
Joined: Mar 2010
Post: #1
Who to order queue and mix the downloads
0
0
Who to order queue and mix the downloads
Credit to jomasco

Open funcs.php file and search for
PHP Code: (Select All)
foreach($_POST['ad'] as $addKey => $addVal) { 

before add:
PHP Code: (Select All)
shuffle($_POST['ad']); 

Search for and comment:
PHP Code: (Select All)
$get "SELECT id,sid,title,type,url FROM wcddl_queue ORDER BY id ASC LIMIT 0, 250"

Add above:
PHP Code: (Select All)
$get"SELECT q.id,q.sid,q.title,q.type,q.url FROM wcddl_queue q LEFT JOIN wcddl_sites s ON (s.id = q.sid) ORDER BY s.rating, s.id ASC LIMIT 0,".($this->limit 4).""

Be sure to visit WCDDL.org Affiliates
12-30-2011 03:49 PM


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [WCDDLv2] Show the total amount downloads for a specific site c0rrupt 0 48 07-26-2012 04:37 PM
Last Post: c0rrupt
  Strip all the slashes from downloads c0rrupt 0 48 07-04-2012 10:33 AM
Last Post: c0rrupt
  Limit Queue Display c0rrupt 0 68 09-28-2011 06:27 PM
Last Post: c0rrupt



User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.