If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Top Downloads - wont scan files  XML
Forum Index » Support Forum
Author Message
trekker9876
Beginner

Joined: 05/06/2004 04:20:41
Messages: 23
Offline

I have the top downloads installed and working at my
/cgi-bin/download directory
I have my downloads in
download/
download/movies
download/sounds
download/etc

without adding all 500 downloads manually again, how can I get this program to scan all the downloads???

thanks

Jeff
[WWW] [Yahoo!] [MSN]
freddie
Beginner

Joined: 31/07/2004 22:43:08
Messages: 8
Offline

You need to determine the root directory for scan to work, and it does work!

look for my post on how to find root directory posted 2nd August 2004
trekker9876
Beginner

Joined: 05/06/2004 04:20:41
Messages: 23
Offline

freddie wrote:You need to determine the root directory for scan to work, and it does work!

look for my post on how to find root directory posted 2nd August 2004


in what category did you post? what has "look for the root dir" have to do with making the scan work?
[WWW] [Yahoo!] [MSN]
Anonymous



go to HTMLfixIT.com, look for their download counter,(you wont gain anything from theirs you need the same information!), the next program on that page is ASK PERL FOR HELP.
Thats what you need! Follow their instructions.
The first line is DOCUMENT ROOT, THATS WHAT YOU NEED!

Code:
# path to the downloads from the server root! (use for scanning)
$base_dir = "/blahblah/1234567/downloads;

If proberly wont bare any resembulance to your site,or to who you pay your money to!



If you have more than one directory for downloads just add it in thus;
Code:
]# path to the downloads from the server root! (use for scanning)
$base_dir = "/blahblah/1234567/downloads;
]]# path to the downloads from the server root! (use for scanning)
$base_dir = "/blahblah/1234567/downloads/moredownloads;


Every directory you want scanned will need to be added
Dont add site address, just the document root!

Scan works fine then!!!!!!!!

For those of you how haven't work it out, the first section is the setup; so where you see the proxy address change it to our own!

i still had problems when i went bact to it all, so ended up dumping the lot in one folder, which works fine, seems being tidy on a web page not a good idea.

Still cant get the downloader link to work!!!!!!!! You got any ideas?????
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum