1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Unchecking "Check spammer's IPs" forces page refresh

Discussion in 'Resolved Bug Reports' started by Ridemonkey, Mar 11, 2015.

  1. Ridemonkey

    Ridemonkey Well-Known Member

    When using the spam cleaner, if when you leave the "Check spammer's IPs" checked, the second modal box with the IP check appears, and you can use the close button to dismiss the modal box normally. The page that spawned the modal box remains unchanged.

    If you uncheck that spammer IP check, the spam cleaner modal box disappears, but it forces a page refresh (no matter what page you spawn the cleaner from, whether it's the admin CP or the front end). This can get aggravating when you're trying to clean many spammers, and rather defeats the purpose of the modal window.

    I believe this is a bug - the spam cleaner window should behave the same way whether or not you're checking spam IPs.
  2. Mike

    Mike XenForo Developer Staff Member

    This is actually intentional and how it's worked from day one, though I agree it might be unexpected. It's actually more a limitation that the version with the IP check can't do a page reload. As spam cleaning may change a lot of stuff on the page, a reload is a reasonable reaction to ensure that you're seeing data in the current state.
  3. Ridemonkey

    Ridemonkey Well-Known Member

    I see your point, but there are no bulk spam cleaning tools in XenForo. Flipping through logs or the moderation queue to purge multiple spammers is tedious at best, and really the only saving grace is that the modal boxes and lack of page refreshes allows pretty efficient clicking.

    This may be a case where an unintended behavior is actually beneficial to the way I use the system, but I'd be surprised if I was the only one who found it useful to clean spammers out of the moderation queue without the page refreshing each time.
  4. Mike

    Mike XenForo Developer Staff Member

    I've changed this.
    Ridemonkey likes this.
  5. Alan Hollis

    Alan Hollis New Member

    Is there anyway to get the refresh back? In our use case this actually takes more time. We have a pretty busy forum which gets a lot of spam in the moderation queue and without knowing what the latest state is it's difficult to track what we've already cleaned and what we haven't.


  6. Mike

    Mike XenForo Developer Staff Member

    It would require direct code modifications.
  7. Alan Hollis

    Alan Hollis New Member

    I was wondering I could catch an event and force a reload via JavaScript?

Share This Page