Hi!
I just added the troll block to my new 4.7 drupal installation. However, it won't work for me. I created a dummy user to test the module on, but when I try to block him the page just goes blank. No error are printed in the logs.

If I go back and rerfresh the page, the "Block user #" message is printed at the top, and the users is listed as and actually is blocked. However I don't see anything anywhere that would allow me to unblock the user. I suspect this is not the intended behaviour.

Comments

deekayen’s picture

Priority: Critical » Normal
Status: Active » Fixed

The user block function isn't really so much a troll feature as it is a shortcut to editing a user profile to toggle active to blocked. I added an if statement to the output so it outputs a link to the user's profile edit tab if they're blocked instead of "Ban User" again. I also told it to refresh to the main troll admin page after clicking the ban user link. There wasn't an error - it just simply didn't tell Drupal to display anything.

Anonymous’s picture

Status: Fixed » Closed (fixed)