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)

zsmom 10-06-2003 11:47 PM

I installed it on 2.3.2 with no problems...works like a charm!

Quote:

you have to add an inputfield for the postcount and edit the updating sql query if you want your mods to be able to edit users posts counts.
Oh how I wish I understood this language! I guess I'll have to wait until the next version to get the option for mods to change post counts. :(

Many thanks for the great hack!

Xenon 10-07-2003 03:31 PM

:)
it's just a copy&paste job, if you look into admin/user.php and copy the part you need for postcounts ;)

i won't add anymore features into the vb2 version of this hack, new features would be added to the vb3 version, once this will be written by me :)

zsmom 10-07-2003 03:42 PM

Quote:

Originally Posted by Xenon
:)
it's just a copy&paste job, if you look into admin/user.php and copy the part you need for postcounts ;)

i won't add anymore features into the vb2 version of this hack, new features would be added to the vb3 version, once this will be written by me :)

I looked in the admin/user.php file to see if I could find the part that I needed to copy & paste and didn't see anything jump out at me, but I'm a total n00b so that's to be expected! :)

amairiya 12-28-2003 04:26 PM

Is there a portion of a code I could add into this to allow my moderators to change the access masks of a user?

stark427 02-05-2004 12:24 AM

Brilliant hack :)

Thanx a lot!

stark427 02-10-2004 12:14 AM

Quote:

Originally Posted by Xenon
With this Hack your Mods can edit really everything of a user account, nearly as much as an Admin can! (Changing usergroups....)

But it is very customizable, too. If you don't want em to change usergroups, then they can't. Or you can define which usergroups they can move the users into..

Also if you add if-clauses in the front section to the hack, you can customize it to which of your mod can modify which fields..

this block in front of the hack code defines nearly everything you need to customize the hack:

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


Screenshots in following Posts

Xenon, could you please add the option for the moderator to be able to moderate new registrations?

That would be very handy :squareeyed:

Xenon 02-10-2004 12:58 AM

hmm, i'll think about it, but my time is limited and i don't have any vb2 testboards anymore, so it's not likely ;)

BlackxRam 03-26-2004 04:33 AM

Hey Xenon any word on this for a VB3 version?

Im trying to restrict certain ADMINS from accessing certain USERGROUPS.

How hard would it be to convert this over?

Xenon 03-26-2004 02:16 PM

well, the vb3 version is planned in a more detailed way, but right now my time is too limited because of vb.org internal things and university tests..

so i cannot give an ETA when i'll release this mod for vb3

-mk- 06-29-2004 04:33 AM

I would also love this for vB3 :)

This is exactly what ive been looking for.


All times are GMT. The time now is 11:24 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.01279 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_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