![]() |
Heirarchical Access Masks
It was beginning to frustrate me that the 'Edit Access Masks' page displayed the forums simply in the order they'd been created. I had several sub-forums on my board that were named the same thing (eg, 'General Info', or 'Public Access'), and I could no longer tell them apart.
What I wanted was a way to display the forum list in the Edit Access Mask page in the same format (heirarchical) as it is displayed in the forum permissions or modify forums pages. So here's the result of that effort. Note, this is *very* simple hack. It only took about a 1/2 hour to code, but I like it so much better now. v 1.2 changes:
As always, have fun, and let me know if encounter any problems! - ZJ |
Here you go.
- ZJ |
Let me be the first to install and say, this is something that should have been done a long time ago. Good job. ;)
BTW, your text file has to [/code] variables in it at the end of the pieces of code to add and replace, ;) Is there a way to have the lines alternate between firstaltcolor and secondaltcolor? Since the access masks radio buttons are all the way to the right, it might make it easier to follow which radio button goes to which line. Also, I have subforums and they show up way to the right of the parent forum instead on like the parent forum shows up for the category. |
Indeed this is an excellent idea but please keep the instructions to the hack inside a textfile :)
Thanks - miSt |
Excellent hack!!! Works like a charm...
I desperately needed something like this, since I'm using a huge amount of sub forums. Very cool & thanks! |
I keep getting the following error. I can't seem to find the extra colon...I am cutting and pasting right from what it says...
Parse error: parse error, unexpected ':' in /home/virtual/site4/fst/var/www/html/madden/forums/admin/user.php on line 418 |
Never mind...I used the text file instructions instead and it worked like a charm...great hack
|
Quote:
Quote:
Quote:
As to the second point, I observed that as well. It seems that after one or two levels, the table parser is trying to 'guess' how best to make efficient use of the table's allocated columns and space. IE and Moz both do it, Opera doesn't. *shrug* ... I'm not sure its something I can really fix without adding template changes to use text-indents and such. Again, I was shooting for a simple hack here. If you feel its a real hindrance to using this hack, repost and let me know, and I'll get complex in the da hizouse. Again, thanks for the feedback! - ZJ |
Quote:
- ZJ |
Quote:
- ZJ |
I just did the upgrade and the picture below is after the upgrade. Pictured is what I meant about the subforums being over too far. The colors look good now. I read the file and noticed what you said about the colors not alternating on every line. It actually makes more sense this way now. ;)
|
love it
/me touches the install button softly |
Quote:
- ZJ |
Other than that minor cosmetic fix, I think you have a winner here. ;)
|
IMPORTANT!!
I found a bug, looking into it now. Basically, the access masks will always come up with all the 'default' radio buttons checked off. Looking into what I messed up now. I'll update as soon as I've got a fix. - ZJ |
Any luck with the fix? Great idea BTW I definately like this better!
EDIT: Nevermind just read the first post ~Bumpaneer |
Hey, I'll look into this, because it was a problem for me too!
|
I'm sorry. I should have posted as well instead of just updating the first post and such.
As of 1.2, the problem with it just showing the defaults for everything .... instead of the existing permissions, is now fixed. One line change. The instructions contain instructions for upgrading as well. Thanks again for using this hack! - ZJ |
All times are GMT. The time now is 04:55 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:
|