rejetto forum

Question: Filecommentfield

Pit · 5 · 5575

0 Members and 1 Guest are viewing this topic.

Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Is it possible to display both infos Hash MD5 and the Upload from in the filecomment of an uploaded file?
 
Can anybody help me? Thanks
« Last Edit: November 02, 2008, 11:36:45 AM by Pit »
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
in the default tpl you see this code
Code: [Select]
{.if| %user% |{: {.append| %folder-resource%\hfs.comments.txt |{.filename|%item-resource%.}=uploaded by %user%
/append.} :}/if.}

i can imagine how it should be, but i didn't test it
Code: [Select]
{.save|%item-resource%.comment|MD5: {.md5 file|%item-resource%.}.}
{.if| %user% |{:{.append|%item-resource%.comment|
uploaded by %user%.}:}/if.}

this version doesn't use hfs.comments.txt


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Sorry but it didnĀ“t work. It shows me only the Hash Number.
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
Just tried it.  It works here.  md5 + username.
maverick


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Thanks, now it works here. I make a mistake - Sorry  :-\
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org