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)

Scott MacVicar 11-08-2001 06:07 AM

did you add the new bit to /mod/index.php and upload?

it should be a new option that says [Edit Access Masks] in the menu, click it and it will prompt you to find a username.

Nam 11-08-2001 09:31 AM

got it now, thank you :).

Snake~eyes 11-12-2001 09:39 PM

I am having some problems with installing this hack. I can't get the link on the mod/index.php page to show.


Here's what I have

PHP Code:

// *************************************************
makenavoption("Add","announcement.php?action=add","|");
makenavoption("Edit","announcement.php?action=modify");
makenavselect("Announcements");
// *************************************************
makenavoption("New Posts","moderate.php?action=posts","<br>");
makenavoption("New Attachments","moderate.php?action=posts");
makenavselect("Moderation Lists");
// *************************************************
makenavoption("Ban","user.php?action=find","|");
makenavoption("View","user.php?action=find","|");
makenavoption("Edit Access Masks","user.php?action=find");
makenavselect("User Actions");
// *************************************************
makenavoption("Mass Move","thread.php?action=move","<br>");
makenavoption("Mass Prune","thread.php?action=prune");
makenavselect("Thread Control","<hr>");
// ************************************************* 


I don't think any of it is working right but is there somthing wrong wtih this?

Scott MacVicar 11-13-2001 11:16 AM

did you remember to upload the new /mod/index.php

the code that you have there is correct if not then its a problem with cache.

Snake~eyes 11-14-2001 06:15 PM

I figured that was the problem.. Tried today and it worked!

Awsome hack!

thx

Scott MacVicar 11-14-2001 07:23 PM

no problem

i also forgot to upload the /mod/index.php while doing it and spent 20 minutes perplexed :p

Nemesis77 11-20-2001 11:28 PM

Is there a way to set this hack to allow a Mod to edit the access mask of another mod. becasue right now it says Can't edit access masks of someone who is not a regular user or something like that. See there is a Ladies forum on the borad, ladies only, but males are allowed if the mod of the foums invites them. She want to invited some of the other Mods that are male but when she edites their access masks to give them access to the laddies only forum she get's that message.

Scott MacVicar 11-21-2001 03:15 PM

change

PHP Code:

  if ($edituser['usergroupid']!=or $ismod) { 

in /mod/user.php too

PHP Code:

  $editperms=getpermissions(0$userid);
  if (
$perms['cancontrolpanel']) { 

this should work :)

Nemesis77 11-21-2001 10:21 PM

Thanks. I'll give this a try later tonight.

ladyfyre 12-01-2001 05:05 PM

will this hack also allow mods of private forums to GRANT access through access masks for their forum????


All times are GMT. The time now is 11:40 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.01128 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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