XF 2.2 Showing page for the first daily visit of a guest

I searched at xenforo.com a lot, I didn't find a solution or add-on here (yet).

(I'm not sure if this is the right forum section to post at, but maybe it's a built-in function of XenForo already that I don't know, so it doesn't require an add-on. Feel free to move this post to a matching forum section.)


What I want to do:

1. Detect the first visit of the day by a guest (unregistered user) based on his IP address.

2. If it's the first visit:

A. Show a special PHP page to the guest including some background tasks, similar to Cloudflare.
B. Redirect the guest to the URI he originally called.


I don't need the background PHP script (A) or the redirect stuff (B), I just need some tips how to arrange the "interstitial" page before the guest will be redirected to the URI he originally called. Similar to a first visit of a new website when Cloudflare shows a page for a few seconds before you will be redirected to the website.

Server: Apache 2.4.59, Ubuntu Linux
.htaccess enabled

Can this be done inside XenForo or does it need (another) .htaccess rewrite to show the page before the original URI? I don't want to set up a reverse proxy etc.

Thank you in advance for every pointing into the right direction.
 
Back
Top Bottom