Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

[NSFW] Distinction between unlogged/logged/restricted?

$
0
0

Replies: 0

Hello.

I am writing up in case there’s a way to distinguish between non-logged in users, logged in users, and allowed users.

Due to constraints with our hosting service. We had to remove all static content from the site, so we’ve grafted it into wordpress as best as possible.

The old behaviour, and, the expected behaviour were as follows:

If a logged out user comes to the website, they’d find the landing/tos page. Choosing to enter the site would send them to a site preview without any actual content.

If a logged in user comes to the window, they’d find the landing/tos page, and choosing to enter the site would lead them to the latest post page.

We had already implemented RAS for this behaviour, and our preview page was also our failsafe if anything went wrong.

Now that we’ve had to implement all the sites under wordpress, we’re finding ourselves with the following scenario.

Logged out users skip straight to the site preview page without even looking at the terms of service.

Logged in users get the old behaviour where they need to get through the tos to get to the site and access the latest posts as usual.

Is there a way to implement some extra logic so this also affects logged out users?


Viewing all articles
Browse latest Browse all 59525

Trending Articles