vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help with forum permission (https://vborg.vbsupport.ru/showthread.php?t=68777)

pran 08-27-2004 04:31 PM

Help with forum permission
 
I have a problem with forum permissions. I created a forum accessible only to moderators and admins but moderators are not able to view the forum. The moderators are primary users of a group called "Board Regulars" and additional users of the moderators group. However, if I change their primary membership to "Registered", they can see the forum. The forum has the following permissions:
  • (COPPA) Users Awaiting Moderation: Deny all
  • Administrators: Allow all
  • Banned Users: Deny all
  • Board Regulars: Deny all
  • Moderators: Allow all
  • Probationary Users: Deny all
  • Registered: Deny all
  • Super Moderators: Allow all
  • Unregistered / Not Logged In: Deny all
  • Users Awaiting Email Confirmation: Deny all
I tried looking for the code that checks the permission of the user for the particular forum just before displaying it but I couldn't find it. Can someone point me to the right direction? Thanks in advance.

chris2707 08-27-2004 06:15 PM

It's more usual to have Moderators, Super Moderators and Administrators as Primary usergroups. It's likely that due to the extra abilities, the code only checks a Primary usergroup for moderating ability. Why not make your moderators Primary groups and set Board Regulars as a secondary usergroup.

pran 08-27-2004 10:53 PM

Thanks chris. Although your suggestion solves my problem but the question still remains, why is it happening on my board? On another board that I setup (un-hacked), the permissions work fine.

pran 08-31-2004 12:21 PM

Over the weekend, I compared the stock 3.0.3 (including the MySQL tables) with my modified board and the the changes to the PHP files are very minimal. I think it has something to do with the upgrades my board has undergone (from 2.x to 3.0).


All times are GMT. The time now is 06:39 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
  • Page Generation 0.00994 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete