vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mods edit access masks including child forums (https://vborg.vbsupport.ru/showthread.php?t=28654)

Snake~eyes 01-13-2002 02:15 PM

great, thx guys!

great support!

Scott MacVicar 01-13-2002 02:21 PM

Martz knew that one, i've never had a problem with it :D

SharkY-GA 01-15-2002 05:45 PM

I'm stuck on getting the access to work for some reason... Moderators with access to authorize members are getting "Do not have access."
This didnt happen on 2.2.0, no idea why on 2.2.1...

Scott MacVicar 01-15-2002 06:41 PM

ensure the column was created, ensure that they are mods of that forum and mod access mask editing is enabled for that forum. Check you made the changes in /mod/index.php

do they get an error when they try to search for the user to edit access masks for or is it when they click the link to edit the user that they found's access mask?

SharkY-GA 01-16-2002 12:24 AM

The error is when they try and search for a user.

SharkY-GA 01-17-2002 05:49 AM

*bump*
checked all of that and still can't figure out why it's not working...

Scott MacVicar 01-17-2002 06:06 AM

check this stage again

on line 45 and 59 change
if (!$perms[ismoderator] and !$ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND (canbanusers=1 OR canviewprofile=1)")) {
to
if (!$perms[ismoderator] and !$ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND (canbanusers=1 OR canviewprofile=1 OR caneditaccess=1)")) {

thats the only part that would cause an error, either that or the mods don't have permission to edit access masks for that forum.

SharkY-GA 01-17-2002 07:36 PM

Ok... Well that fixed that issue, now i'm flat out getting this:
"You may not edit access for someone who is not a normal registered user!"

Thanks in advance dude.

Scott MacVicar 01-17-2002 08:43 PM

you can only edit users in the usergroup 2, this is the registered usergroup, so you can't edit the access masks for admin or mods :)

SharkY-GA 01-18-2002 04:36 AM

That's what I figured, however it says that for registered users too... Hmm...


All times are GMT. The time now is 07:09 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.01122 seconds
  • Memory Usage 1,724KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete