rejetto forum

comment when user upload something

0 Members and 1 Guest are viewing this topic.

Offline DjNelutzu

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
how to make me appear when a user upload something on your site,a comment that says he was uploaded by that user
I know I used something similar in older versions but can not remember exactly
Any ideas? ???


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
the default template adds "uploaded by X" to every file uploaded by someone who's logged in.
if you are not logged in, no comment.
that?


Offline DjNelutzu

  • Occasional poster
  • *
    • Posts: 24
    • View Profile

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Quote
how to make me appear when a user upload something on your site,

aren't you searching about a notify or a "popup" by hfs when a user upload a file , or only to add a comment?


Offline DjNelutzu

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
yes.....a comment that says he was uploaded by that user


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Quote
yes...but i modificated the original template......

in your template verify that you have the blue text in section
Quote
[upload-success]
{.inc|ok.}
<li> <a href='%item-url%'>%item-name%</a>
<br />%item-size% @ %speed% KB/s
{.if| %user% |{: {.append| %folder-resource%\hfs.comments.txt |{.filename|%item-resource%.}=uploaded by %user%
/append.} :}/if.}

it's thedefault  "uploaded by " from rejetto

 ;)
« Last Edit: September 03, 2010, 11:18:24 PM by Mars »