Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [done] Turn Gallery Offline Button?  (Read 5254 times)

0 Members and 1 Guest are viewing this topic.

captnpineapple

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://worldsofdisney.net/
[done] Turn Gallery Offline Button?
« on: January 03, 2004, 07:29:53 am »

This could be useful during editing, so how about a "turn gallery offline" button... where the index page changes to a log in screen... kinda like invision board (even though it's not a gallery), but yea. I would *think* it would be an easy thing to do.  :D
Logged
==Captain Pineapple
=Worlds Of Disney
http://worldsofdisney.net/

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
[done] Turn Gallery Offline Button?
« Reply #1 on: January 03, 2004, 08:05:59 am »

Good idea :)

Putting it in right away -
[update] Easier said than done :( will take some time
Logged
SANIsoft PHP applications for E Biz

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
[done] Turn Gallery Offline Button?
« Reply #2 on: January 03, 2004, 09:02:49 am »

Done and commited to CVS devel

There is an option in the config to put the gallery offline - once that is set to yes every one except the admin will see an "Offline" message (set in lang file)

Only Login will allow login to admin (we don't want Admins to be locked out :) )
Logged
SANIsoft PHP applications for E Biz

captnpineapple

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://worldsofdisney.net/
[done] Turn Gallery Offline Button?
« Reply #3 on: January 04, 2004, 04:48:32 am »

Cool! Thanks :D
Logged
==Captain Pineapple
=Worlds Of Disney
http://worldsofdisney.net/

Legacy

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
[done] Turn Gallery Offline Button?
« Reply #4 on: February 07, 2004, 07:19:21 am »

Would you be able to post what files were updated to get this feature working, so that I could include those files in my current installation?  I could really use this feature right now...
Logged

FreeMail

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
    • http://www.myphotodb.com
[done] Turn Gallery Offline Button?
« Reply #5 on: March 04, 2004, 04:20:58 pm »

yes, please post the codes please, thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.102 seconds with 19 queries.