Couldn't wait til 7.3, because a customer needed it and had a spare afternoon.. So this puppy was born to bridge the time gap.
It allows an Admin to selectively dole out permissions based upon with group or groups they are in..
It not only looks at whether the group feature is enabled or disabled, but additionally takes into account an optional post count requirement for each feature.
Features only come into play, if the board allows the feature globally or on a per forum basis.
Features can be or'ed together, much like we have now for forum based group permissions.
Group features also utilize the same type of permission caching that Rick employed for Forums. It's very efficient that way.
I believe a picture or pictures is worth a 1003 words, so here goes some screenies..
You'll notice that i pulled the custom title per group feature over into THIS matrix, so don't be alarmed if you click on the other tab and notice it's 'missing'.. It just moved over to it's newfound home
I belive the last screenie is self explanatory..
Feel free to ask questions..
Oh and backup your files etc etc, before doing this puppy. It's a medium to hard modification..
and read the ReadMe.txt for all the dirty rotten details that i didn't cover here as well as what to actually do if you want this on your board..
I may try to adapt the old auto-hack app for threads.
i'd love to know more about this!
if there is a more automated way of applying hacks/mods/patches.. i would be willing to adapt it, if need be
I can't even remember the name of it right now, I was the king of using it tho... since I applied mods for customers I might have to add one mod 15 times, so it paid off in time saved many times over and I didn't make any mistakes once it worked the first time
btw, i've already had a couple queries on what the 'self explanatory' picture was.. which means it wasn't VERY SELF explanatory after all
soo.. let's start with the picture:
Let's take the Cusom Title column. It's saying that all groups are allowed custom titles (check boxes checked).. but the Users group need to get to 200 posts before their's becomes enabled..
Now onto Search.. This enables the groups to use the 'Search' button or Menu option. Where you go to advanced, if desired etc etc.. It does NOT limit show user posts and the like. (for now).. Anyway, once again only the Users group must have a post count (40) before they can search..
Avatar is a little different.. but only slightly.. Here the board configuration must first allow avatars in the first place. If that is done, then these group features kick in to further filter by appropriate groups.
PMs are even a little more different. We currently have the ability to turn off PM per USER.. so if that's turned off, they won't be able to PM period.. but if it's on for the user and they fall into say the Users group, then they can start PMing @ 40 posts..
Can upload. This applies to attachments. So if a forum FIRST allows attachments at all, then these group permissions go further to filter by group...
As you can see, it's quite flexible already..
There is of course a wish list and i don't see why it can't be expanded upon.. eg:
Images in Sigs
longer Edit post time
longer Delete post time
longer back in time search
larger upload filesizes
Can start a Poll
avatars can be broken down into:
can link remote
can use stock
and so on and so on
reason this got born real quick, was there was a short term need for it.
note: if a member is part of mutiple groups, the Least common denominator to enable wins. ie: if one group requires 10 posts and another group requires 1000 posts.. and a user is part of both groups with 100 posts.. they will get enabled, because of the 10 post group...
well, it definitely could because i have no idea how far Rick intends to go or what his way of implementation is..
i chose the most logical means of expanding group features that i saw.. i liked the way he cached forum permissions, so i fit in group features the same way.
oh and i only had 1 afternoon/evening (late one) to slap the code together too
he may be thinking something different and on a more grand scale..
example would be that i created a totally NEW table for the group feature cache.. well.. maybe we wanted to just add a field for the serialized features per user in the ubbt_CACHED_PERMISSIONS table instead..
and there maybe more things we want to add in the way of group features such as:
group can use [img] in posts
group can have [img] in sig
configurable edit time per group
configureable delete time per group
group can toggle html markup
ability to ignore users
use of special tags.. ie: [yahoovideo]..
group can have more characters in their sig
group can upload sigs to a storage area on server (ala avatars)
group can create polls
group can conquer the world! (i joke)
and on and on...
so although i'd love to be privvy to what's in Rick's brain, as there is some neat stuff rollin' around.. i can't.. sooo