Skip to content

Ban system idea #16

Closed
Closed
Feature
@Fluffy728

Description

@Fluffy728

You know how I can ban people from the Coding Hut Scratch Forum Thread? Currently the website does not know that, that user is banned from Coding Hut. We could do a ban list, where if they sign in with the Scratch Authentication page and their name is on a ban list I will create, it to not sign in and redirect to a ban screen.

We could do like an if then if the scratch username equals a banned user from Coding Hut redirect them to the page, but we could do like it for different reasons, like if they spam redirect to the spam reason page.

I made the ban screen - https://scratch-coding-hut.github.io/banscreen but we need a way to redirect the user to that page BUT ONLY REDIRECT THEM TO THE BAN SCREEN WHEN THEY ARE BANNED FROM CODING HUT.

If they are not banned redirect them to the normal redirection page.

(Going to the ban screen won’t ban you since it’s just a static page for redirecting to)

I made different ban reasons, example:

https://scratch-coding-hut.github.io/banscreen - This page will return no reason I will just show a message saying you broke the rules and got banned for an unknown reason.

https://scratch-coding-hut.github.io/banscreen?reason=spam - This page will return a reason saying you have been banned from Coding Hut for spamming

https://scratch-coding-hut.github.io/banscreen?reason=nosnip - This page will return a reason saying the user has not snipped their posts too much

https://scratch-coding-hut.github.io/banscreen?reason=rude - This page will return a reason saying that the user has been banned from Coding Hut for being rude

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

Completed

Relationships

None yet

Development

No branches or pull requests

Issue actions