By andymilk on
Is there a module that will allow for the customization of the admin/user/user list? I want to show a couple custom profile fields.
Also, is there a way to show/access this data:
- Date the user registered (rather than Member For...)
- Date the user was approved
One more thing, is there a way to prevent Drupal for updating "Last Access" when I unblock a User? Technically, they didn't access anything. I set that value as an admin, so it really shouldn't update that value.
Thanks
Comments
Use Views to define your own
Use Views to define your own user lising page at the same URL.
However Drupal doesn't store the time an account is approved AFAIK. You might need to add an admin profile field to users and use Rules module to track approvals, modifying the profile field when appropriate.
>prevent Drupal for updating "Last Access" when I unblock a User?
If the DB column in the {users} table gets updated then it might be tricky to prevent that. Might be part of http://api.drupal.org/api/function/user_save/6. And the column might actually mean "last pageview by this user or last time the accout was updated by an admin".
Anyway you *might* be able to change that by using Rules module to grab the value of "access" just prior to the user being saved, and then update the user's info with that value; however if user_save() is indeed causing the problem then that might not work since Rules probably uses user_save() to do its stuff.
gpk
----
www.alexoria.co.uk
Great, thanks for the
Great, thanks for the suggestions!
Is there a way for me to use the Admin theme w/ my View (at the same URL)?
Also, are there views out there that mimic the admin/user/user page? I don't really want to build that page from scratch, I'd rather just modify what is there, the filters, etc.
Thanks,
Andy
>Is there a way for me to use
>Is there a way for me to use the Admin theme w/ my View (at the same URL)?
AFAIK the theme you set for the "Administration theme" is always used for all paths that begin with 'admin'.
>are there views out there that mimic the admin/user/user page? I don't really want to build that page from scratch
Once you have the hang of Views 2 it's quicker/easier to do it from scratch in order to get exactly what you want. You need a new view of type 'user'.
gpk
----
www.alexoria.co.uk
Thanks!
Just whipped up a user list and it works well. I can't seem to expose more than one filter, but I'll figure it out.
Question: my client was using the "Unblock selected users" form to update multiple users at once.
Is this possible with a View?
>I can't seem to expose more
>I can't seem to expose more than one filter, but I'll figure it out.
You should be able to expose as many or as few as you want...
>"Unblock selected users" form to update multiple users at once. Is this possible with a View?
Try Views Bulk Operations module.
gpk
----
www.alexoria.co.uk
Thanks! That did the trick!
Thanks! That did the trick!
Soon there will be a Drupal
Soon there will be a Drupal module to "wash all my blue socks and while you are at it please cook dinner and sort out the paperwork.." ;)
gpk
----
www.alexoria.co.uk