Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning feature #598

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Warning feature #598

wants to merge 6 commits into from

Conversation

perdedora
Copy link
Member

modified version of npfchan.

@RealAngeleno RealAngeleno marked this pull request as ready for review July 15, 2023 21:13
@RealAngeleno RealAngeleno marked this pull request as draft July 15, 2023 22:42
@RealAngeleno
Copy link

Works if you remove the sql call for cookies. (pages.php line 925)

I think we should fix a bug with seen (which shows up when the ajax js is enabled), as it does a checkban twice, causing the end user to never see his or her expired ban or, in this case, the warn.

@perdedora
Copy link
Member Author

Works if you remove the sql call for cookies. (pages.php line 925)

Oh, forgot there

@perdedora
Copy link
Member Author

the ajax code is probably dogshit, but at least is working

Copy link
Member Author

@perdedora perdedora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaved trash in the ajax file while testing this is why the revert

@perdedora
Copy link
Member Author

The default behaviour of ajax now is -> if theres a warning and ban, show warning first then ban

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants