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 can edit Users (https://vborg.vbsupport.ru/showthread.php?t=42096)

iblis 11-18-2002 05:34 PM

thanx a mill xenon, will test it at once

[edit] yarr yarr m8, it works like a charm, yarr yarr

350Chevy 11-18-2002 11:17 PM

Quote:

Originally posted by Xenon
it works correctly on vb228, i use it there ;)

check your moderator permissions, they must be allowed to view userprofiles, to be able to edit them.

Hmm, All options are checked for the Super Moderator except access to the control panel. I don't want the moderators to edit users only super moderators. Do I have to have the Moderators option checked to view user profile in order for the Super Moderators to be able to edit them? That wouldn't seem right. :)

Quote:

Originally posted by Xenon
also be sure you click on the editlink of a user, not the viewlink, or your supermods cannot change anything ;)
This would be the link that says "Administrative Options: User Options" located under a users profile while viewing them correct?

The moderators cannot click on that (which is what I want). The Super Moderators CAN click on it and can edit everything in there but there is no option that says Save Changes or Reset so there is no way for them to save the changes. Is there a template that needs to be edited?

Xenon 11-19-2002 05:20 PM

@iblis: fine to hear that ;)

@Chevy: "Administrative Options: User Options" that link automatically leads to the Standart viewpage.
if you want to link to the editpage, you have to edit the getinfo-template and change the "action=view" in the link into "action=edit"

350Chevy 11-19-2002 07:56 PM

Quote:

Originally posted by Xenon
@iblis: fine to hear that ;)

@Chevy: "Administrative Options: User Options" that link automatically leads to the Standart viewpage.
if you want to link to the editpage, you have to edit the getinfo-template and change the "action=view" in the link into "action=edit"

Ahhhh... sorry.. lol.. :hurt:

Sadie Frost 12-14-2002 10:26 PM

Thank you so much for this :)

Is there a way to make it so that mods can edit forum access as well? Is it as easy as copying the "# Start Edit Access #" bit from admin/user insto mod/user?

Thanks! :)

Xenon 12-15-2002 12:00 PM

hmm, no it's not that easy, because this method would give them acces to all forums, also adminforums....

you have to include the permissions of the mod to let them edit user accesmasks...

i'd say it would be a seperate hack...
isn't there such a hack out? i thought so

Cloud Strife 12-27-2002 01:56 PM

I have a group called Co-admin, I also have Supermoderators and Moderators. How do I get this hack to work for just the Co-admins and the supermoderators and moderators have the regular modcp.

Xenon 12-28-2002 09:03 PM

you can use this solution:
https://vborg.vbsupport.ru/showthrea...550#post299550
extra permissions is the optimalst way

or you could simply add
PHP Code:

if($bbuserinfo[usergroupid]!=xx) { echo "No Permission!; exit;} 

into the hacksections so just users of usergroup xx has access

Elentari 01-16-2003 12:48 PM

I have super mods, and mods, but also a group called senior staff, (id = 11) with super mod permissions. I want to make it so that only the senior staff group can access the mod controls, not the supermods - is there any way to do that? :)

I did try using the coding a couple of posts above - but I wasnt sure exactly where to insert it, and though I played around a bit, it just kept giving me parse errors.

The hack is working fine, i just wanted to limit who I give access to :)

Thanks

Xenon 01-16-2003 02:22 PM

well where you have this block:
PHP Code:

$canedit[profilefields]=0;
$canedit[timefields]=0;
$canedit[options]=0;
$canedit[addresses]=0// HP, Email, ICQ, AIM ...
$canedit[signature]=0;
$canedit[title]=0;
$canedit[name]=1;
$canedit[changegroups]=1;  // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]="1 2 3 4"// Which usergroups can be edited 

change it to:
PHP Code:

if($bbuserinfo[usergroupid]==11) {
$canedit[profilefields]=1;
$canedit[timefields]=1;
$canedit[options]=1;
$canedit[addresses]=1// HP, Email, ICQ, AIM ...
$canedit[signature]=1;
$canedit[title]=1;
$canedit[name]=1;
$canedit[changegroups]=1;  // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]="1 2 3 4"// Which usergroups can be edited
} else {
$canedit[profilefields]=0;
$canedit[timefields]=0;
$canedit[options]=0;
$canedit[addresses]=0// HP, Email, ICQ, AIM ...
$canedit[signature]=0;
$canedit[title]=0;
$canedit[name]=0;
$canedit[changegroups]=0;  // Mods can move users from one group to another (just groups included in $canedit[usergroupids])
$canedit[usergroupids]=""// Which usergroups can be edited




All times are GMT. The time now is 06:02 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.01263 seconds
  • Memory Usage 1,763KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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