Quote:
Originally Posted by CyberRanger
The only way to do this is to edit includes/class_downloads.php. Once you do that, the name displayed in the "tops" will be truncated on both the DownloadsII pages and on the VBA pages.
If you still want to do that, make these changes:
Around line 144 FIND:
PHP Code:
$name = addslashes($latest['name']);
REPLACE with:
PHP Code:
$name = addslashes(substr($latest['name'],0,xxx))." ... ";
Replace the xxx with how long you want the name to be. Follow the same procedure on line 174 (identical to above).
|
that works for the most popular but not the latest files. take a look
http://www.donkproject.net/index.php?page=home
bottom left hand corner