![]() |
Purpose: I run many many forums(120+ including subcatagories) so i needed a more efficient way of controlling access masks(there is an infinite combination of usergroups if i was to use that method.)
So set about creating a better system. For an example, view the attachment. (default setting=green, yes=red, no=blue). Installation: First, you need to open up adminfunctions.php in the /admin/ directory and add (just before the ?>) PHP Code:
Go to ~~ 358 and find PHP Code:
PHP Code:
Then, put where that was PHP Code:
PS. Devlopers / Moderators - i wasnt sure if i copied and pasted too much code in the above, well actually i rewrote most of it, but based on your principles in the modify forums section. If its too much, please feel free to delete it, but because i didnt know...! Demo Screenshot attached |
Please excuse the blurryness of the font in the screenshot, thats just windows XP antialiased fonts in action ;)
|
It's Working Very Well :)
|
What exactly does this do? I'm not too clear on it.
Also, will it work with your other "allow mods to modify access masks" hack? When will your hack for allowing mods to edit their forums styles come out? I really need that one and would be willing to (try)help you. |
|
Quote:
It rearranges the Accessmasks per user screen to be more readable. And the styles hack is almost complete, im just adding a few more features. |
Great! When are you going to release it? What features are in it/are you adding?
|
Im adding features that contain options on what you will allow to be modified. Also making the code a bit neater.
However, because of the recent release of the Halflife 1108 patch, my server was taken down, in reflex action of my host, simply because i was hosting the files, and peaking at 3mb/sec(which is alot for a webserver, maybe i should have warned them? :)) Anyway, it should be back up in about an hour, ill try get it done then. |
Ok, I'm impatient :)
Been several hours, where is it!? ;);) |
Its actually alot more complex than i thought it would be.
That, and i still havent got my ftp back online :| Im sorry for taking so long, but at the moment, australian internet is really buggered, it just wont do anything with international pages, im lucky i got this far here. The weekend is fast approaching, and i should have it done, hopefully by tommorow night my time. I hope its not a empty promise either! :( Dont worry, itll be here soon, just its a pain to write how to put it together, considering that im not allowed to just paste it :| |
I'd be happy to help you with it. Check your PMs for my email(I get enough SirCam email already, don't want to post it publically :)).
|
Another excellent hack, I like it - thanks for sharing :) I wonder if a Usergroup version of this one could be made? :D Another vB admin nightmare out of the way :)
|
Quote:
If by chance you mean 'Modify Forums' with that massive list of usergroups for each forum, im already working on that one, well i actually started it before :) All ive basically done, is make all of the sublists foldable trees. You might have seen this somewhere, for example, press F1. IE Required, but i was thinking of making it alot more simple, as in have the first five letters of each usergroup, and have them all on one line. Having 120+ forums with 12 usergroups.... :( I hope thats what you mean? :) |
This is a great hack, but I think I use stuff like this for usergroups in general more than I do for specific users :)
So, I'd love that one to be made :D |
Quote:
Anyway, if I could change the usergroups either in the same way as above, or many at once (current takes about 10 or more clicks for usergroup, per forum) I would be a lot happier! :) |
Good job!
5 minutes and it was in my admin cp! Its much more easy now to config the accessmarks..! THANKS |
Quote:
At the moment, i have a smart folding tree for it, which can be found at www.dynamicdrive.com , took a bit to get it to work, but im going to change the system. Going thru every forum it a nightmare! (im still thinking about a new method i can make) |
Quote:
Good to see another satasified customer! :D |
Customer, lol. Check your email :)
|
I checked my email about 3 seconds before you emailed me, and closed it again :O
Lucky i was still browsing around here ;) |
I must be missing something... I'm running 2.0.3, and I edited the code as instructed. When I selected Modify Forums, it looks the same as always.
|
It changes it in /forums/mod. It allows your mods to add certain users to the access list of their forums.
|
Nice look man, Bravo* I like.
Simple couple sec's of editing, and works like a charm.. Thanks! |
Very nice hack. I've been using it since you released.... !!
Now I noticed a small 'bug' or problem: there's some conflict about representing red or green light (i.e. retrieving the real permission) to child forum when inheritance is active both to usergroup permissions and access mask. I definetively think that's due to a strange cache affecting getforumpermission() function (see HERE about). The scenario is following: i have a category and subforums; when a usergroup has default access granted to the category but not to the children, and the single user access masks grants that user (within usergroup) the permission to the category, that user is shown as having permission to access the children forum too. Instead, VB says NO! : I mean, inheritance (both group or mask level) has lower priority than the child forum permission (both group or mask level). At same level of inheritance, instead, access mask is stronger than usergroup permission... :) Hope I explained well enough. That's the problem, but I can't manage to solve it when showing an user whatever able or not to see a given forum... Thank you for support. Bye |
THX a lot.
Works fine 4 me. :] |
is there any way to get this to work in the moderators control panel????
|
This is a great hack, I like it - thanks for sharing
|
Works great in a virgin install of 2.2.8 - thanks for being my first hack, and a successful one at that!
|
All times are GMT. The time now is 02:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|