vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Quick (inline) User Editor (https://vborg.vbsupport.ru/showthread.php?t=102789)

Alan @ CIT 12-11-2005 10:00 PM

Quick (inline) User Editor
 
Quick (Inline) User Editor
Version 2.0


What does this do?
This mod adds an inline user editor to your forums. This means that you can edit your users directly from their posts, without ever having to enter the Admin CP!

Ok... I'm interested, tell me more...
It is fully controlled via the Usergroup system. This means that you can allow Admininistrators to edit all parts of a users account, allow Super Moderators to do everything but change usernames, and delete accounts, and allow Moderators to only change profile fields and the users options. The choice is entirely yours!

The full list of Usergroup Permissions that can be used are:
  • Can Use Quick User Editor
    (this stops the usergroup using any part of the Quick User Editor)
  • Can Edit Usernames
  • Can Change Passowrds
  • Can Edit Email Addresses
  • Can Edit Profile Information
    (location / birthday / usertitle / etc)
  • Can Edit Custom Profile Fields
  • Can Edit Instant Messaging Details (includes support for Skype)
  • Can Edit Usergroups (primary and secondary)
  • Can Edit User Options
  • Can Delete User Accounts
  • Can Delete Avatars
  • Can Delete Profile Pictures
These permissions allow you as the forum administrator to delegate some user management tasks to your moderators without having to give them access to the Admin CP. See the screenshots below for examples of editing with limited permissions.

Sounds great! How do I install?
  1. Upload the contents of the upload folder to your forum
  2. Import the Product XML as normal
  3. Edit the postbit / postbit_legacy template:
Find:
Code:

<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>

Directly below this, add:
Code:

<!-- Quick User Editor -->
<if condition="$can_use_que">
<tr><td class="vbmenu_option"><a href="que.php?$session[sessionurl]do=edit&userid=$post[userid]" target="_blank"><phrase 1="$post[username]">$vbphrase[que_edit_x_account]</phrase></a></td></tr>
</if>
<!-- / Quick User Editor -->

And to upgrade?
Please read the "Upgrade" section of the install.txt file contained in the zip.


All done! Now what?
Before anyone can use the Quick User Editor you will need to set the Usergroup Permissions.

Security Note: This mod allows people to edit their usergroups if you give them permissions to - this means that your mods could upgrade themselves to an Administrator if you give them permission to change Usergroups.

Please ONLY give your staff permission to edit usergroups if you REALLY trust them. If in doubt, don't give them access to change usergroups :)

Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D

Alan @ CIT 12-12-2005 01:25 PM

Known Bugs:

* Integration with Marco's username history mod doesn't work as planned - it's commented out in que.php at the moment

Alan @ CIT 12-12-2005 01:29 PM

Notes:

The Quick User Editor respects the un-editable users variable in the config.php, so it is recommended that you add your user account to it - just in case :)

jesus likes pie 12-12-2005 01:49 PM

<3

:d

nexialys 12-12-2005 02:03 PM

looks like the best user editor so far.. ;)

michaelbenson 12-12-2005 03:08 PM

Looks nice, couple of things:
1) Is it possible to merely EDIT user avatars, profiles, or signatures instead of delete.
2) There is an option to tick Recieve Private Messages, could this incorporate sending them too?
3) The "Edit This User" would look better as "Edit $username's Account"

/me installs.

Mastar 12-12-2005 03:45 PM

Quote:

Originally Posted by michaelbenson
Looks nice, couple of things:
1) Is it possible to merely EDIT user avatars, profiles, or signatures instead of delete.
2) There is an option to tick Recieve Private Messages, could this incorporate sending them too?
3) The "Edit This User" would look better as "Edit $username's Account"

[high]* michaelbenson installs.[/high]

Good suggestions!

Does the edit user include admins?

Look Promising though.

Alan @ CIT 12-12-2005 06:40 PM

Quote:

Originally Posted by michaelbenson
Looks nice, couple of things:
1) Is it possible to merely EDIT user avatars, profiles, or signatures instead of delete.
2) There is an option to tick Recieve Private Messages, could this incorporate sending them too?
3) The "Edit This User" would look better as "Edit $username's Account"

[high]* michaelbenson installs.[/high]

Anwsers: :)

1) It's possible to edit signatures, but not avatars / profiles - I hadn't planned to add that in, but might add it to the todo list.

2) It only incorporates features that are already a part of vB. ie, the "Recieve Private Messages" is selectable by the user in their User CP. As such, it would require a seperate mod that limited sending of messages before I could add an option to Que.

3) Added to the todo list :)

Alan @ CIT 12-12-2005 06:41 PM

Quote:

Originally Posted by Mastar
Does the edit user include admins?

Sorry, I'm not sure what you mean. Any user can be edited using Que, it's just like the regular user editor in that respect.

Mastar 12-12-2005 06:57 PM

[QUOTE=Alan @ CIT][QUOTE=Mastar]Does the edit user include admins?
Quote:


Sorry, I'm not sure what you mean. Any user can be edited using Que, it's just like the regular user editor in that respect.
I installed and working great. Lovin' it.


All times are GMT. The time now is 07:18 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.01094 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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