» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 48
0 members and 48 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Latest Downloads Module within the Purged Topics forums, part of the NM Staff category; I can't seem to find one. They use one @ http://www.vigilantegamers.com/ Does anyone know where I can'...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2002, 09:32 AM
Junior Member
 
Join Date: Oct 2002
Location: USA
Posts: 3
Latest Downloads Module
I can't seem to find one.
They use one @ http://www.vigilantegamers.com/

Does anyone know where I can't get this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-07-2002, 09:13 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
I don't know if this is th esame thing, but Nuek already has a default Top 10 Downloads block.

Go to Nuke Admin, Blocks and add the one called Top10 Downloads.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-08-2002, 07:25 AM
Junior Member
 
Join Date: Oct 2002
Location: USA
Posts: 3
Thanks for the reply Mike.
I do know about the "Top 10" mod.
What I'm looking for is a block or module that will show the last downloads I have added to the database though, not the top downloads.

But thanks for the help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-08-2002, 12:28 PM
dar63's Avatar
Moderator
 
Join Date: Oct 2002
Location: UK
Posts: 473
Code:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2001 by Francisco Burzi (fbc@mandrakesoft.com)         */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/*                                                                      */
/* PHP-Nuke Version: 5.4                                                */
/************************************************************************/

if (eregi("block-Downloads_10New.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

$modname = "Downloads";
global $prefix, $dbi;

$a = 1;
$result = sql_query("select lid, title from $prefix"._downloads_downloads." order by date DESC limit 0,10", $dbi);
while(list($lid, $title) = sql_fetch_row($result, $dbi)) {
    $title2 = ereg_replace(" ", "_", $title);
    $content .= "$a<big>&middot;</big> <a href=\"modules.php?name=Downloads&amp;d_op=viewdownloaddetails&amp;lid=$lid&amp;ttitle=$title2\">$title</a>
";
    $a++;
}

?>
Save as block-Downloads_10New.php and put it in your blocks dir.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-09-2002, 12:04 AM
Junior Member
 
Join Date: Oct 2002
Location: USA
Posts: 3
Thanks a million dar63.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloads Module bug? - How To? prekill Nuke 7.x - Modules 1 11-22-2006 03:37 AM
Downloads Module Andrew87 Nuke 7.x - Modules 0 05-20-2005 05:56 PM
Downloads module Javed Nuke 6.5 to 6.9 - Modules 2 06-22-2003 10:07 PM
Downloads Module: Streaming downloads pacozorro Nuke 6.5 to 6.9 - Modules 2 06-10-2003 05:20 PM
help with downloads module! darkdan Purged Topics 2 01-02-2003 03:57 PM


All times are GMT -5. The time now is 08:10 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31