vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Give Super Moderators ability to fully edit a user (https://vborg.vbsupport.ru/showthread.php?t=240125)

legacy123 04-08-2010 10:00 PM

Give Super Moderators ability to fully edit a user
 
1 Attachment(s)
Should work on most vBulletin versions. So Far Tested on 3.8.x,4.x.x

first the user.php file must be taken from the admincp and replaced in the modcp.

find

PHP Code:

(!can_administer('canadminusers')) 



replaced with
PHP Code:

(!can_administer('canadminusers') && (!can_moderate('canmodusers'))) 

In 4.0.5 on some servers you must replace it with

PHP Code:

(!can_moderate('canmodusers')) 

This will work by itself but it is a bit harder to search for users for easy seach..

go to index.php in modcp directory
find in index.php in modcp

find

PHP Code:

($vbphrase['search_for_users'],'user.php?do=find'

replace with
PHP Code:

($vbphrase['search_for_users'],'user.php?do=modify'


Now a moderator(who has permission) may "save" and "search"
users similar to admins the only difference is to search they must save an account first(this will not change anything on the account unless they decide to edit something.)

BE CAREFUL WHOM YOU CHOOSE FOR A MOD POSITITION THAT YOU GIVE THIS PERMISSION

BillieJoe 04-11-2010 09:05 PM

Does it work for 3.8 also?

legacy123 04-12-2010 10:06 AM

works fine on 3.8.5 don't know what you are using exactly it should

BillieJoe 04-12-2010 01:05 PM

Ah cool, thank you. :)

legacy123 04-12-2010 01:11 PM

no problem

Dragaon 06-25-2010 03:25 PM

serves up a blank page after searching.

(vBulletin 4.0.2)

legacy123 07-05-2010 11:52 PM

sorry for the late response but I have to ask for more information on what you did exactly. Please I can not help you without more information as I have confirmed this working on 4.0.2

legacy123 08-02-2010 01:11 AM

There are some issues with 4.0.5 on some servers. I added something to fix this.

ti07shadow 10-14-2010 06:27 AM

Quote:

Give Super Moderators ability to fully edit a user
1 word................. why?

RobbieZ 10-14-2010 07:47 AM

Quote:

Originally Posted by ti07shadow (Post 2110001)
1 word................. why?

I concur, must be the trustworthy ones ;)


All times are GMT. The time now is 03:28 PM.

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.01099 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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