Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ledufe

Pages: 1 [2] 3
HTML & templates / External CSS error on mozilla
« on: November 12, 2006, 02:53:21 AM »
please, could someone tall my what am i doing wrong?

i used this code and the link to the external css is acessible

Code: [Select]
<LINK REL=Stylesheet HREF="http://%host%/hfs-css/hfs-default.css" TYPE="text/css" TITLE="HFS-Default">
and it works, at least on the IE, but on the firefox, it wont load the CSS on the page....
look at the screenshot

HTML & templates / maybe someone else could use this idea or improve it....
« on: November 12, 2006, 02:00:02 AM »
Simple FORM to Register using the default mail software from client machine, snce hfs does not support any server side code....

this is the code used

locate the head of your template and insert this code between the tag:

Code: [Select]
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>HFS %folder%</title>
<style type="text/css">
<link rel="shortcut icon" href="favicon.ico" />
<script language="javascript">
function popUpRegistration(){
win ='HFS-Registration','Registration', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=400,left = 0,top = 0');
win.document.write("<div id='heading'>");
win.document.write("<img src='/~img_folder'>");
win.document.write("<div class='grid'>");
win.document.write("<strong>Email Registration");
win.document.write("<FORM NAME='HFS-RegForm' Enctype='text/plain' action='mailto:YOUREMAIL@SOMESERVER?Subject=HFS-Registration' method='post'>");
win.document.write("<span class='style3'>Register to acess the protected area </span><br>");
win.document.write("Real Name: <input name='field_name' type='text' size='80'><br>");
win.document.write("Desired Password: <input name='field_password' type='text' size='10'> 10 chars max. <br>");
win.document.write("Connection Speed: <input type='text' name='field_speed'> Kbps. <br>");
win.document.write("E-mail: <input type='text' name='field_email'><br>");
win.document.write("Login Name: <input type='text' name='field_login'> if different from Real NAME <br>");
win.document.write("<input type='submit' value='Send'></b>");
win.document.write("<p class='style1'>the info above will be sended to this HFS admin e-mail. and will be checked before the registration be accepted, you will recieve a e-mail confirmation from");
win.document.write("<a href='mailto:YOUREMAIL@SOMESERVER' class='style2'>");

dont forget to edit where is writed "YOUREMAIL@SOMESERVER"

and to call this form
use this code in ANY part of your template

Code: [Select]
<a href="javascript:popUpRegistration();" class=register><img src="/~img20" /> Register</a>
you can change and share here your tests....

here some sample....
sample 1

sample 2

and yeah!, it is javascript, but only to do the pop-up, and it use the default client mail, work on all browsers...

[attachment deleted by admin]

HTML & templates / LeDuFe links - Template resources
« on: October 25, 2006, 05:34:49 AM » - some of then may be of some use to the others undestand and learn how to make templates

and my test area, when you are developing a hfs template it may be good to have a lab with some folders with special characteristics, like, upload, statistics, many folders, subfolders, some of the most comon files, with their extensions, and this special area works for me, try to make one on your hard disk just for test purposes.

obs.: sometimes my hfs may be down, thats becouse sometimes my isp make some fun of me, but try again later, and sorry about my poor speed bandwich.

HFS ~ HTTP File Server / Make HFS Generate Feed
« on: October 24, 2006, 11:32:42 AM »
maybe a flash player like this(only 10k) with .m3u suport, or rejetto could add the funtion to the hfs to generate also the XSPF playlist that is the only supported streaming playlist of every free flash mp3 player that i found,

how is this format?
anyway, i guess you could already generate such playlist using the filelist.tpl file. it should be documented on the wiki.

i guess that i am too stupid to figure out how to do this, but how can i make the filelist.tpl affect the kind of file that i am generating?
im trying to generate some special files like a feed(xml) and xpsf, maybe some wml but i guess that one solutions afects another, if i change de generated file list to make the hfs auto generate a feed

using this code on the filelist.tpl

Code: [Select]

<?xml version="1.0" encoding="windows-1252"?>
<rss version="2.0">
    <title>HFS Feed - %encoded-folder%</title>
    <description>feed for the hfs on the %host% Server</description>
    <pubDate>Mon, 23 Oct 2006 22:31:10 -0300</pubDate>
    <generator>pspad (by hand)</generator>

      <description>%item-name% - %item-comment%</description>
      <pubDate>Mon, 23 Oct 2006 22:30:15 -0300</pubDate>
      <description>%item-name% - %item-comment%</description>
      <pubDate>Mon, 23 Oct 2006 22:30:15 -0300</pubDate>

the feed will be auto generated by the hfs, any other command/solution that use the url command "http://localhost/~files.lst" will be broked, becouse it change the m3u file that i used on the embeded media player...

rejetto, is there any solution? maybe a suport to creation of other kind of files or something like this:
if i want to generate the m3u i do this "http://localhost:3333/~files.lst.m3u" right?
when somenone browse this link the hfs would based himself in a file called "filelist.m3u" or even using the "filelist.tpl" but witha reference to the kind of call inside it....

can this be ever done?

1 - put the file on the same folder of the hfs, then after doing this, start the hfs software(i dont know other way to make the hfs read this file)

2 - i changed the name of the hyperlink as you can see here and add another link to file list only and not the recursive list. Also, i added some files to test(anime movies)

3 - this is only to show to you all that again the filename is something to take care, some filenames can make a mp3 unplayable(remember my case with flash player?) and some make invalidate the feed generated....but this would serve us well, it will work, at least on  the software that i used to read the feed(SharpReader0970)

4 - this is a sample of the feed generated by the recursive link

5 - this is a sample of the feed generated by the feed link, not the recursive one

well, besides some issues, i found this is useful, well at least to me, and open my mind to work it out some other possibilites...hehhe

and yet about the feed, this feed is fully worked, it can be subscribed and the hfs recieve the request and serve it well(at least if the folder that generated it still exist)...

HFS ~ HTTP File Server / FR: can we get new sections on template?
« on: October 20, 2006, 02:32:51 AM »
i readed the to-do list, and didn´t found this, so, im gona ask if this is possible, im trying to develop a new template(until i finished the leaning process and the programing DVD-ROM KIT(god, i love peer2peer share! ;D ) to keep my projects, and found some interesting thing, im trying to make a windows explore style template that let us change the view of the hfs on the fly just using some html and css, and a little bit o emac to make the change happens, but i found a issue, so i ask ,
can o load with some kind of adress only the Folder list or only the file list? like this, im trying to make this the user click on a folder on the left side of screen(may be a iframe or a div or even a external layer) and the content of the folder is showed on the main frame on the main part(80%) of the screen but i want to show only the file list and no the folders,
i know that i can call the file list in  a html view doin this on my template
and i know also that inside the files there is a symbols call "%list%" that calls the these section one by one if exist and void if not, right?
so and if even if it exist i want to call only the html representation of the files or only the folders, but doing this programatically using a adress, like this strange idea:

can i call only this especific section of the hfs as symbol like %list-files% for html representation of the files and not showing the folders and another section called by a symbol like %list-folders% and you could add even a %list-links% to show only the links, what do you think rejetto? is is possible to do? we could develop more kind of templates with some file browser-like style and without using any or the minimum possible of javascript ....

it is only a idea...

this is a strange sample of this crazy idea

HFS ~ HTTP File Server / NewSoftware HFS-File Comment Maker
« on: October 05, 2006, 03:11:17 AM »
well, here is another try to help our comunity

this experimental app let you choose a file and create, and if you want, save a .Comment file with the same name of the file you selected, on the same folder of the file you selected with the .comment on the name of the comment
and also i've included some hfs global symbols...i wish that there was a list of the hfs symbols that CAN be used in the comment files... Rejetto, err.... can you help us here?

and the sources

hope you like it

viva o C#!!!

[attachment deleted by admin]

HFS ~ HTTP File Server / NewSoftware HFS-MD5 Creator
« on: October 05, 2006, 02:50:22 AM »
well, here is another try to help our comunity

this experimental app let you choose a file and create, and if you want, save a .md5 file with the same name of the file you selected, on the same folder of the file you selected.
simple as it....

and the sources

hope you like it

[attachment deleted by admin]

HFS ~ HTTP File Server / NewSoftware HFS2Service
« on: October 04, 2006, 06:30:59 AM »
well, here is another try to help our comunity

this experimental app create a windows service to run hfs...

and the sources

hope you like it

and here a little explain:

put the "hfs2Service.exe" in the same folder of the hfs, or in some folder that you do not pretend to move or rename, im

saying this because the "hfs2Service.exe" will deploy a executable in the folder that you execute it, so when you configurate

the right path to the hfs, set the preferencies for the service, create the service, and start it, you can´t delete or remove

the folder or the "HFS-Service.exe"
it will be "bound" directly with the service, and until you stop and delete the service, you can´t do these functions

now lets explain something to make it more easy to use(???)

now lets try it:

1 - this is the folder where the hfs.exe and the hfs2service are: observe that there are only 2 files

2- when you open the hfs2service.exe it will deploy on the same folder more 2 files that are responsable to monitoring the

service, the main hfs-service engine "HFS-Service.exe"  and a template script of the commands inside the "HFS-Service.ini".   

NOTE the Status saying "SERVICE NOT INSTALLED" in red.

3- note that the service name it will be always "HFS-Service" so, you only have to inform the right path to the Rejetto hfs

executable, if you run the hfs2service.exe on the same folder of the hfs.exe you can skip this step

4- here we will set-up the number of seconds that the hfs service will monitore if the hfs.exe is running ("Time Between

Checks) the default is 1 second, but i sugest 30 or 60 seconds, and there is also a option to set the time that the

hfs-service will delay the opened of the hfs.exe(i know that someone will ask for this)

5- one of the most important option is to set-up the hfs-service to start the hfs in case of the hfs crash or if you or

someone/some software close the hfs, check this box if you want it.

6- since all the setting are done, well just hit the button "CREATE", and the "hfs2service" will show how the script was

modified and will execute the command to install the HFS-SERVICE

7- NOTE the Status changed to "STOPED", if you reboot, the service will auto-start.

8- ...or if you want to start the service before you reboot just to test, hit the "START" buttom and you will see the Status

changed to "RUNNING" and after the defined period of time, it will auto-start the hfs

9- Note that after you install and start the service, you will have another file created on the same folder of the

hfs2service.exe, you got a "HFS-Service.log, if something goes wrong it will inform to you

FIXED: - now the remove of the service is ok, and no more errors if the service was installed and you re-open the hfs2service
- the browse function to search, now only search for a exe named "hfs.exe"

10- if you have closed the hfs2service.exe and open it again, you will see this message, "the process cannot access the file

"PATH\HFS-Service.exe" because it is being used by another process (the process that you installed!!!), just don´t mind it,

it will open right after the error message.

11- the hfs2service will inform you on the status if the service are stoped, running, and here you can start, re-start, stop

the service, but to remove the service, you "MUST" Stop the service before Remove it

12- and if you got some troubles removing or stoping the service, just hit the create before hit the stop or the remove ;-)

bye... hope it helps

sugestions? bugs? post here....

i will come back later with more details...

[attachment deleted by admin]

HFS ~ HTTP File Server / little off-topic, but...
« on: August 02, 2006, 05:18:32 AM »
hi guys, im doing a template maker to be more easy to the newbees to use it, with somethings cool on it, but i guess that i could use some help here, did anyone in this forum uses autoplay media studio?
want to help this development? let me know....


HTML & templates / HFS - Template Builder
« on: July 30, 2006, 07:24:34 PM »
first i have a poor connection speed
second, i accept any help that anyone would give, and the sources are in this folder
!!!THIS IS THE OLD VERSION!!! THIS VERSION DON´T WORK BUT the is a link bellow this post to get the working version

HFS-TPL-Builder - Not a rejetto software!!!

hi guys, im trying to make something new, my proposal is, i know that most of guys here use a bounch of tools to create a template, but it would be nice if someone make a software that edit and actualy creates a tpl file to be imported on the hfs, and imagining the possibilities of this kind of tool i start its logic, what do we know about a template? beside the fact it uses sections to be called when needed, the template is a plain text file with html/xhtml/css code inside it right? and about the sections? what do we know about then beside the fact that some sections are inserted inside other sections? the thing is, we can edit then in separated files and the join then inside one single file and save it with the.tpl extension to load it inside the hfs right? so if we had a tool that could edit the sections separated and then generate the tpl file it would be easier...

this tool would work like this...
to test this tool and to speed-up the development, i started the project with the ability to choose all sections to edition, but to test all the functions, i just need to do it on 3 sections:
the main(first) section, the style(CSS) section, and some other section(i choosed the login-link) to test the preview, and the function that join all others and save it to a .tpl file. But until i finished the part of the edition and some functions to preview every section with the existent css, i will only working on the 3 i've mentioned above, and bellow is the description of what is already working on the sections that i'am working on.

    - the selection of the section to edit
    - the editor has the global symbols and the symbols pertinent to each section
    - plus, on mouse over every symbol, the tooltip bring his definition
    - the editor detect if the template that you are working, has or not already set-up a css style, and if it detect the css, the preview with the css aplied on it becomes enable.

!!!THIS IS THE OLD VERSION!!! -  this was made when i was programing in lua scripts using auto play media studio 6 There is a link bellow to the version re-maded in c# and that version is already working, but far away from what i imagine it could do..... just wait and see, im learning c# everyday....  hehheheh  beware world.... lol.....!!!THIS IS THE OLD VERSION!!!

The detections of CSS to enable preview with it

Load the code From the default template

main section editor

the preview of the edited code for the main section

the preview of the edited code for the main section with the css edited/found like hfs does

saving the generated tpl as...

the action of select a section to edit it

the view of the template generated with the existent sections, giving the user the ability to edit the results before click on the save button

one of the bests features of it, the tool tip that shows the meaning of the special symbol to insert on the code :-)

HTML & templates / Lets Dare.... whe need new ideas in templates....
« on: July 25, 2006, 12:59:06 AM »
hey guys!
well i started this thread to ask, bag, implore to the others, until the new hfs version come up, lets try to padronize the templates, to improve the default template, to make other new templates using css, xhtml, jsp, any other thing, im trying to use the autoplay media studio and flash to create a template builder, one that make easy to edit and preview the template without using it on the hfs, but im the worst programer that i know..... rsrsrrsr well, at least im trying, well thats it guys, all i am asking is to keep trying and updating or even better , to try the mos improbable things and the others that where never used, or do like me, copyng and studing the other templates, hey guys! im finally learning web design and development, i know a little of asp vb script and php+mysql, i can´t wait until the hfs give support to it...
and until it comes out, well, im trying to learn and create something, not exactly new, but at least "create"....

sorry for my poor english, and sorry about my manners.........
i did not wanted to hurt anybody feelings...

HFS ~ HTTP File Server / form to login
« on: July 11, 2006, 11:41:04 PM »
hi rejetto, i would like to know if there is some way to input the user name and password of a user by using a form and some action method, even using javascript.

HFS ~ HTTP File Server / feature request
« on: July 11, 2006, 11:26:12 PM »
hi rejetto, can i sugest something ?

if it coul be done, will be a great improvement to your software, since the hfs suport both, virtual, and real folder, i think it will be a good idea to make the real folders browseable like in the windows explorer, i don´t know if this can be done, or if it is a good idea....

HFS ~ HTTP File Server / built in editor
« on: July 10, 2006, 02:30:38 AM »
hi rejetto, i know that the template editor must be simple and just act as a plain text editor, but can you include the colored code by tag recognition on it? i don´t know if it is hard or even if it can be done in delphi, but i like the editor of the hfs, and i just use the others editors because they have this feature, and im learning html, xml, css, and the teg colored would help me, and i guess would help the others too, and even if it won´t be used by the others, i guess it would help us to quick edit the templates.

thanks for your attention to all of us that use your software, and keep the good work on the development of it...

HFS ~ HTTP File Server / HFS in ascii - just for fun
« on: July 04, 2006, 03:03:45 AM »
Code: [Select]
              zMMMC       ,MMMMC                  
            EMMw            BB@MMW                
          :QMM,l  :          x:CWMMC              
         SMQMM        .M iMB i8wW8MMW            
        BMWS  lW     SMMMMMMBwBBEz8BWM,          
       Qw8EElWMS EBzlM@QB z8BEWE8666BSM          
      wWE8zQrQQMMMM@6BBB 8QwBS66E6ClEzWM          
     CMwEEwBBwEE66zSz  Q::rillCCl@W,z86MM        
     WMEEwEwwBE86SzS8W: ixClzxMMM8M@ixrBM        
     MME8EwEwEEE8668wB8C66EwzC8 l:z6z8MMM        
     lMBEEEEEEEEEEw@MBMEC,MMM@MWxl,,  @MM:        
      MMEEEEEEE8E@MM:            MMr QMMEzSM8r:  
      EM@wwEBEwBQM   i xCCl . :. .EMMQMM@@6i.    
       MMMMMMM@MMx       .  C.   6W6zMMM6i        
       x: .lz8QMMB :     l  .zMMMMMMMMi  i:      
   8MMMMz:.      8QMMMMMMMMMMMM@@MMMx   i.        
 MMMMM@MM@BBEzxi .   lz8Sxl         .  l          
MMMMQ@@QQMMMMM@@Q6i:,..  .r:  l6E8i.irC          
QzxxCz6QQQWQQQQWxl          iSWMwi                
ClC@@              .z@MM8                        

Pages: 1 [2] 3