Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
HTML & templates / The really fast Throwback (retro) template. versions
« Last post by danny on June 11, 2018, 06:54:02 AM »
i saw alot of template chages, and revision, i was not able to save them all. . .
Development was in phases.  You only need versions 4 and 7.

Versions 1, 2, 3, 4 are the first phase, cumulating in Throwback4. 
Throwback4 is a good reference classic template and is PC-centric.

Versions 5, 6, 7 are the second phase, cumulating in Throwback7.
Throwback7 is refined to work well on the PC, tablet and phone.

7 is current.
Versions 8 and 1998 are development versions for a possible third phase. 
Version 9, not yet published, uses the guidelines revealed by the '98 version and most of the code from version 8, with the result of sharper looking tables and web browsing speed that is quicker than local file browsing.  I'm still working on that.

No progress so far on feature provisioning by an ordinary link carrying %item-url% to a separate page for management and media functions.  However, I have a huge list of other templates to look through to see if there is any similar code.
22
Classic elegance, some new features, and a lot more speed. . .
Tested with HFS 2.3K and 2.3L

Features:
Phone and Tablet screen-support, including good tap targets and easily readable fonts. 
Tested with both iPhone and Android.

Much faster file listings in lengthy folders because there's no slow checkboxes.
Efficient and colorful unicode icons display twice as fast.

Automated error correction for users.  When needed, it displays very polite messages briefly, and then quickly sends the user back to what they wanted to do.  It maintains the appearance of good working order.  So, you're free to use options like the "max connections" and "maximum simultaneous downloads from single address" limits to manage your bandwidth. 

Quickly disconnects hack scans; and that feature lowers the cpu load, improving speed.

Easy for users, with simplified interface, column layout, black background, and readable fonts.  Classic! 
So, easy to use that it is Cat-operable on a tablet, apparently.

Works nicely on a variety of screen sizes, from pocket size to wall size displays.

How to use: Save the tpl file in the same folder as hfs.exe, and then: Menu, HTML-template, Change-file, and choose the tpl file.

i saw alot of template chages, and revision, i was not able to save them all, but i thought it woth to downlaod at the time. so here are your tempaltes older veriosn that i have downlaoed and never touched:

https://drive.google.com/drive/folders/1AIU5-jPJm2yr5CU8fbeT-sbQmq6dK0Xy?usp=sharing
23
HTML & templates / Re: Need help with file delete feature.
« Last post by danny on June 03, 2018, 12:37:18 AM »
Sometime ago, I was thinking in another approach: removing the delete button, and adding a "+" button instead, which when clicked, it opens a modal screen (in dark grey color) with three nice and big buttons, giving options like: Rename, Delete and Move (and we could even add a 'Send to' when using a mobile). This way, the 'server side' check (to verify if we could delete the file), is only processed on-demand when that "+" button is clicked. I think this could be a win-win situation to solve this, not only because we don't overload the server, but we also add more options. The hard part is coding it... :-[
Somehow, the "+" icon, when clicked, has to transport that particular %item-url% to a separate page with the delete, rename, move (management) options on it.

I wonder if there is an example with at least as much as carrying the specific %item-url% to another page?

24
HTML & templates / Re: Need help with file delete feature.
« Last post by LeoNeeson on June 01, 2018, 10:22:36 PM »
Back when the web was new, sites had a sharp clarity look. The blue&silver colors probably help too. The 90's style of HTML forces more attention to detail, like using a little paint brush instead of a big paint brush.
+1 for using <marquee><b>HFS</b></marquee>, that gives the nostalgic touch. :)

The problem:
Slowdowns are caused by a feature inside file list loop (load*files*users).
Macros and server side scripts are disaster when magnified times the number of files.

Example:
Currently, the delete feature costs 28% of the speed when done like this:
   {.if|{.get|can delete.}|<td class=rw align=center><form method='post' id='filelist'><input type='hidden' name='selection' value='%item-url%'><button type='submit' name='action' value='delete' class='del' onclick='return confirm("Delete %item-name%?")'>X</button></form></td>.}
if 40 users browsing 1000 files, the code gets 40,000 times bigger, and you get a broken server
Sometime ago, I was thinking in another approach: removing the delete button, and adding a "+" button instead, which when clicked, it opens a modal screen (in dark grey color) with three nice and big buttons, giving options like: Rename, Delete and Move (and we could even add a 'Send to' when using a mobile). This way, the 'server side' check (to verify if we could delete the file), is only processed on-demand when that "+" button is clicked. I think this could be a win-win situation to solve this, not only because we don't overload the server, but we also add more options. The hard part is coding it... :-[
25
HFS ~ HTTP File Server / Re: HFS Network Storage Integration
« Last post by LeoNeeson on June 01, 2018, 10:22:10 PM »
@Funtime60: I don't know how you add those drives on HFS, but I think you should try adding those network drives not using 'drag-and-drop'. Do this way: right click on the 'House' of 'Virtual File System', and click on 'Add folder from disk...' then click on 'Real folder'. To do this, the network drive should be already listed on 'My PC' first. If it's not listed there, follow the next steps to mount the network drive, reading a guide HERE.

If it's not working, please attach a screenshot of your HFS.
26
HTML & templates / Need help with file delete feature.
« Last post by danny on May 31, 2018, 10:15:44 PM »
. . . I don't see any more enhancements available without slowing down the server. . .
That does need refined.

The problem:
Slowdowns are caused by a feature inside file list loop (load*files*users).
Macros and server side scripts are disaster when magnified times the number of files.

Example:
Currently, the delete feature costs 28% of the speed when done like this:
   {.if|{.get|can delete.}|<td class=rw align=center><form method='post' id='filelist'><input type='hidden' name='selection' value='%item-url%'><button type='submit' name='action' value='delete' class='del' onclick='return confirm("Delete %item-name%?")'>X</button></form></td>.}
if 40 users browsing 1000 files, the code gets 40,000 times bigger, and you get a broken server

The solution:
Instead, if it could be moved, then it would cost less than 9% for this:
<td><a href="somewhere-else">X</a></td>

That difference would move a lot of bulk and some cpu load, outside of the file listing.  But, how do I do it?
At least, how do we move most of that, outside the loop? 


27
HTML & templates / Just for fun, template in 1990's html. phone friendly
« Last post by danny on May 31, 2018, 02:49:03 PM »
So, I wrote one with no classes, no jquery, no stylesheet and no static sizing.  It fits the phone screen better. 

Back when the web was new, sites had a sharp clarity look. The blue&silver colors probably help too. 
The 90's style of HTML forces more attention to detail, like using a little paint brush instead of a big paint brush. 

I was curious to see if there would be a difference.  There is!  It really gets a lot of files onto the phone screen. 

But, I was really wondering if there would be a significant functional difference.  There isn't.

Anyway, enjoy the brand new antique. 
(attached below)
28
HFS ~ HTTP File Server / Re: HFS Network Storage Integration
« Last post by bmartino1 on May 31, 2018, 05:43:55 AM »
Unfortunately the post with me Mars and another user (turned out to be the user hard drive crashing)...

Is lost on the forum

Here is proof that hfs can and or was able to handle shared network path.

http://rejetto.com/forum/index.php?topic=10803.msg1056943#msg1056943

On NAS/PC with a shared folder, you will require a shared folder with full control over files to a single user.

On server PC that permission folder will be mapped as a network shared drive
https://support.microsoft.com/en-us/help/4026635/windows-map-a-network-drive

On the servers, on hfs and drag the drive letter to the house/root of the hfs window. And add it as a real folder.

_------

https://www.computerhope.com/jargon/h/hiddshar.htm

More info on hidden share/admin/ read-only shares. And windows share has another secret share of the path that also ends o. A $ ....

These share are usually system related and don't/are not usueable for true network sharing.

O don't recommend using a hidden share to map, if you want then 'c' drive shared then you will have to go to the PC and share that drive.

On regards to 3 com and other wol tools. https://sourceforge.net/projects/wake-on-lan/

3 com was an example, as they are a nice / network hardware manufacturer and often have third party tools such as pxe boot
....

Sorry, usually. Use a PC, but with current work, the phone is what I have, and auto correct and predicted text mess with the typing sometomes.

Again, your server PC must have a network shared folder to a disk drive.

Then you add that drive like any other folder to hfs
29
Oops!!

I just found file hfs.diff.tpl in "1". I deleted it and now I can see everything.
My apologies.

Chris
30
HFS ~ HTTP File Server / Re: HFS Network Storage Integration
« Last post by Funtime60 on May 30, 2018, 07:56:42 PM »
C$ is windows secret hidden read-only share. And is not wol capabley.

 If you are network sharing and want will you will have to enable file sharing on the PC first then use 3com or other tools to enable a wol

Hfs can add a network share, and you can setup wol network sharing...

Have to find the post on someone doing this. There were issues with read/wrote with network shared drive...

If I wasn't clear, I don't care about WOL right now, though I will look into what you said as I don't know anything about 3com or such.

If anyone could be so kind as to link me to a video, yours or anyone else's, of mounting a network drive as a folder in HFS I would be eternally grateful. Even just a short clip of the running through the add folder dialogue in HFS would be enough.

I also apologize as I am currently migrating my server's OS to a new raid array which limits my testing abilities and will take a day or two to complete as I have encountered complications with the process. I will endeavor to provide any necessary information requested of me.

Thank you for your time.
Pages: 1 2 [3] 4 5 ... 10