Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Edit ban by Akismet [C-Michael83]
#1
If a user is banned by Akismet, if you go to edit the ban in the ACP, the time option selected is 1 day, not permanent, which is what the length actually is. People may edit the reason and not realise the length has also changed. Seems to show the correct length when editing in the MCP. Only tested on 1.4.4
Can you still feel the butterflies?

Free never tasted like pudding.
#2
Fix. Find in admin / modules / user / banning.php

PHP Code:
if($time != "---"

replace with

PHP Code:
if($time != "---" && $time != 'perm'
#3
I replaced both occurrences of if($time != "---") with the replacement and it's still saying 1 day instead of permanent when you go to edit it. May be linked to something else though that I've noticed but I'll have to look at that again tomorrow.
Can you still feel the butterflies?

Free never tasted like pudding.
#4
Nope, still says one day when you edit it.

   

Just to confirm, this is when a user is banned permanently by Akismet and you edit the ban in the ACP banning page.
Can you still feel the butterflies?

Free never tasted like pudding.
#5
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group


Forum Jump:


Users browsing this thread: 1 Guest(s)