Author Topic: login, uploading, yabbse, public viewing, etc.  (Read 12063 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:login, uploading, yabbse, public viewing, etc.
« Reply #30 on: March 24, 2003, 21:00:03 »
Hey, I think I have the answer: you appear to be using per_member_uploads, which means that regular users never get to choose their upload location.

If you're seeing a droplist on the upload screen, album.pl still thinks you're an admin, somehow. When I visited your album, I had no way to select where to upload (the correct function for your settings)...

Offline xenon2000

  • album.pl Tester
  • **
  • Posts: 47
  • Karma: +0/-0
  • Photo galleries rock!
    • PicturesForTheBlind.com
Re:login, uploading, yabbse, public viewing, etc.
« Reply #31 on: March 24, 2003, 22:47:52 »
Sorry, I should have mentioned that, I just tried that last night as another attempt to see if that made any difference with the no_upload.txt and it didn't, but I hadn't changed it back to 0. I didn't see any suggestions in your last post. I don't know if the goal has been lost now, but I am trying to keep users from uploading all together, I just want chosen default admins to be able to upload, and that is it.
~Shawn

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:login, uploading, yabbse, public viewing, etc.
« Reply #32 on: March 25, 2003, 08:13:27 »
Hahah, yeah, I lost track of the goal. ;)

Ok, here's another way to do it... In album.pl, find a line like this:

Code: [Select]
$::upload="upload";
Change the 2nd "upload" to something new that only you know (like a password that you'll share with all admins). Then in album_header.tml, delete the following line:

Code: [Select]
         <a href="####ALBUMPROG####;function=upload"class="optionslink"><img class="button" src="####CONFIG=upload_button####" alt="" /></a>

That'll take the "upload" button off your album, and admins with have to upload by using the special URL:

http://hostname.com/cgi-bin/album.pl?function=newuploadfunction

Where "newuploadfunction" is what you've changed the "upload" to in album.pl.

Hope that makes sense... It's kind of like password protecting uploads, allowing you to just give that "password" out to your admins as an upload URL.

Hope that makes sense, and it'll bypass all the rest of the weirdness we've been seeing... :)

Offline xenon2000

  • album.pl Tester
  • **
  • Posts: 47
  • Karma: +0/-0
  • Photo galleries rock!
    • PicturesForTheBlind.com
Re:login, uploading, yabbse, public viewing, etc.
« Reply #33 on: March 25, 2003, 13:41:40 »
Thanks for the new solution idea. I will try that today. Thanks for the hard work and the time you give to this project.
~Shawn

Offline xenon2000

  • album.pl Tester
  • **
  • Posts: 47
  • Karma: +0/-0
  • Photo galleries rock!
    • PicturesForTheBlind.com
Re:login, uploading, yabbse, public viewing, etc.
« Reply #34 on: March 25, 2003, 14:09:49 »
K, well I did that and of course it works. So I will just use that solution for now. Not as nice as the first solution idea, but it works.  But that's how things move forward. Thanks again.
~Shawn

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:login, uploading, yabbse, public viewing, etc.
« Reply #35 on: March 25, 2003, 14:31:11 »
Yeah, not as pretty, but it should allow you to get going. We can keep tackling the problem if you'd like...