Master_Cylinder wrote:Pony99CA wrote:I think that an automatic group mechanism in the core would accomplish what this topic is about and be useful in many more ways. A simple post counter that only applies to the ability to post links is too specific and would require hard-coded rules to possibly exempt moderators and admins from that limit.
There's no need to add a special group just for this and there would be zero need to hard-code exceptions for amins/mods because each group would already be able to be configured separately. If you look at
this solution you see that the default can be set to always allow admin and mod groups to post links, default the NRU group to never post links and the registered user group can default to the 1st post but be changed as I described:
Just add can post links after X posts to the "group wide settings" config and let the admin choose how many.
0 = never, (1-99) = configurable X and blank = always."
...or something like that.
In your proposal, it's true that there would be no need for a new group, but you would need to go type the number of posts required to post links into the groups you wanted to limit. (Presumably it would default to zero, meaning anybody could do it.)
Now consider that another user wants a new feature -- the ability to not allow PMing for a number of posts (phpBB.com actually has this limit, I believe, set to 5). That means another counter in the
Group wide settings section, changing the ACP to accommodate that counter and changing the code to check for it.
Now suppose that another user wants ability to limit linking to images for a number of posts. That means another counter in the
Group wide settings section, changing the ACP to accommodate that counter and changing the code to check for it.
Now suppose that another user wants ability to limit posting Flash for a number of posts. That means another counter in the
Group wide settings section, changing the ACP to accommodate that counter and changing the code to check for it.
Do you see where this is going?
With Auto Groups, you'd have two new
Group wide settings counters --
Posts required to join group and
Posts required to exit group -- and you'd create the group using existing permissions. Newly Registered Users would be 0 and whatever you set now. Most other groups would probably be the limit that you wanted to enter and zero to exit (meaning you don't exit).
Doesn't that sound simpler in the long run?
Master_Cylinder wrote:Danielx64 wrote:For starters I think that having auto groups would be a good idea as it would be more flexible than having a one size fit all.
One size fits all what? My solution doesn't need a special group but can still accommodate the flexibility. Maybe you want autogroups for something else but there's no need for a group for this idea, imho.
It's "one size fits all" in the sense that you're only handling the problem for one limit. Auto Groups makes it easy to limit the number of posts for
any permissions that the admin chooses, not just the specific one that you may want right now.
Master_Cylinder wrote:
Let me ask the programmers this, which would be easier to code? Autogroups and no-link per group or no-link per group with an extra group wide setting? Which one is leaner? I think swapping members in and out of a group for this is heavier than a simple group wide setting. YMMV...
Remember that it's not necessarily about what's easier to implement for
one specific request; it's also about making things extensible for the future. As I hope I've demonstrated, Auto Groups is more extensible.
Steve