Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Mods can edit Users Details »»
Mods can edit Users
Version: 1.00, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-08-2002 Last Update: Never Installs: 78
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-18-2002, 05:34 PM
iblis iblis is offline
 
Join Date: Oct 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx a mill xenon, will test it at once

[edit] yarr yarr m8, it works like a charm, yarr yarr
Reply With Quote
  #53  
Old 11-18-2002, 11:17 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #54  
Old 11-19-2002, 05:20 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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"
Reply With Quote
  #55  
Old 11-19-2002, 07:56 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #56  
Old 12-14-2002, 10:26 PM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #57  
Old 12-15-2002, 12:00 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #58  
Old 12-27-2002, 01:56 PM
Cloud Strife Cloud Strife is offline
 
Join Date: Jun 2002
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #59  
Old 12-28-2002, 09:03 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #60  
Old 01-16-2003, 12:48 PM
Elentari's Avatar
Elentari Elentari is offline
 
Join Date: May 2002
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #61  
Old 01-16-2003, 02:22 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14990 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete