Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Effort to Integrate Filebrowser with Vanilla Authentication . . .

edited December 2006 in Vanilla 1.0 Help
Just wondering if anybody has made the gesture toward using Vanilla's user authentication to control access to Filebrowser? I have a site where the client will not want the photos available to anyone other than its own Community. If somebody has headed that way, I would not want to muck things up by my own effort. . . Ben Wilson

Comments

  • Options
    This sounds like a really good idea, you mean only those who join can view.
  • Options
    Yes, join to view, and some members can edit.
  • Options
    I'd like to see this. Mainly what I'd like to do is only allow a user to be able to see their specific area in FB. Such as "username" can only see /filebrowser_dir/username which would be handled by Vanilla's authentication.

    How could this be handled?
  • Options
    I'm *very* interested in Vanilla's user authentication controlling access to Filebrowser. My vote is YES. :)
  • Options
    edited December 2006

    I'd like to see this. Mainly what I'd like to do is only allow a user to be able to see their specific area in FB. Such as "username" can only see /filebrowser_dir/username which would be handled by Vanilla's authentication.

    How could this be handled?
    Maybe checking if dirname == username? You would have to query the DB to get the username. Obtaining the UserID is easy:

    include_once("../comunidad/appg/settings.php"); include_once("../comunidad/appg/init_people.php"); $UserID = @$_SESSION[$Configuration['SESSION_USER_IDENTIFIER']];

    (If i remember correctly, Mr. Bergamot published that code in an old post).
  • Options
    haha i was just thinking of this! And if someones done it please share!
This discussion has been closed.