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 ... 131 132 133 134 135
1981
HTML & templates / Re: Html Templete
« on: October 14, 2007, 09:06:20 PM »
Quote
How To Add Rate This Site In My Home Page

Menu > Edit HTML Template...


<a href="http://www.rejetto.com/forum/index.php" target="_blank">Rate This Site </a>

1982
HTML & templates / Re: Make a page expire
« on: October 14, 2007, 08:22:29 PM »
you can use this meta balise 

<META HTTP-EQUIV="Expires" CONTENT="Mon, 30 Jun 1999 14:30:00">

with %timestamp% you can detect the begining of time when server give web page.

by example:
<HTML>
<META HTTP-EQUIV="Expires" CONTENT=expire_date()>

<script ......>
function expire_date()
  {     expire_date=%timestamp% + delay}
</script>


 make test i have not testing that


 

1983
Beta / Re: Testing build #137
« on: October 12, 2007, 02:03:22 PM »
FIRST TEST


1) open your browser insert url http://127.0.0.1/your_protected_folder and validate connexion

2) insert   valid login and pass for this folder

3) you are identified and logged

4) now insert url http://127.0.0.1/  and validate connexion. (important not click sur up button to access this page)

5) It seems that you are not logged: click on login button and all ressources you have access are here free

It seems that an identification from a sub-directory is not recognized when we show the page of acceuil of our Web site hfs


SECOND TEST

in new web  page connect you to your server hfs

you are on the [main]+[login-link] web page   ROOT FOLDER MUST BE NOT PROTECTED

click on login and  empty login and pass, click on OK to close identification popup;

 the page who appear is not the first page but the Unauthorized page, it is not normal.
 the refersh page must be [main]+[login-link]

1984
not necessary same player for all files format,  you can have a reader for gif bmp png jpeg, another for flv another for mp3 or wav ,and another for avi ......a good idee will be having one for pps, all of file type are download by reader into "iternet temp files"  and deleted after reading, if necessary a pluging or activex is downloaded and that's all.

I wish to have been understood clearly. :D

1985
I imagine that many persons are as me, they wish, when they are on a site with diverse contents, to be able to consult them without needing to download them and to open them on a soft that he(it) have no pluspart of time(weather) on their machine. In it concerns(marigolds) of simplicity we look for to integrate(join) so many multimedia readers (images sounds animations) as possible

In that case propose the solutions which you use in the integral in a simple template so that we can reuse them in turn in our templates own and possibly an external link where we can find an example of use even if it is in another context than hfs.

 Thank you

1986
HTML & templates / Re: to rejetto about templates
« on: October 11, 2007, 06:17:53 AM »
So that we are all right all I am anxious to say that I do not say white in a post and black in the other one.
If I use certain terms in my examples it is to show that what is not possible in a way we can make him(it) of the other one. I believe that I am going to delete(eliminate) the term LANGUAGE of my post for not more create of confusion on my future explanations.

Spending easily more than one hour or two to translate and to re-translate for a long time all that I put you because of my level weakness in English and that in spite of all my attention to avoid against senseI would post mainly my finds here

http://www.rejetto.com/forum/index.php?board=37.0

And you can use this tools as you wish it

Http: // www.reverso.net/

To translate in the language (OUPS! Sorry) of your choice.

1987
HTML & templates / Re: to rejetto about templates
« on: October 10, 2007, 12:57:36 PM »
Thank you for your point of view, but what I present in this post is only the visible part of the iceberg.

If you can present me a function javascript which makes the same result  as I wish to obtain then you are hardly, it seems to me that the javascript runs only on the customer and not on the server.

As for %user%, it is introduced by the url when you become identified and then it is available for hfs under the shape of a defined variable, it is this principle which I want to spread(widen).


What you propose me is only the recursion, while what I look for by this means it is an interactivity enters the user and hfs.

My question will thus be: how to make cross(spend) a parameter by the url to use a trick(thing) of the kind(genre):


If condition(url) then includehere(%section1%) else includehere%section2%;

I hope not that is possible.


1988
HTML & templates / Re: to rejetto about templates
« on: October 10, 2007, 10:28:46 AM »
Mister Rejetto

I envisage some developpements interraction with hfs by waiting to be able to use of the php, the only possibility at present is the use of the url? Param1; param2...

1) What I wish it is the possibility of being able to define internal variables in the tpl in the kind of
(with exactly this syntax)

<!-- #PRAGMA
%VAR1%="value";
%Lang%="language";

#ENDPREAGMA -->

"<!--"   and   "-->" are essential to not interfere with the html code

2) The possibility of spending this type of affectation by using the url

http://myserver.rejetto.hfs/folder1/folder2/?var$VAR1=value&var$Lang=my%20text&....&sort=n&limit=....

I do not know which characters are forbidden into URL line,  can you answer me for a long time this subject?

After analysis d the url by hfs, this last one will replace any utlisation of %var1% by the content of $var1 in the template with the corresponding value.

an example

i) URL is  http://myserver.rejetto.hfs/folder1/folder2/?var$message=You%like%20It

ii) template as:

<html>
<head>
...
<!-- #PRAGMA
%var1%="good";
%test%="that will works";
#ENDPREAGMA -->
...
</head>
<body>
....
%test% will done if you are logged
</body>
</html>

[loggedin]
...
<p>
We can use variable to say : %test% %var1% , %message% ?
<p>
...


iii) the user can see

that will works will done if you are logged

that will works good , You like it ?



1989
HTML & templates / Re: to rejetto about templates
« on: October 10, 2007, 08:42:53 AM »
Quote
Shouldn't invert occur when you click on "sort by file" for example, like in windows explorer, if u click once the arrow faces down, click again, it faces up (the file listing inverted by sort setting)?

Yes T_S_G, it is exactly the popular purpose but it is necessary to be able to at first spend paramters checks in URL before developing a template using the good tools

In what to build a fortified castle  ;D , if after all we have no good keys to enter it >:(?...

1990
HFS ~ HTTP File Server / Re: userparam's and %lang%
« on: October 10, 2007, 12:42:24 AM »
i have found a simply solution for you

http://www.commentcamarche.net/javascript/jsintro.php3

http://www.toutjavascript.com/reference/reference.php?

use this part of code

<SCRIPT language=javascript>
   document.write(navigator.userLanguage);
</SCRIPT>

you can see the result FR ,  IT  , EN  .... if your navigator is in french italian english .....

and use the result with apropriate section of your choice or redirect to a folder with a template in fr it en ...


so no need to stock the language of a user into database of users.
 :) ;) :D ;D

1991
HFS ~ HTTP File Server / Re: Active directory for users
« on: October 09, 2007, 10:14:31 PM »
bacter:


What you look for here is not a Web http server but a server ftp with a Web interface.

Two solutions are for you

1 The php with sql.
 
2 A server ftp managing the accesses system and in that I direct you to this link where you will find your happiness.

http://www.emutribu.org/index.php?topic=3344.0 for french explanation and http://www.g6ftpserver.com/en/home
for the creator language supported Chinese |Deutsch |English |Français |Japanese ;)

1992
HFS ~ HTTP File Server / Re: userparam's and %lang%
« on: October 09, 2007, 09:49:54 PM »
If you consider in the former post you will find some questions there concerning the possible addition de %lang%, and the answers of rejetto that the question cannot be resolved that in version 3.x to see 4.x of hfs and not before some years can be.

By waiting we shall have to content ourselves with some available solutions which allows us hfs.

Concerning my two examples:

The first one bases himself on a template of reception which redirects towards the language which the user wishes, kicks out to manage because it implies the use of as much of hfs.diff.tpl as necessary directories. Only some users are broken in the constraints that is the multiple use of templates.

The second is can be not for you the best of the solutions but it will bring to some an opening of spirit on the fact that hfs hide within it full of resources and that if we know how to play finely with them we can make extraordinary things.
I invite you to load the sources of hfs as I made him and study them to learn it much more on its functioning.

The use of hfs for a system multilanguage involves in your case a management of the users and thus the use of a more powerful data base what is not still of current events in the development of hfs (we cannot build a solid high rise if on the base the ground is unstable), to develop hfs it is necessary to correct some bugs or forgetting before dashing into big transformations.

Certain bugs as the interweaving of [sym-mysection] and of %user% should not work but it brings a little of simplicity because it is not possible to use any if-then-else  to select a particular section by its variable %sym-mysection% according to a specific user (%user%)  who here is used as reference criterion.

As if to defining %user% ="~" or another character by default explains by the simple fact that if the user is not identified %sym-%user%%  becomes %sym-% in the display. And that if we created a section [sym-] for which are taken into account and replace staying %sym-%, then it appears another bug which is that hfs look for at first to replace %sym-% by the corresponding section [sym-]: not finding she, he replaces %user% by his value and the text becomes for example %sym-myident% (%user%="myident") which corresponds then to the section [sym-myident], and the tour(ballot) is played.

In case you use %sym-%user%% and a section [sym-] in association with the others of the type [sym-myident], then the other sections shall never appear, I tried it does not work as we could hope for it, thus my demand of %user%= "~"" is completely justified and I do not have to defend  myself from it.



1993
HFS ~ HTTP File Server / Re: Active directory for users
« on: October 09, 2007, 12:36:35 AM »
bacter do all filter you ask into javascript language, you can use cookie and testing it for every user, no more groupe will be necessary
 

1994
HFS ~ HTTP File Server / Re: userparam's and %lang%
« on: October 09, 2007, 12:22:07 AM »
another way

include  this in the "main" section    [[ %sym-%user%%  ]]    somewhere

and include  sections for differents users like:

[sym-Marcel]
votre langue est le français

[sym-Bob]
how do you do?

[sym-~Rejetto]
buongiorno amico Rejetto


don't add this section  [sym-] until rejetto modify code to affect by default %user%="~" and after use :

[sym-~]
You are not logged

Connect you under the various identifiers and see the resultat.



to how use this astuce refer you to template "Thunderchicken_of_Glory_Blue+Login.tpl"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "h t t p://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
   <title>****YOUR TITLE****: %folder%</title>
.
.
.
</head>

<body>
%login-link%
%loggedin%
</body>
</html>


[login-link]
 

 here you put your first web page into multilanguage like  this link  http://strassburg.ath.cx:4136/

[loggedin]
%sym-%user%%

[style]
.
.
.

[sym-user1]
   include "main template for user 1
.
.
.

[sym-usern]
   include "main template for user n"






1995
HFS ~ HTTP File Server / Re: userparam's and %lang%
« on: October 08, 2007, 10:31:50 PM »

If you want to create a site multilanguage this is very simply made without %lang% and the other subtleties

uses folders for different languages

English , Français , Deutch .......     or links to this hide folders  (with gif logos to differenciate)

into hfs root template put a special page with no login , only links or folders with explain to users how they can do.

and into every folder put your principal template hfs.diff.tpl tranlate in every language this will be recurssive for each subfolders into "folder-lang"



Pages: 1 ... 131 132 133 134 135