How can we grant guests a basic read-only access?
Such that they can see the game board but cannot play until login?
How can we grant guests a basic read-only access?
- Mike-on-Tour
- Administrator
- Posts: 436
- Joined: Sat 21. Mar 2020, 19:02
- Location: Wittingen
Re: How can we grant guests a basic read-only access?
This is not possible with the current permissions.
Implementing this would at least be complicated because of the usage of PHP, jQuery and Ajax.
Implementing this would at least be complicated because of the usage of PHP, jQuery and Ajax.
Gruß
Mike
Mike
Re: How can we grant guests a basic read-only access?
Ok. Thanks.Mike-on-Tour wrote: Mon 30. Jun 2025, 13:30 This is not possible with the current permissions.
Implementing this would at least be complicated because of the usage of PHP, jQuery and Ajax.
Maybe I'll construct a simple html file alternative for guests and partition it with IF S_IS_BOT conditional statement. All in the mot_sudoku_main html file only.
That way, guests will load a different html body for sudoku_main file from logged in memmer. I think this is a simple solution.
Thanks.
- Mike-on-Tour
- Administrator
- Posts: 436
- Joined: Sat 21. Mar 2020, 19:02
- Location: Wittingen
Re: How can we grant guests a basic read-only access?
S_IS_BOT
will not work for this case. As the name implies this only tells you whether the user is a bot or not.For your purpose you will need to use
S_USER_LOGGED_IN
.Gruß
Mike
Mike
Re: How can we grant guests a basic read-only access?
You are very correct sir!Mike-on-Tour wrote: Mon 30. Jun 2025, 16:29S_IS_BOT
will not work for this case. As the name implies this only tells you whether the user is a bot or not.
For your purpose you will need to useS_USER_LOGGED_IN
.
I meant IF S_USER_LOGGED_IN
Thanks.