I just finished adding the flags system to file areas, you can add them via ini files.
I just had a user ask if he could have a private file area of his own
so I am just about to add an area for him and will be using flag of
some sort.
It wont affect files via the web, only logged in.
Is there a way to make the area unavailable on the web, or only
available to that user?
Currently when I look at the file areas on the web the file directories all say "RESTRICTED" in red beside them. The areas I have available
really don't have or need any restrictions (aside from this new area
for this user). Is there a way I can remove that?
It would be good for the file areas to say restricted, if they are restricted somehow.
They say restricted if the area requires a user to be logged in to
access. Flags currently dont have any effect on the areas via web, you
will need to list the area as unavailable on the web.
The way things work on the website is there is no way with the current
set up to see if a user is logged in without prompting the user to
login. So, I cant make a test to see if the user is logged in and if not
hide said areas, so I just listed them as restricted, then if a user
attempts to access the files that is not logged in it will prompt for a
login or give a 403.
By making areas unavailable via the web, this does not effect the web
download option in the bbs.
Andrew
--- MagickaBBS v0.13alpha (Linux/x86_64)
* Origin: HappyLand -
telnet://magickabbs.com:2023/ (21:1/126)