Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Heirarchical Access Masks Details »»
Heirarchical Access Masks
Version: 1.00, by Zhin Jio Zhin Jio is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-28-2003 Last Update: Never Installs: 15
 
No support by the author.

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:
  • Fixed that all masks were coming up with 'default' checked instead of the user's setting
v 1.1 changes:
  • Added support for alternating rows of colors
  • Took instructions out of forum post and updated instructions in text file
  • Updated screenshot to show alternating colors
Instructions attached include both upgrade as well as fresh installation instructions.

As always, have fun, and let me know if encounter any problems!

- ZJ

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-30-2003, 04:32 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 03-30-2003, 04:39 AM
Spitfireisgod's Avatar
Spitfireisgod Spitfireisgod is offline
 
Join Date: Aug 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it

/me touches the install button softly
Reply With Quote
  #14  
Old 03-30-2003, 07:09 AM
Zhin Jio's Avatar
Zhin Jio Zhin Jio is offline
 
Join Date: Mar 2003
Location: Colorado
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 11:32 PM Boofo said this in Post #11
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.
Yup, I tried it myself and saw precisely that. THe other thing I tried was adding in up to the maximum number of layers and watched how it changed. WHen I had the max, it was all spaced exactly right. I think its just an issue with the browser parser dealing with the colspan. I'll look into some other alternatives though.

- ZJ
Reply With Quote
  #15  
Old 03-30-2003, 07:14 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Other than that minor cosmetic fix, I think you have a winner here.
Reply With Quote
  #16  
Old 03-31-2003, 01:33 AM
Zhin Jio's Avatar
Zhin Jio Zhin Jio is offline
 
Join Date: Mar 2003
Location: Colorado
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 04-02-2003, 09:29 PM
Bumpaneer's Avatar
Bumpaneer Bumpaneer is offline
 
Join Date: Nov 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any luck with the fix? Great idea BTW I definately like this better!

EDIT: Nevermind just read the first post
~Bumpaneer
Reply With Quote
  #18  
Old 04-04-2003, 03:00 PM
Bad Bunny's Avatar
Bad Bunny Bad Bunny is offline
 
Join Date: Apr 2002
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I'll look into this, because it was a problem for me too!
Reply With Quote
  #19  
Old 04-10-2003, 08:04 AM
Zhin Jio's Avatar
Zhin Jio Zhin Jio is offline
 
Join Date: Mar 2003
Location: Colorado
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04868 seconds
  • Memory Usage 2,279KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete