How can we grant guests a basic read-only access?

If you need support and would like to ask your question in English please enter here
bestng
Posts: 26
Joined: Sat 17. May 2025, 10:05

How can we grant guests a basic read-only access?

Post by bestng »

How can we grant guests a basic read-only access?
Such that they can see the game board but cannot play until login?
User avatar
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?

Post by Mike-on-Tour »

This is not possible with the current permissions.
Implementing this would at least be complicated because of the usage of PHP, jQuery and Ajax.
Gruß
Mike
bestng
Posts: 26
Joined: Sat 17. May 2025, 10:05

Re: How can we grant guests a basic read-only access?

Post by bestng »

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.
Ok. Thanks.

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.
User avatar
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?

Post by Mike-on-Tour »

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
bestng
Posts: 26
Joined: Sat 17. May 2025, 10:05

Re: How can we grant guests a basic read-only access?

Post by bestng »

Mike-on-Tour wrote: Mon 30. Jun 2025, 16:29 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.
You are very correct sir!

I meant IF S_USER_LOGGED_IN

Thanks.
Post Reply