The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validity Time
#1
I need to check if the user in within a date/time range of permission to access the protected page.

I define the time-window at the user creation, then I can update it, if necessary (usually not).

The user can login, but can see the pages only when inside the time-window.

Attached there is my modification: seems to work.

Hope this helps, but any update/corrections are welcome Smile

Oscar

PS: How can I send a file??? Big Grin Big Grin Big Grin
  Reply
#2
You can paste the contents of the file on pastebin and share the link here and we can take a look. Thanks!
  Reply
#3
Found: you can download all here.

https://filebin.ca/3ablMfoQzbGw

Inside you will find a little guide that, starting from a fresh install, replicate the function.

Let me know...

Thnx!
  Reply
#4
That's awesome. Thank you for this. I'm going to add it as an addon.

I'm also doing one for stripe and google calendar.

Thanks for your contributions.
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)