Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Temporary Passwords by BOP5 (Allow admins to login as any user without user password) Details »»
Temporary Passwords by BOP5 (Allow admins to login as any user without user password)
Version: 1.0.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 02-20-2014 Last Update: 02-20-2014 Installs: 67
Supported DB Changes Uses Plugins
 

Brought to you by BirdOPrey5 / Qapla.com

The purpose of this mod is to allow a site Super Administrator to login as any other user on the forum for troubleshooting purposes.

I know there are other mods that allow Admins to login as other users but they aren't truly logged in as the other user. It's more like they are getting a copy of the user's permissions ans settings. This is good for many things but it is not 100% exact and therefore can cause its own problems when trying to troubleshoot issues.

This mod is different. On the user's setting page in the Admin CP is a new box "Temporary Password" where an admin can enter a temporary one-time use password. When they save the user settings the user's old password is copied (while remaining encrypted) to another location and the temporary password they created becomes the user's new password.

As soon as possible they should then log in as the user with the password they set.

As soon as the Admin (or anyone) has logged in successfully with the temporary password the user's old password is restored and the temporary password is deleted.

In the mean time the Admin will continue to be able to use the forum as the user so long as they don't log out. If they do inadvertently log out they can set another temp password and log back in.

Due to the nature of the mod you should aways use the temp password as soon as possible- if you wait and the user tries to login when the temporary password is set they won't be able to.

I suggest using a 2nd web browser when using this. For example in Chrome you are logged in as yourself (Admin Account) but you use Firefox to log into the user's account. This allows you to quickly switch between accounts to troubleshoot.

If you change your mind and don't need the temp password after all simply return to the user's settings page in Admin CP and delete the temporary password and save changes. The user's original password will be restored.

If you uninstall the mod any temporary passwords you had set will be automatically undone and the user's original passwords restored.

There are no settings for this mod. Install it and it is active.

Only Super-Administrators specified in the config.php file can set or see temporary passwords, other admins will not be able to set or see temp passwords, the box just won't be there.

Compatible with VB 3.8.x & VB 4.x.x.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
Nominate MOTM if you LOVE it!

Download Now

File Type: xml product-temppasswordbop5.xml (7.0 KB, 217 views)

Screenshots

File Type: jpg temppass-admincp-ss.jpg (95.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
puertoblack2003, tbworld

Comments
  #12  
Old 02-23-2014, 03:23 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well for that they should be using the Forgot Password link, that is the most secure way.
Reply With Quote
  #13  
Old 02-23-2014, 03:31 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Barcham View Post
There is another situation that this can be used in that no one has mentioned yet. It is extremely useful for generating a one time only password for members who have lost their password and have requested a reset. You can generate a new password for the user and forward it with instructions that they can only use it once and must change their password at login.
That would not work. Once the user has logged in the password would immediately change back to the old "forgotten" password- and the user needs to enter the current password to change the password- the user wouldn't know the current password because by the time they can enter it, it is already the old (non-temporary) value.

In the Admin CP drop down box on the user's page is an "Email Password Reminder" to user that lets the user reset their password, that should be used in the situation you describe.
Reply With Quote
  #14  
Old 02-23-2014, 03:45 PM
Barcham Barcham is offline
 
Join Date: Jan 2014
Location: Montreal
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very true! Shows that I'm more accustomed to being the moderator of a board than just a member! LOL
Reply With Quote
  #15  
Old 02-23-2014, 04:39 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BGObsession View Post
I like the approach here - only thing keeping me from installing is that I know with previous 'Log In as User' mods, it's very easy to forget you are logged in and accidentally post under that user's name. The mods I've used previously would put some kind of a banner warning on all pages when logged in as that user as a reminder. Just a thought, otherwise I like it
Do you have a static IP or a dynamic IP?
Reply With Quote
  #16  
Old 02-23-2014, 04:48 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this one https://vborg.vbsupport.ru/showthread.php?t=233350 on the testing site but I am now looking at temp passwords as a replacement..
Not that the other has failed in any way but BOP5 is always waiting in support and he does make exceedingly good cakes...
Reply With Quote
  #17  
Old 02-23-2014, 04:50 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I think the way Joe has done this will make it more accurate in detecting issues a user may be experiencing.
Reply With Quote
  #18  
Old 02-23-2014, 05:05 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Barcham View Post
It is extremely useful for generating a one time only password for members who have lost their password and have requested a reset.
In cases like this, I just enter new password in password field already there, save it (which makes them valid for all), send user new password and tell them to change it asap.

Of course, I prefer that they reset their passwords regularly, but there are rare cases when I do it this way. Don't ask, not all of my users are tech savvy.
Reply With Quote
  #19  
Old 02-23-2014, 05:13 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, a bit stuck here...

Where in ACP are user settings?

Do I need to be logged on as Super Administrator to see it?

Quote:
The purpose of this mod is to allow a site Super Administrator to login as any other user on the forum for troubleshooting purposes.
Am I being thick?

Quote:
As soon as the Admin (or anyone) has logged in successfully with the temporary password the user's old password is restored and the temporary password is deleted.
Quote:
In the mean time the Admin will continue to be able to use the forum as the user so long as they don't log out.
There is some confusion here, at least for myself?
Reply With Quote
  #20  
Old 02-23-2014, 05:27 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no settings per say, to set a password for a user? You do it from the members profile in the ACP.
Reply With Quote
  #21  
Old 02-23-2014, 05:35 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logged in as admin not super admin... Can't see the

Quote:
Admin CP is a new box "Temporary Password"
I am guessing it is enabled by default as I can't see any trace of it in ACP>Options.

EDIT: Ok, skip that... I have just noticed..

Quote:
Only Super-Administrators specified in the config.php file can set or see temporary passwords, other admins will not be able to set or see temp passwords, the box just won't be there.
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 11:33 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.10055 seconds
  • Memory Usage 2,349KB
  • 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
  • (8)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete