Galleries only available for specific time
|
newproblemfound
Joined: 2004-08-13
Posts: 65 |
Posted: Tue, 2009-11-10 10:37
|
|
Hi there, i am not sure if you could help me. Currently i am searching for a gallery, where we could display some pics only available to a specific user. This is possible with this Gallery-Script. But now we would love to setup the Gallery, that an album is only available a specific time. For example: We add today a user and for this user a specific album. The user should be able to log into the gallery for say 30days. Or the album should be available only 30days. Is there a chance to set this up within gallery? Or any idea how to solve this problem? Thanks in advance.. Marcel |
|
| Login or register to post comments |

Posts: 3865
There are many ways to do both of these things.
Here is a module I wrote to display a tag "expires soon" under any album and photo that is more than a certain number of days old - it's based on the "new items" module. It's not exactly what you want, but it might be useful. Add a stylesheet entry for .giOld to style the tag, eg
.giOld { font: normal 7px Arial; text-transform: uppercase; color: #222; background: #ff2222; padding: 0 3px; margin-left: 3px; }To expire users after a certain period of time, see http://codex.gallery2.org/Gallery2:Modules:timevalidation