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 - Roessi

Pages: 1 2 3 4 5 ... 8
31
Programmers corner / Re: File rename
« on: July 17, 2010, 12:33:46 PM »
attach your template then someone could take a look at

32
Beta / Re: Testing build #262
« on: July 17, 2010, 04:08:22 AM »
xP
np *g*
the problem is, i dont want the folder "personen" to be displayed on web
so i drag every subfolder of the folder  "personen" into the vfs
as realfolder as an subfolder of Uploads ^^

and in that case when i use %folder-resource%
it doesnt give me the absolute path on the harddrive ( E:\Tools\Hfs\Uploads\Personen\Lissy)
, it gives me an path to the harddisk (E:\Tools\Hfs\Uploads\Lissy) instead
equivalent to the structure of the VFS
but on the harddrive the path doesnt exist :/
xD

33
Beta / Re: Testing build #262
« on: July 16, 2010, 08:04:19 PM »
what i mean is like the screenshot example
they are all real folders :)
if %folder-resource% would be E:\Tools\Hfs\Uploads\Personen\Lissy
instead of E:\Tools\Hfs\Uploads\Lissy
would be easier to get sth like this renamed :)


perfect thats good :)
thx for trying if it works for you too :)

34
Beta / Re: Testing build #262
« on: July 16, 2010, 07:13:46 PM »
np :)
Thx for the answer SP :)
k .. somehow managed in my tpl to get the renaming of folders with whitespaces done correctly :)
but i found another problem :/
if you have an folder on your harddisk in , for example
E:\HFS\Uploads\Misc\Jones
and in the Vfs
its /Uploads/Jones

%folder-resource% will be E:\HFS\Uploads\Jones
so renaming is impossible :/ -.-
would be really nice if this could be changed :)

and btw i fixed the renaming problem in the default tpl

Code: [Select]
[ajax.rename]
{.if|{.can rename.}|{:
{.set|x|%folder-resource%\{.postvar|from.}.}
{.set|y|%folder-resource%\{.postvar|to.}.}
{.if|{.exists|{.^y.}.}|exists|{:
{.if|{.exists|%folder%{.postvar|from.}.}|{:
{.if|{.length|{.rename|{.^x.}|{.^y.}.}.}|ok|failed.}
:}|not found.}
:}.}

:}|forbidden.}

put it in like this and it works :) (for me)


35
Beta / Re: Testing build #262
« on: July 16, 2010, 03:36:14 PM »
for me renaming with the default tpl doesnt work at all  :/
and with my rawr mod  i can only rename files and folders with no whitespaces in its name :/
in the macrolog its
Code: [Select]
rename|E:\Tools\HFS\Uploads\ASP - Zauberbrüder|E:\Tools\HFS\Uploads\ASP - Zauberbrüd
so it should work ...
but the folder still has the same name

36
Deutsch / Re: Useranzeige im Chat
« on: July 16, 2010, 12:09:34 PM »
oh sry is mir gar nich aufgefallen :/
Code: [Select]
<html>
<head>
<title>Chat</title>
<link rel="shortcut icon" href="favicon.ico" />

<!-- used to refresh chat box -->
<script language="JavaScript" type="text/JavaScript">
function goToURL() { window.location = "http://meine.adresse"; }
var refresh=true;
function Prefresh() {
  if ((document.frm.texto.value=='') & (document.frm.login.value>''))
  {
  window.location="{.get|url|text=.}";
  document.frm.texto.focus();
  refresh=true;
  }
};
if (refresh) setTimeout("Prefresh()",10000);
</script>

<!-- Define special:begin -->

{.set | pass | !clear .}
{.set | chatfile | %date%_chatlog.txt .}
{.set | chattext | {.load|{.^chatfile.} .} .}
{.set| maxlength | 10240.}
{.if not| {.pos|%user% hat den Chat betreten.|{.^chattext.}.}|{:
{.save|{.^chatfile.}| {.time.} --- <i> %user% hat den Chat betreten.</i> <br>{.^chattext.}.}
:}.}
<!-- Limit Length of file and reset it when pass is given -->

{.if|{.length | {.^chattext.} .}>{.^maxlength.}|
  {. set | chattext |{.cut||{.div|{.^maxlength.}|2.}|{.^chattext.} .}/set.}
 /if.}
{.if|{.?text={.^pass.}.}|{:{.save | {.^chatfile.}|.}:}.}


<!-- Save chat file on hard drive -->

{.if| {.and|{.?name.}|{.?text.}|{.not| {.?text={.^pass.}.}.}/and.}
     |{:
          {.set | chattext |{.time.} --- <b>{.?name.}</b>&gt; {.?text.}<br>{.^chattext.}.}
          {.save | {.^chatfile.}|{.^chattext.} /save.}
      :}
/if.}


</head>
<body>
Willkommen ! </b>
<br><br>
<form name=frm>
  <b>&nbsp;NAME</b><br>{.repeat|2|&nbsp;.}<input id=login name=name style="font-size:10pt; color:blue; background-color:FFFFFF;

border:2px solid #88f;" value="{.if|{.?name.}|{.?name.}|%user%.}" onfocus="javascript:refresh='false';" size="24%

onblur="javascript:refresh='true';">
  <br><br>
  <b>&nbsp;TEXT</b><br>{.repeat|2|&nbsp;.}<input id=texto name=text style="font-size:10pt; font-weight:bold; color:7F7F7F;

background-color:FFFFFF; border:2px solid #88f;" onfocus="javascript:refresh='true';" size="117%" >
  <br><br>
  {.repeat|1|&nbsp;.} <input type="submit" value="Senden  [ENTER]">
  <br>
</form>

<!-- {.repeat|2|&nbsp;.}<button onclick="Prefresh();">Refresh</button> -->
{.repeat|2|&nbsp;.}<input type=button value="Chat beenden" onClick="goToURL()">

<HR COLOR="b1aba7">
<!-- {.breadcrumbs|{:<a href="%bread-url%">{.if|{.%bread-name%=.}|Home|%bread-name%.}/</a>:} .} -->
<CENTER>Heute ist der %date% - Uhrzeit: %time%</CENTER>
<HR COLOR="B1ABA7">
<br><br>
{.load|{.^chatfile.}.}
<!-- give the focus to the text field -->
<script language="JavaScript" type="text/JavaScript">document.frm.texto.focus();</script>

</body>
</html>

so solltes stimmen ;)
kein problem :) gerne :)

37
Deutsch / Re: Useranzeige im Chat
« on: July 15, 2010, 06:27:10 PM »
ok :)
des sollte an sich nich so des problem sein :)

Code: [Select]
<html>
<head>
<title>Chat</title>
<link rel="shortcut icon" href="favicon.ico" />

<!-- used to refresh chat box -->
<script language="JavaScript" type="text/JavaScript">
function goToURL() { window.location = "http://meine.adresse"; }
var refresh=true;
function Prefresh() {
  if ((document.frm.texto.value=='') & (document.frm.login.value>''))
  {
  window.location="{.get|url|text=.}";
  document.frm.texto.focus();
  refresh=true;
  }
};
if (refresh) setTimeout("Prefresh()",10000);
</script>

<!-- Define special:begin -->

{.set | pass | !clear .}
{.set | chatfile | %date%_chatlog.txt .}
{.set | chattext | {.load|{.^chatfile.} .} .}
{.set| maxlength | 10240.}
{.if not| {.pos|%user% hat den Chat betreten.|{.load|{.^chatfile.}.}.}|{:
{.append|{.^chatfile.}| {.time.} --- <i> %user% hat den Chat betreten.</i> </br>.}
:}.}
<!-- Limit Length of file and reset it when pass is given -->

{.if|{.length | {.^chattext.} .}>{.^maxlength.}|
  {. set | chattext |{.cut||{.div|{.^maxlength.}|2.}|{.^chattext.} .}/set.}
 /if.}
{.if|{.?text={.^pass.}.}|{:{.save | {.^chatfile.}|.}:}.}


<!-- Save chat file on hard drive -->

{.if| {.and|{.?name.}|{.?text.}|{.not| {.?text={.^pass.}.}.}/and.}
     |{:
          {.set | chattext |{.time.} --- <b>{.?name.}</b>&gt; {.?text.}<br>{.^chattext.}.}
          {.save | {.^chatfile.}|{.^chattext.} /save.}
      :}
/if.}


</head>
<body>
Willkommen ! </b>
<br><br>
<form name=frm>
  <b>&nbsp;NAME</b><br>{.repeat|2|&nbsp;.}<input id=login name=name style="font-size:10pt; color:blue; background-color:FFFFFF;

border:2px solid #88f;" value="{.if|{.?name.}|{.?name.}|%user%.}" onfocus="javascript:refresh='false';" size="24%

onblur="javascript:refresh='true';">
  <br><br>
  <b>&nbsp;TEXT</b><br>{.repeat|2|&nbsp;.}<input id=texto name=text style="font-size:10pt; font-weight:bold; color:7F7F7F;

background-color:FFFFFF; border:2px solid #88f;" onfocus="javascript:refresh='true';" size="117%" >
  <br><br>
  {.repeat|1|&nbsp;.} <input type="submit" value="Senden  [ENTER]">
  <br>
</form>

<!-- {.repeat|2|&nbsp;.}<button onclick="Prefresh();">Refresh</button> -->
{.repeat|2|&nbsp;.}<input type=button value="Chat beenden" onClick="goToURL()">

<HR COLOR="b1aba7">
<!-- {.breadcrumbs|{:<a href="%bread-url%">{.if|{.%bread-name%=.}|Home|%bread-name%.}/</a>:} .} -->
<CENTER>Heute ist der %date% - Uhrzeit: %time%</CENTER>
<HR COLOR="B1ABA7">
<br><br>
{.load|{.^chatfile.}.}
<!-- give the focus to the text field -->
<script language="JavaScript" type="text/JavaScript">document.frm.texto.focus();</script>

</body>
</html>
habs grade mal so ausprobiert
wenn jetz jemand den virtuellen ordner öffnet wird in die datei geschrieben dass er den chat betreten hat
aber halt nur wenn nich schon in der datei irgendwo steht %user% hat den Chat betreten ;)
Code: [Select]
{.if not| {.pos|%user% hat den Chat betreten.|{.load|{.^chatfile.}.}.}|{:
{.append|{.^chatfile.}| {.time.} --- <i> %user% hat den Chat betreten.</i> </br>.}
:}.}

38
Deutsch / Re: Useranzeige im Chat
« on: July 15, 2010, 03:20:55 PM »
also ich versteh jetz auch nich so ganz was du meinst ^^
willst du einfach  nur dass %user% mitgepeichert wird wenn jemand was schreibt
oder willst du dass sobald er den chat öffnet schon die datei gespeichert wird mit der uhrzheit wann er ihn geöffnet hat ?
und der text, wenn er was schreibt angehängt wird ?
oder dass dir sonst irgendwie im hfs window angezeigt wird dass jemand den chat betritt ^^

39
Programmers corner / Re: : to &#58; in {.load
« on: July 13, 2010, 05:29:25 PM »
the macros get executed  ,
only if i use an macro inside an for example {.if macro where i need to quote sth with {: and :}
both macros inside the if else get executed because its seen as &#58;}and not as :} :/
same for a switch ther would be every macro executed then :/
everything else works fine with executing macros in a file loaded :/
and copying to the root folder wont work because every module has a modulecontent.txt

40
Programmers corner / Re: : to &#58; in {.load
« on: July 13, 2010, 01:58:59 PM »
the first txt file is the part of the template which loads the modules
the modcontent.txt is the file which is loaded
and the macros.log ...

dunno why but when i use :} in any module its replaced with $#58;}

because of the &#38;#38;#58;}
the macros dont get executet right :/

41
Programmers corner / : to &#58; in {.load
« on: July 12, 2010, 12:02:04 PM »
:) sry have to ask sth again :)
why is the ":" within the ":}" replaced with "&#58;" when i use the {.load.} macro and in the "{:" it isnt ?
is there a way to prevent from getting ":}" replaced with &#58;}
cause hardly can use macros if this happens :/
thx for your answers :)

42
Programmers corner / get|can delete|path
« on: July 06, 2010, 06:59:36 PM »
would aks one question :)
is it possible to add to the
{.get|can delete.} macro an optional parameter with the path ? :)

43
HTML & templates / Re: Message Box
« on: March 06, 2010, 12:34:28 PM »
what do you mean exactly ? ^^

44
HFS ~ HTTP File Server / Re: MIME type. XPI
« on: February 19, 2010, 02:17:18 PM »
for me it works :) after i clicked open directly in browser and added ;*.xpi

In menu -> other options -> open directly in browser
(under mime types )

but only works when i visit my site over the dns

when im local it doesnt work : - /

45
HFS ~ HTTP File Server / Re: MIME type. XPI
« on: February 19, 2010, 02:02:44 PM »
what about
expert mode

menu -> other options -> mime types

xpi

application/x-xpinstall

shouldn this be the mime type for firefox extensions ? : - /

Pages: 1 2 3 4 5 ... 8