rejetto forum

HFS print list of users

Denis · 20 · 19336

0 Members and 1 Guest are viewing this topic.

Offline Denis

  • Occasional poster
  • *
    • Posts: 34
    • View Profile
Thanks, but after making a private section, how do I administrate who can "acces" it?

Thanks for the help.


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Put something like this around the script:

Code: [Select]
{.if|{.=|%user%|admin.}|{:

(script here)

:}.}


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
instead of putting the script in a template [section]
you can put it in the diff template of a virtual folder,
so you can control access as you normally do with folders.


Offline Denis

  • Occasional poster
  • *
    • Posts: 34
    • View Profile
With raybob's script i cannot even acces it anymore, it just say "not found" :(


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
When I said put it around the script, the [section header] still needs to go above it.


Code: [Select]
[section name]
{.if|{.=|%user%|admin.}|{:
(rest of script here)
:}.}