Author Topic: Private Albums  (Read 1689 times)

0 Members and 1 Guest are viewing this topic.

Offline phuqwit

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • Greetings
Private Albums
« on: July 09, 2002, 16:58:08 »
I'd like to have private albums where I can select users who can view them .... something like yahoo photo album has.

Nice script all the same .. best one I have found.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Private Albums
« Reply #1 on: July 10, 2002, 11:30:52 »
Your wish is granted!

For those albums you want to keep private, you can drop in a local album.cfg, that contains something like this:

Code: [Select]
album_password=somepassword


--- or ---

Code: [Select]
auth_db=[Authentication DB for this album]
protect_album=1
authentication_type=1


The first option sets a static password for that album, which you can pass around. The second option points that album to an auth DB (click for format info).

You could also use UBB or YaBB authentication in the same way, but it's an "all or nothing" approach. (All YaBB users are authenticated or they're not...)

Cheers
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline phuqwit

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • Greetings
Re: Private Albums
« Reply #2 on: July 10, 2002, 16:20:52 »
Cheers Mike,
However, neither option seems to be working very well... unless I am doing something wrong.
I am authenticating against a YaBB scheme.
The first option won't let me into the album at all and the second asks for a username and password then takes me back to the main album screen.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Private Albums
« Reply #3 on: July 11, 2002, 06:10:14 »
Yeah, if you're using YaBB, there's currently no convenient way to have Yabb user "groups" which are allowed access to specific albums. So I guess your feature request stands... :)
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »