-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
Properly unban users that are banned on "site" #9818
Conversation
@@ -6,7 +6,7 @@ | |||
* @package Kunena.Plugins | |||
* @subpackage System | |||
* | |||
* @copyright Copyright (C) 2008 - @currentyear@ Kunena Team. All rights reserved. | |||
* @copyright Copyright (C) 2008 - 2025 Kunena Team. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's useless to replace @currentyear@ because it's a variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. Have to check this every time as Dreamweaver does this. Will try to remember for next time.
@@ -2,16 +2,16 @@ | |||
<!DOCTYPE extension> | |||
<extension version="2.5" type="plugin" group="system" method="upgrade"> | |||
<name>plg_system_kunena</name> | |||
<version>@kunenaversion@</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, It's useless to replace it
@@ -2,16 +2,16 @@ | |||
<!DOCTYPE extension> | |||
<extension version="2.5" type="plugin" group="system" method="upgrade"> | |||
<name>plg_system_kunena</name> | |||
<version>@kunenaversion@</version> | |||
<creationDate>@kunenaversiondate@</creationDate> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, It's useless to replace it
This morning, I set an expiration date for this afternoon for the same banned user on the live site, on a version on localhost, and on the modified version on localhost. |
Pull Request for Issue #9812 .
Summary of Changes
Testing Instructions
Ban user on "site" for a short time. Check after an hour if user is unbanned.
If you want to check quicker, change value on line 126
if ($timestamp - $lastCheck >= 3600) {