I'm looking to build a Views Bulk Operations view that will allow me to update role expiry dates en mass. Has anyone already done this? If I don't hear back real quick, I'll put it together myself. I'm guessing the easiest way is to create a VBO view makes a Role Expire API call based on the UIDs that the view exposes.

Comments

seanberto’s picture

Oh, and when I've got this working, I'll post the VBO code snippet here.

seanberto’s picture

So, I ended up contracting out @mikey_p to write an add-on module that allows you to create pre-configured "extensions" for each user role (ie, extend user role X one month, extend user role Y 12 months). These extensions are then exposed to VBO.

What's great about this approach is that you can create a view with a filter to find users who meet flexible filter criteria - and then run a number of different actions on those records. For example, you could use the same VBO view to send them an email letting them know that you are extending their role - and then go through and extend it, all from the same screen.

Mikey_p's got the module on his public svn server right now. If you want to see it, give him a shout on DO. He also has plans to see if bdziewierz is interested in incorporating his code as a patch - but that's for those two to figure out.

Cheers,
Sean

a.bond’s picture

What's the status of this? I'd love to have this feature.

michellezeedru’s picture

+1 - is this module available?

kentr’s picture

rcodina’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal 6 version is unsupported!