Is it possible to have a time restriction for a specific category or a specific album (for example album=108)?
I inserted some games in my gallery and now it could be good to set a time restriction so that the kids first do their homework ;) and only can play for example between 1 and 2 pm and between 20 and 22 pm swiss time.
--> http://www.dorfschule.ch/copper/thumbnails.php?album=108
Thanks for any ideas or codes and thanks to "omniscientdeveloper" for the idea inserting flash games in a gallery (it works without any problems).
hama
It may be possible, but it won't be something the dev team will develop. Sorry, but this isn't a feature that the majority of Coppermine users will need.
I totaly understand that the dev team won't develop something like that (I'm happy that they work on version 4.0 of cpg). :)
My question is just an idea and maybe someone has already a solution.
It's really not a job of the dev team ... there are about 10661 members in this forum (it's big).
hama
Feature requests are requests for features to be in the next version of coppermine. If you are simply asking for a mod, you should ask in the general support area.
Ok, I understand.
Can you move it to the general support area or is it better when I start a new topic in the right area?
Thanks
hama
the place to insert such a function would be in include/init.inc.php, something like this (no working code, just a rough sketch):if (date('Hi') < $your_allowed_start_time OR date('Hi') > $your_allowed_end_time)
{
cpg_die('Do your homework first');
}
Joachim