Open petitssuisses opened 7 years ago
How about in addition to an expiration time option, an access count expiration. Define a property 'accessCount' attached to the link (I'm a dev, but don't know piwigo at all) if accessCount = -1,the feature is disabled if accessCount > 0, access is enabled. Every time link is used, acessCount is decremented. if accessCount = 0, access is disabled (maybe disables the user when this count reaches zero) what do you think?
oh, didn't realize this was closed. Should I suggest this as a new enhancement?
Hi @toddgee, the Fatal error issue #22 is closed, but not this one. It is logged as an enhancement. Thanks for the suggestion ? Does it correspond to a use case you have ? Could you describe it (what would you use it for ?) Thanks
This was an enhancement suggestion.
From the README, the mod allows: Implemented #15 Add number of visits and last visit using the shared link enhancement
I was thinking that an individual share could allow a max allowed number of visits. (If set to 0, the default, this behavior would be disabled.) Every time the link was accessed, a check could be made: if (visit count = max allowed number of visits). If 'true', the private gallery would not be shown.
This would allow sharing a gallery a specific number of times, rather than only for a specific amount of time.
Does that make sense?
Thx
When the visit counter
Hi, sorry I never replied to your comment. No, I do not think it's a viable option to count per number of accesses (it would imply much additional complexities such as : shall you count 2 access from the same IP only 1 ? Quid of people behing a public IP ? ... etc. So I think we should stick to the duration option only
expiration date in progress, will be released soon
Hi, sorry I never replied to your comment. No, I do not think it's a viable option to count per number of accesses (it would imply much additional complexities such as : shall you count 2 access from the same IP only 1 ? Quid of people behing a public IP ? ... etc. So I think we should stick to the duration option only
I would expect that any usage count would be an absolute number of accesses to the home page. I would like to be able to distribute a link that was only good once. The recipient could visit the link and then access the photos on it, but after that, the link to access that album couldn't be accessed again.
How about an expiration date that was relative to the first time of access? So, once the request was triggered, the link would only be good for X days? This could be instead of or in addition to a hard deadline.
thoughts?
any news on expiration date ? i'd love to have this function !, but the simple version when u just put a date (and time ?) and that's all, not the complicated one with numbers of days that activates after first connexion.
Option to share an album for n days instead of forever