Closed (fixed)
Project:
User Limit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Sep 2012 at 16:04 UTC
Updated:
20 Oct 2012 at 19:21 UTC
Jump to comment: Most recent file
Any plans for D7 port?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | d7-port-user-limit-1780302-1.patch | 11.45 KB | geerlingguy |
Comments
Comment #1
geerlingguy commentedI ported everything, and cleaned up a bit. Some additional changes besides a straight port:
hook_perm()(nowhook_permission()), as the permission was never used anywhere..modulefile, so it follows normal convention of core hooks, then form alters, then helper functions.system_settings_form()takes care of saving all the variables.user_limit_reached()anduser_limit_surpassed()into the former, since the latter is not necessary.user_limit_count_users()to use an extensible DBTNG query (which, coincidentally, fixes #1451038: Make the module PSQL friendly for D7).I'd be happy and willing to take over as maintainer of the D7 branch of this module, if you've moved on to other projects. I'm using it for a side project that I'll be working on for the next year or two, so I'm definitely invested in its well-being.
Comment #2
ergonlogic@geerlingguy, thanks! I've added you as a maintainer. Go crazy!
I'm not making use of this at the moment, hence my pretty much ignoring it for awhile. I'll probably return to it in 6 months or so.
Comment #3
kaizerking commentedVery nice to see this ported to D7,
Comment #4
geerlingguy commentedFixed: http://drupal.org/node/1805414
7.x-1.0-beta1 should be out now.