Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #132  
Old 09-11-2003, 09:00 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I added this hack, But have a few questions, I also added the info code by BorgGanon.

I am having trouble on 3 things (it might be because of a major sinus headache)

confiquiring the script to have only my mods and or supermods I choose have access?

I wish to deny all off them the ability to mass prune or move, only myself I wish to have that control?

I would like them to be able to make the users miserbale if needed, but dont know what to add and where for that to happen? (the miserable users hack is installed)

Thanks,

midz
Reply With Quote
  #133  
Old 09-11-2003, 11:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a) my hack has nothing to do with massmoving permissions. you'll have to ask on vb.com or read the manual on how to do that, as it's not part of my hack

b) i don't know the miserable users hack, so i cannot help you here, maybe start a new support thread for that?
Reply With Quote
  #134  
Old 09-11-2003, 11:58 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks,

I thought there might be way to comment out the ability to do that, maybe I will just delete that option from the index.php in the mod / and I think I do a

makeyesnocode("Show Avatars","showavatars",$user[showavatars]);

but cater it too match what the miserable users creates in that hack, it might be ok, since it seems your hack will aknowledge the field if it is an option.

Hope I'm on the right track,

thanks
Reply With Quote
  #135  
Old 09-15-2003, 05:13 PM
Ch33chy Ch33chy is offline
 
Join Date: Sep 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Me!
Does this work for 2.3.2? I can't seem to find the first bit of coding it asks to find.
I could really really really do with this hack for 2.3.2 !!!!
Im a total newbie when it comes to coding though, and the instructions appear to be mega different for this version.

If i beg nicely, whats the chances of someone making this work/ providing instructions for 2.3.2 ?
Reply With Quote
  #136  
Old 09-16-2003, 05:16 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are calling one line slightly changed a "mega difference"????

what is changing one letter? big difference?

/me has edited the attachment
Reply With Quote
  #137  
Old 09-16-2003, 08:12 PM
Ch33chy Ch33chy is offline
 
Join Date: Sep 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there was a slight change then i'd probably be ok with it

However as a noob to coding, I read your instructions which start off
Code:
Open mod/user.php:
------------------
find:
echo "<tr><td nowrap><p>$user[username]</p></td>".iif($perms[ismoderator] or $ismod['canbanusers']==1, "<td nowrap><a href=\"user.php?action=ban&userid=$user[userid]\"><p>[ban]</p></a></td>", "").iif($perms[ismoderator] or $ismod['canviewprofile']==1, "<td nowrap><a href=\"user.php?action=viewuser&userid=$user[userid]\"><p>[view user]</p></a></td>", "")."</tr>\n";
I searched for several bits of that in user.php and Im afraid I couldn't see anything too similiar. Despite searching for several bits of the above line I couldnt find so presumed the code had changed a lot for the version I using.

It may in fact be a slight difference, but just didnt want to break a spangly new working forum

Thanks in advance for any advice, and apologies if I appear to be too noobish
Only added 1 other hack to date, and that was more straight forward with what needed changing.
Reply With Quote
  #138  
Old 09-16-2003, 09:42 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all that changed in that line was that the devs use &amp; instead of & in urls now.

as said i'Ve updated the attachment already
Reply With Quote
  #139  
Old 09-16-2003, 10:29 PM
Ch33chy Ch33chy is offline
 
Join Date: Sep 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

many thanks for the quick reply and great work.
Apologies for screwing up the thread scrolly style.
Reply With Quote
  #140  
Old 09-19-2003, 03:35 PM
Ian Cunningham Ian Cunningham is offline
 
Join Date: Feb 2002
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get :
Parse error: parse error in /home/pcreview/public_html/mod/user.php on line 69

when installing this

Yes... It is installed correctly
Reply With Quote
  #141  
Old 09-19-2003, 03:42 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ian Cunningham
Yes... It is installed correctly
nope it's not, as if it would be installed correctly it would work

also you should read the rule about parse errors:
post 5 lines ahead and below, because we're not omniscient and don'T know what the heck is on line xy of your files
Reply With Quote
Reply


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 04:29 PM.


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.04680 seconds
  • Memory Usage 2,309KB
  • 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
  • (1)bbcode_code
  • (2)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