rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: riccetts on March 21, 2011, 01:58:23 PM

Title: limit uploads
Post by: riccetts on March 21, 2011, 01:58:23 PM
I would like to limit uploads on main page and be able to create another page for new uploads.
Can I do it with hfs 2.2 template?
Title: Re: limit uploads
Post by: rejetto on March 21, 2011, 04:27:04 PM
limit uploads on the main page? what kind of limit?
Title: Re: limit uploads
Post by: riccetts on March 21, 2011, 06:05:39 PM
Yes on the main page
Like limiting 20 downloads per page.
after the twenty limit it adds a new page.
Title: Re: limit uploads
Post by: rejetto on March 22, 2011, 12:53:02 PM
downloads? you started saying uploads. What's the right one?
Title: Re: limit uploads
Post by: riccetts on March 22, 2011, 01:56:19 PM
I'm sorry I don't mean to confuse you.
Set the amount of downloads per page.
when it reaches that limit, the next upload created
will start a new page.
Title: Re: limit uploads
Post by: rejetto on March 22, 2011, 03:51:10 PM
try to be more specific, i don't understand what you need.
i don't see why downloads should create pages.
a screen shot may help.
Title: Re: limit uploads
Post by: riccetts on July 02, 2011, 02:30:31 AM
I am trying to make a site like a torrent site. So what I'm trying to do is limit the amount of files per page. Is there a way to set a limit on files?
Title: Re: limit uploads
Post by: Mars on July 03, 2011, 05:33:38 PM
 It seems to me that it is explained in the wiki.
Title: Re: limit uploads
Post by: riccetts on July 05, 2011, 01:01:58 AM
What wiki is it listed under?
Title: Re: limit uploads
Post by: Mars on July 05, 2011, 01:16:48 PM
Quote
What wiki is it listed under?
Full of instructive reading
http://www.rejetto.com/wiki/index.php?title=HFS:_URL_parameters

Be exactly interested more in
Code: [Select]
offset=nn
List files from the offset nn(0 being the first file)
limit=nn
Limit the listing with nn items
page=mm,nn 
List files from the page mm with nn items

And to go farther
http://www.rejetto.com/forum/index.php?topic=1939.msg1010138#msg1010138