rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: DjNelutzu on September 02, 2010, 05:29:05 PM

Title: comment when user upload something
Post by: DjNelutzu 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? ???
Title: Re: comment when user upload something
Post by: rejetto 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?
Title: Re: comment when user upload something
Post by: DjNelutzu on September 03, 2010, 05:29:40 PM
yes...but i modificated the original template......


Title: Re: comment when user upload something
Post by: Mars 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?
Title: Re: comment when user upload something
Post by: DjNelutzu on September 03, 2010, 08:42:31 PM
yes.....a comment that says he was uploaded by that user
Title: Re: comment when user upload something
Post by: Mars 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

 ;)
Title: Re: comment when user upload something
Post by: DjNelutzu on September 04, 2010, 07:17:24 AM
ThankYou ;)