Login
Register
Menu
Home
Help
Search
rejetto forum
PROBLEMS? QUESTIONS? CLICK HERE!
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
Is there any way to filter the file by the comment?
Is there any way to filter the file by the comment?
funjay
·
5 ·
8749
« previous
next »
Print
Pages:
1
0 Members and 1 Guest are viewing this topic.
funjay
Occasional poster
Posts:
21
Is there any way to filter the file by the comment?
on:
September 03, 2010, 07:41:46 AM
ex. the file with "ban" comment will be hided to some users
but some user with upload or delete can see it.
is it possible?
thanks.
rejetto
Administrator
Tireless poster
Posts:
13523
Re: Is there any way to filter the file by the comment?
Reply #1 on:
September 05, 2010, 04:47:28 PM
yes, it's possible.
i didn't test this, but you can try
right click on the root/home > properties > diff template
[file]
{.if|{.or|{.%item-comment% != ban.} | {.get|can upload.} | {.get|can delete.}/or.}
|{:{.$file|back=1.}:}.}
«
Last Edit: September 06, 2010, 10:40:34 AM by rejetto
»
funjay
Occasional poster
Posts:
21
Re: Is there any way to filter the file by the comment?
Reply #2 on:
September 06, 2010, 04:04:15 AM
thanks for youre reply.
and i add the code into diff template
it does not work, and all the files are listed twice. but the folder is normal.
thanks.
and one user without upload and delete also see the files with comment "ban"
rejetto
Administrator
Tireless poster
Posts:
13523
Re: Is there any way to filter the file by the comment?
Reply #3 on:
September 06, 2010, 10:40:59 AM
there was an error, it was not [+file] but [file]
now i fixed the script.
re-try.
funjay
Occasional poster
Posts:
21
Re: Is there any way to filter the file by the comment?
Reply #4 on:
September 08, 2010, 01:02:28 AM
thank you very much, it works.
thanks.
Print
Pages:
1
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
Is there any way to filter the file by the comment?
Search
Username
Password
Always stay logged in
Forgot your password?