Closed (fixed)
Project:
Troll
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2006 at 00:23 UTC
Updated:
5 Jun 2006 at 09:16 UTC
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
Comment #1
deekayen commentedThe 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.
Comment #2
(not verified) commented