Author Topic: comment when user upload something  (Read 1050 times)

0 Members and 1 Guest are viewing this topic.

Offline DjNelutzu

  • Occasional poster
  • *
  • Posts: 24
    • View Profile
comment when user upload something
« on: September 02, 2010, 05:29:05 PM »
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: 13014
    • View Profile
Re: comment when user upload something
« Reply #1 on: September 03, 2010, 01:55:50 PM »
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
Re: comment when user upload something
« Reply #2 on: September 03, 2010, 05:29:40 PM »
yes...but i modificated the original template......



Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1912
    • View Profile
Re: comment when user upload something
« Reply #3 on: September 03, 2010, 07:26:57 PM »
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
Re: comment when user upload something
« Reply #4 on: September 03, 2010, 08:42:31 PM »
yes.....a comment that says he was uploaded by that user

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1912
    • View Profile
Re: comment when user upload something
« Reply #5 on: September 03, 2010, 11:16:46 PM »
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 »

Offline DjNelutzu

  • Occasional poster
  • *
  • Posts: 24
    • View Profile
Re: comment when user upload something
« Reply #6 on: September 04, 2010, 07:17:24 AM »
ThankYou ;)