vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Allow Mods to change usernames (https://vborg.vbsupport.ru/showthread.php?t=66430)

-mk- 06-23-2004 04:53 AM

Allow Mods to change usernames
 
Is there something to allow moderators to change members usernames?

Similar to the "Change Username via UserCP" but i only want mods to be able to change members usernames.

Sidewindr 06-23-2004 11:13 AM

I too would like this hack. I need to enable my Super Mods to change usernames via the Moderator Panel.

Ian Winters 06-23-2004 02:42 PM

Why don't you just give permissions to your Smods to access the ACP, Side? Just grant them Users access only, restrict everything else. If you don't trust them with that access, who can you trust?

Sidewindr 06-28-2004 09:43 PM

The problem is that they then start messing with each others accounts and even admin accounts as a joke. In the past I had a hack that I modified slightly so that they could edit users but not super mods or admins. I will look into what you have suggested it might also solve the problem they have at the moment where they cannot search by e-mail.

sketch42 06-28-2004 10:58 PM

Quote:

Originally Posted by Sidewindr
The problem is that they then start messing with each others accounts and even admin accounts as a joke. In the past I had a hack that I modified slightly so that they could edit users but not super mods or admins. I will look into what you have suggested it might also solve the problem they have at the moment where they cannot search by e-mail.

here ya go http://www.vbulletintemplates.com/mo...t=user+options

the way the hack author set it up is that all moderators/supermods/admins can do this if you want only supermods and admins instead of placing this code underneath
PHP Code:

<if condition="can_moderate()"><tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$post[userid]">Edit User $post[username]</a></td></if></tr

Place this code underneath
PHP Code:

<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)"><tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$post[userid]">Edit User $post[username]</a></td></if></tr



All times are GMT. The time now is 01:44 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.01058 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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