rejetto forum

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.


Messages - Mars

Pages: 1 ... 128 129 130 131 132 ... 134
1936
HFS ~ HTTP File Server / upload filter
« on: November 01, 2007, 09:58:09 PM »
Quote
if you are able to describe a situation where the user is NOT FOOL and needs to put the vfs/ini inside the upload folder, then i'll consider it

For the vfs / ini: it is possible by mistake to put the file of hfs.exe unprotected upload and to crush the corresponding files for every user, thus all the server

Quote
the tpl is forbidden by default because it is normal to have such file in an upload folder, to customize it.
On the other hand it should be possible to be able to uploader a hfs.diff.tpl file for the persons authorized by the administrator of the server.

We can envisage a server on which the directories are created for every type of template existing and being able to be updated in distant for the last versions by their owner and in only reading for the others

1937
HFS ~ HTTP File Server / Re: Addon for the use of %sequential%
« on: November 01, 2007, 09:41:44 PM »
dear rejetto


Quote
Adding a symbol for every need is not wise.
I also believe it but it is a question here of finalizing the usage of %sequential%

If the code source of the topic is correct, can he be added all the same in the next beta version?

To overload templates with the javascript?? Why when we can make simple?

Among others I resolved the problem of the %files% display by page quite there javascript without using offset and limit

1938
HFS ~ HTTP File Server / Re: Addon for the use of %sequential%
« on: October 30, 2007, 02:49:06 PM »
Thanks to Foggy which understood of what it was question in this topic :D

Quote
I've the same problem as Foggy. Didn't even find nothing like %nb-links% that could help to understand in the source.


Voilà ce que c'est que d'utiliser des templates tout fait et de ne pas en faire soi même on ne comprends pas toujours..HI


my addon code source add only possibility to use %nb-sequential% with %sequential%, you can use this possibility to another personnal use, It is not restrictive to "total-links" or another

And to be in accordance with the papers of rejetto I shall have had to propose
%number-sequential%  but i find it very long

On this matter the correct syntax would be

%number-links%   number of links in the current folder.

Reference to the documentation
%number%   number of items in the current folder.
%number-files%   number of files in the current folder.
%number-folders%   number of folders in the current folder.

Each will judge that he needs or not, the only relevant question is to know if rejetto wish to include elements which do not ask for efforts of his part, and which do not break the future versions of hfs of his objectives.


Propose more of topics concerning the craftiness which you use in your templates, ca can open the other sometimes simple and powerful possibilities.
Some of you are endowed javascript there the others are him delphi there; Me, I make a little both in amateur and I try to take advantage of " language hfs " at most for my needs by sharing in the others.

Some of people will not see the necessity of such or such development, but in that case it is necessary to see coming.


I wait mainly for the answer of rejetto on this subject.

1939
HFS ~ HTTP File Server / Re: Addon for the use of %sequential%
« on: October 29, 2007, 03:53:15 PM »
%total-links% is missing? YES

but you can use %sequential% to count only mp3 or only gif or only jpg  (links are an example to explain) or another use

it is just a complement of %sequential% to have %NB-SEQUENTIAL%, a little thing who can help full.

When you want to use several   "Total xxxx="  (%sequential% -1) "files" next must be "Total xxxx="  (%sequential% -2) to having the same value on screen ..

1940
HFS ~ HTTP File Server / Re: Addon for the use of %sequential%
« on: October 29, 2007, 03:04:51 PM »
%sequential% can be using as a counter

every found %sequential% in a template is replaced by the value "%sequential%+1"

first "%sequential% take value "1", second take value 2",........the last take value "N"

I use it to count numbers of links in hfs web page like describe above by inserting in section [link]
<!-- %sequential% -->,  hfs replace %sequential% with the adapted value and when all links are diplayed, i can use 
    NB_links=%sequential%-1 to show the number of present links on the page of the user with document.write(NB_links);

    but the problem is "i must use javascript to do this", by modifying the code source(spring) it is possible to define by hfs internally the variable %NB-SEQUENTIAL% ant it can be placed wherever in the template

    all is right?

    1941
    HFS ~ HTTP File Server / Re: Addon for the use of %sequential%
    « on: October 29, 2007, 11:23:18 AM »
    ??? nobody for this topic?

    1942
    HFS ~ HTTP File Server / Re: Logical grouping of files in root
    « on: October 26, 2007, 07:38:07 AM »
    for a link appear on your hfs web page; uses always "http://%host%/... at the beginning of link,
    As it you are always insured that your links work, about is the user (internet or local)

    1943
    HFS ~ HTTP File Server / Re: Disable prompt to save file system?
    « on: October 25, 2007, 10:08:45 PM »
    Metaphor my dear ELEVEN... Everything is only metaphor, this is not to be taken at feet of ROCKET, it is necessary to imagine the sense of the words ???  And I do not believe that the forum is made to be involved in controversy on small details of this genre  :o

    Let us refocus we on hfs, his development, and our support in rejetto, I admit that even with Reverso pro I do not still manage to understand the humor of your American accent

    1944
    HFS ~ HTTP File Server / Re: Disable prompt to save file system?
    « on: October 25, 2007, 08:25:44 PM »
    That is what it is rejetto, at the beginning the man only wished to fly as a bird,
    Quote
    that's the use i thought when i created HFS.
    i'm happy to see someone using it this way.
    don't fear, i care about it.
    and now he wants to go over MARCH.

    There is still of the road to be made with hfs, and even after there will be a rest of the universe to be visited.

    Keep your chin up rejetto, the support is in the shade there...

    1945
    HFS ~ HTTP File Server / Addon for the use of %sequential%
    « on: October 25, 2007, 06:25:48 PM »
    At first I wished to count the number of links (%nb-links%) in recursive mode (missing in hfs) by means of %sequential% by using this way 

    [MAIN SECTION]
    .
    .
    %files%

    <script>
    document.write(eval("%sequential%"-1));
    </script>

    [link]
    <!-- %sequential% -->    //   masqued in  web page
    <TR> .....

    not easy ..

    I propose this modification to rejetto to include at main.pas

    Quote
    procedure applySequential();
      const
        PATTERN = '%sequential%';
        NBPATERN = '%nb-sequential%';       // total of %sequential%

      var
        idx, p: integer;
        idxS: string;

      begin
        idx:=0;
        repeat
        p:=pos(PATTERN, result);
        if p = 0 then exit;
        inc(idx);
        idxS:=intToStr(idx);
        delete(result, p, length(PATTERN)-length(idxS));
        move(idxS[1], result[p], length(idxS));
        until false;

        idxS:=intToStr(idx);               // necessary for second repeat until
        repeat
        p:=pos(NBPATTERN, result);      // search  all %nb-sequential%
        if p = 0 then exit;
        delete(result, p, length(NBPATTERN)-length(idxS));
        move(idxS[1], result[p], length(idxS)); //replace any where in folder page
        until false;


      end; // applySequential

    %sequential% works as before  1,2,3, .... N  and after all %nb-sequential% are substitute  with the  value N where we find it in the web page

    thanks



    1946
    Everything else / Re: New theme for forums
    « on: October 25, 2007, 11:26:26 AM »
    I completely agree there above; the structure PHP and the templates are too much taken away, thus instead of breaking itself the head to want to modify hfs to be able to imitate the other one web pages it is healthier to develop from the fact what offer hfs and to modify him according to needs, and it in a very precise odre otherwise our rejetto friend will not stop it developing for nothing ;D

    1947
    Beta / Re: Testing build #137
    « on: October 25, 2007, 11:15:44 AM »
    INFORMATION FOR OTHER USERS

    is there any way to allow upload for hfs.diff.tpl (mask filter ....)

    in same by default index.htm*;default.htm*;  are masked
    to see then i include a mask type z.z  but i have not found a solution for  hfs.diff.tpl

    sample

    HOME--REAL_FOLDER_NAMED_TEST(no upload but have index.html)-->C:\CONTENER\TEST
            |
            |___REAL_FOLDER_NAMED_CONTENER(uploadable with correct login --> C:\CONTENER\TEST)


    when using HOME/TEST -->> index.html is running

    when using HOME/CONTENER/TEST then index.html is not loaded but linsting by %files% easy for maintain a site from another computer

    in build 125 it was possible to do this with hfs.diff.tpl (upload) in build 137 it is forbiden



    1948
    HFS ~ HTTP File Server / upload filter
    « on: October 24, 2007, 11:46:07 PM »
    Rejetto

    uploads for hfs.diff.tpl  give  "File name or extension forbidden"   GOOD

    but it is possible to overwrite vfs file and hfs.ini by upload          DANGEROUS


    1949
    Everything else / Re: New theme for forums
    « on: October 24, 2007, 11:09:25 PM »
    When hfs will support  the php, it will be possible to use all the subjects proposed by the site

    http://custom.simplemachines.org/themes/index.php

    never before

    1950
    HFS ~ HTTP File Server / Re: accounts in the VFS instead of INI
    « on: October 24, 2007, 10:52:05 PM »
    user accounts are saving in file hfs.ini (if your version of hfs is not old) at line accounts=login:.... this file is read at run hfs

    in hfs MENU -save options- you select "to file" and check "auto save options on exit"

    Pages: 1 ... 128 129 130 131 132 ... 134