Needs review
Project:
Registration codes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2012 at 14:27 UTC
Updated:
9 Dec 2016 at 23:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
scristian commentedI did a custom action for this to be used on views_bulk_operations. This change only expiration date, but can be easily changed to change maximum uses.
Also, it uses Date module.
Comment #2
schiavone commentedHas anyone tried this with 7.x? If not I might be able to get this into a patch.
Comment #3
progpapa commentedThe code in #1 requires only smaller changes to work with D7.
I've turned this into a patch for the regcode module, removed the Date module dependency and added an action for changing max uses.
(If you've overridden the view at admin/structure/views/view/regcode, you'll need to add the two new VBO actions manually, otherwise they should show up after a cache clear.)