rejetto forum
May 24, 2012, 03:01:48 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Testing build 093  (Read 4076 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« on: April 25, 2007, 08:52:52 PM »

download www.rejetto.com/temp/hfs093.exe

what's new...
Code:
+ main tray icon shows -> number of different IP addresses
+ main tray icon shows -> number of different IP addresses ever connected
+ Log menu -> "Addresses ever connected..."
+ new template symbols: %sequential% %number-addresses-ever%
+ offset and limit URL parameters
+ File menu -> "Don't log"
+ Menu -> Limits -> "Prevent leeching"
+ custom symbols %sym-NAME%
* log menu -> log what -> replies  ...now disabled by default
* log: no more "served" messages after "full downloaded"
- graph visibility was not saved
- bad %protected% behaviour


here is a bunch of features for template makers! (templaters?)

the %sequential% symbol is substituted with an increasing number. if it appears 3 times in a page, it will be 1, 2 and 3...
this was requested long ago by flynsarmy

offset and limit in URL work this way:
an url like http://your_ip/folder/?offset=30&limit=30
will give you only files from 31 to 60.
using javascript you may achive to have multipage folders. the default template doesn't use this feature yet.

the %sym-NAME% symbols mean that you write %sym-blablabla% and it will expand with the content of [sym-blablabla]
it may be useful when you have the same text several times in a template, and what to create a shorcut.
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #1 on: April 25, 2007, 09:16:20 PM »

YAY, these features will help a lot with our templates. It also means re-working the templates a little bit... but we'll get there.

Looks like i'll be postponing the ToG release further  Shocked
Logged

TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #2 on: April 26, 2007, 04:13:33 AM »

ok, the ?offset=30&limit=30 thingo is working good by the looks of it.... but i don't like how it just cuts the file list... it would be nice if we could set a maximum amount of files/page and then navigate them with  <<previous | next >> or even a number system... if we can cut the file list like that so far... then wouldn't it be possible to allow a person to navigate to the next page of files?


EDIT:
Hmm so far i haven't found a use for the new features in the ToG... maybe some other time. I tried putting %sequential% as the div ID's for the previews, other than making the code valid html, it really bloats up the code a lot more and so keeping with the ToG lightweight nature i decided to leave it how it was. If anyone has any suggestions for the ToG and the new features go for it. I'm going to release it on saturday with a link to this build. I just need some time to check through the code again.
« Last Edit: April 26, 2007, 04:57:44 AM by That_Stevens_Guy » Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #3 on: April 26, 2007, 06:17:03 AM »

it would be nice if

sure, but it's up to the template, ATM

Quote
I tried putting %sequential% as the div ID's for the previews, other than making the code valid html, it really bloats up the code a lot more

it does? flynsarmy asked saying it would shrink. ask him.
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #4 on: April 26, 2007, 06:58:22 AM »

I have a new version which fixes many bugs and includes if else checks between all media preview types, I basically wrote a new function using his one as a template and well... it works so damn nice lol.

I had another go using the new feature... the problem is when looking at %item-name% in a javascript variable, the last file in the list will be the song for example that is played, i am unsure but i think i would have to store it in some sort of array or something... when using the other method the div id is unique and the song is played correct... the only problem this has is that the item-name contains spaces in it which is an illegal syntax for a ID tag with w3c, and so it spits out errors. I mean i don't mind this cause its nothing major.

The only known html errors with the ToG are ... the divs are inside link tags for an image... and the ID tag thingo for the media previews...

Maybe working with Chrno and Giant Eagle we can create something like a multi page file list using this new url feature...
Logged

Giant Eagle
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« Reply #5 on: April 29, 2007, 03:22:02 PM »

niiice! have been waiting for this a long time Cheesy

Maybe working with Chrno and Giant Eagle we can create something like a multi page file list using this new url feature...

I've already created a multi-page file list system with only using javascript. it only showes 10 files a page and has a << previous and next >> button that works.. The method that is used is very similar to the new url thing, so it can be easily converted (i think)
Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

rejetto forum
« Reply #5 on: April 29, 2007, 03:22:02 PM »

Do you like this software? Consider even $2
 Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #6 on: April 29, 2007, 07:38:18 PM »

sweeet i thought i remembered a code that did it  Cheesy
Logged

Flynsarmy
Experienced poster
***
Offline Offline

Afghanistan Afghanistan

Posts: 92


DENIED!


View Profile WWW
« Reply #7 on: April 30, 2007, 02:46:54 AM »

It's easy to get javascript next/prevous buttons for file offsets, but you'd be better off adding %next-page% and %previous-page% calls in HFS. that work in the [files] section. That way it'd work for ALL browsers, not just ones with javascript enabled.
Logged
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #8 on: April 30, 2007, 04:49:10 AM »

Does %number-addresses-ever% start counting from zero? Orr shows ips connected since hfs is running on the pc?
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #9 on: April 30, 2007, 05:27:22 AM »

it starts counting from this build, and the number is saved when you quit.
but you can reset it.
Logged
Alons0
Tireless poster
****
Offline Offline

Bulgaria Bulgaria

Posts: 197



View Profile WWW Email
« Reply #10 on: April 30, 2007, 06:36:30 AM »

it starts counting from this build, and the number is saved when you quit.
but you can reset it.
OK
In the next beta please put a scrollbar in the window which is accessible form the log.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 16, 2012, 01:26:42 PM
anything