SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostGator Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
February 11, 2012, 12:29:18 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 9906
Latest:
mdebruijne
Stats
Total Posts: 27821
Total Topics: 4860
Online Today: 86
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 4
Guests: 73
Total: 77
sfp
landshark
mdebruijne
SMFHacks.com
Forum
Downloads System Pro
Support
Multiple downloads folders
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Multiple downloads folders (Read 898 times)
Tribal-Wolf
Newbie
Offline
Posts: 12
Multiple downloads folders
«
on:
July 26, 2010, 06:05:25 am »
Is there a setting or some other way to regulate how many files or how much data is stored in each folder? When I first enabled it there was a folder 0 then it created a folder 1 but now folder 1 is huge and it has not created any more folders.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9409
Re: Multiple downloads folders
«
Reply #1 on:
July 27, 2010, 11:57:58 am »
It is based on every 1000 files uploaded.
Logged
Tribal-Wolf
Newbie
Offline
Posts: 12
Re: Multiple downloads folders
«
Reply #2 on:
July 27, 2010, 12:37:17 pm »
Is there a way to change that figure?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9409
Re: Multiple downloads folders
«
Reply #3 on:
July 27, 2010, 12:43:37 pm »
You would have to edit the code it is based on the file id.
Open either Sources/Downloads.php or Sources/Downloads2.php
Find
Code:
$folderid = floor($ID_FILE / 1000);
And replace 1000 with the number you want. If you wanted to do 100 instead of 1000 just use 100
Logged
Tribal-Wolf
Newbie
Offline
Posts: 12
Re: Multiple downloads folders
«
Reply #4 on:
July 27, 2010, 01:13:37 pm »
Great, thanks for your help
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Tweet Topics System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
** Purchased ** The datab...
by
SMFHacks
[
Today
at 12:08:07 pm]
Support needed please
by
SMFHacks
[
Today
at 09:32:34 am]
Simple Audio Video Embede...
by
simibill
[
Today
at 08:49:33 am]
Bulk upload fails to load
by
SMFHacks
[
Today
at 08:36:58 am]
Any news?
by
maxipes
[February 10, 2012, 02:42:09 pm]
boardindex categories
by
SMFHacks
[February 10, 2012, 02:23:51 pm]
Profile comments ERROR he...
by
SMFHacks
[February 10, 2012, 10:26:45 am]
statistics?
by
exit
[February 09, 2012, 04:47:13 pm]
Gallery Pro Support Neede...
by
SMFHacks
[February 08, 2012, 09:09:16 pm]
Question about permission...
by
SMFHacks
[February 08, 2012, 09:11:02 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...