Previous Thread
Next Thread
Print Thread
Rate Thread
#101349 09/28/2000 9:17 PM
Joined: May 2000
Posts: 243
Member
Member
Offline
Joined: May 2000
Posts: 243
Yeah Mark, your right. To exactly tell you what I'm doing. This is part of the news script I made at my site:
http://www.outpostd34.com/3do

In the '3do Archives' Section near the bottom I have a table called "Latest 10 3do's", and you see it has listed. Rating and the number of downloads it has. Well I want to change it to the 10 most downloaded files. Everytime someone clicks on to download a file. It opens up the $filename.3df (The $filename variable is the number of which the news file was added. thats how I get the number) and then adds 1 to the current number of downloads. So I want to open all the files. And sort them by the number of downloads the have. This is what one of the files looks like:

15|zanardi|[email protected]|Jedi Knight|A shotgun. Works with dflt.mat. Has custom textures|9-24-00|zanardi|[email protected]|Shot Gun|dflt.cmp|shotgun.zip|nshot.jpg|2|2|7|weapon|

The first number 2 that you see (Feild number 12) is the number of downloads the file has. the other numbers are just part of the rating system. Hope that helps ya a little bit.



------------------
My Freeware Board

Sponsored Links
Entire Thread
Subject Posted By Posted
Sorting zanardi 09/28/2000 2:18 AM
Re: Sorting Twenty7 09/28/2000 5:58 AM
Re: Sorting zanardi 09/28/2000 3:39 PM
Re: Sorting The Team 09/29/2000 1:20 AM
Re: Sorting Mark Badolato 09/29/2000 2:33 AM
Re: Sorting zanardi 09/29/2000 4:17 AM
Re: Sorting Mark Badolato 09/29/2000 5:38 AM
Re: Sorting zanardi 09/29/2000 2:50 PM
Re: Sorting Twenty7 09/30/2000 12:30 AM
Re: Sorting zanardi 10/07/2000 2:01 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online 961
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 0
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)