Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick (inline) User Editor Details »»
Quick (inline) User Editor
Version: 2.0, by Alan @ CIT Alan @ CIT is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.5.4 Rating:
Released: 12-11-2005 Last Update: 05-15-2006 Installs: 57
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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!

Show Your Support

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

Comments
  #82  
Old 03-08-2007, 06:47 AM
cOuNtErFiET cOuNtErFiET is offline
 
Join Date: Feb 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea i get that error too in 3.6.5
Reply With Quote
  #83  
Old 03-12-2007, 07:06 PM
Nixpeiler's Avatar
Nixpeiler Nixpeiler is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

search in the que.php

PHP Code:
    // Custom Profile Fields

    
$profilefields_q "SELECT profilefieldid, title, description, type, data, optional
        FROM " 
TABLE_PREFIX "profilefield 
        ORDER by displayorder"


and replace with this


PHP Code:
    // Custom Profile Fields

    
$profilefields_q "SELECT profilefieldid, type, data, optional
        FROM " 
TABLE_PREFIX "profilefield 
        ORDER by displayorder"

works by my

regards
Reply With Quote
  #84  
Old 03-13-2007, 01:03 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx NIXPEILER - works perfectly now

Jacquii.
Reply With Quote
  #85  
Old 03-17-2007, 05:48 AM
cOuNtErFiET cOuNtErFiET is offline
 
Join Date: Feb 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks working for me too
Reply With Quote
  #86  
Old 03-19-2007, 11:41 PM
ERuiz ERuiz is offline
 
Join Date: Feb 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this addon working on 3.6.4 by the use of the fixes above, but the only problem is that ALL custom fields do not have their description displayed. All fields are labeled except for the custom fields. Anyone has any idea what could be wrong? I have a feeling it has to do with the fact that we had to delete the DESCRIPTION section of the query, but where does 3.6.4 store the custom field titles?
Reply With Quote
  #87  
Old 03-20-2007, 12:05 AM
ERuiz ERuiz is offline
 
Join Date: Feb 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ERuiz View Post
I got this addon working on 3.6.4 by the use of the fixes above, but the only problem is that ALL custom fields do not have their description displayed. All fields are labeled except for the custom fields. Anyone has any idea what could be wrong? I have a feeling it has to do with the fact that we had to delete the DESCRIPTION section of the query, but where does 3.6.4 store the custom field titles?

I fixed this by restoring the 2 fields that we deleted on the previous fix for 3.6.4 then went to the database, manually created those 2 fields within the profilefield table and manually added the information for each custom profile field.

Now when I access the QUE, it displays the description for each custom field. The reason it would not work on 3.6.4 is because VB now stores the custom field description and titles as phrases.

This is a crude workaround but it gets the job done. :up:
Reply With Quote
  #88  
Old 03-20-2007, 03:06 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for the info - I get that you add title & description to the profilefield table... I've never fiddled with the database in such a way as to add tables or edit or whatever.... Question: What info do you fill in for the following formfields in the phpMyAdmin?

Quote:
Field
Type
Length/Values
Collation
Attributes
Null
Default
Extra
Comments
ALSO - thanx for the info - I even went as far as to make a "mini-tutorial" for my SuperMod LOL:

Reply With Quote
  #89  
Old 03-31-2007, 06:24 PM
zariyan zariyan is offline
 
Join Date: Sep 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, i was wondering if someone would kindly help me. When i go to edit a user with a HTML custom user title, i get this:

If someone would help me fix this problem, that would be great!

Thanks
Reply With Quote
  #90  
Old 07-05-2007, 08:12 PM
troybtj troybtj is offline
 
Join Date: Apr 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 3.6.7 using tips above. Works Great.

I would put this on a wishlist for vbulletin builtins for next release.
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 10:51 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.07167 seconds
  • Memory Usage 2,309KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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