Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Login as User Details »
Login as User
Mod Version: 1.00, by Hotte (Member) Hotte is offline
Developer Last Online: Jan 2006 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (2 votes - 4.50 average) Installs: 180
Released: 03 Jan 2004 Last Update: Never Downloads: 39
Not Supported  

what it does:
this hack allows you to login as any user from the admincp.

files to edit:
1 (admincp/user.php)

installation time:
< 5 minutes

Edit: added an option to restrict this hack to certain userids

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
User Login Log v2.0 Xenatino vBulletin 3.0 Full Releases 12 22 Jan 2006 12:39

  #76  
Old 09 Jun 2004, 04:17
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Real name: George E Collins Jr
Originally Posted by Battle_Ring
ill send anyoen the file neeeded if they are willign to help me
if i recall, thats not allowed. thats why you haven't had a response. I may be wrong though.
Reply With Quote
  #77  
Old 09 Jun 2004, 16:58
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
ok ill do whatever is allowed

i just need someoen to help me :-(
Reply With Quote
  #78  
Old 12 Jun 2004, 18:05
MRWARGOD's Avatar
MRWARGOD MRWARGOD is offline
 
Join Date: Jun 2004
great hack but i would like to make two observations:
1. i'm the forums owner and therefor superadmin, how do i log into other admins?
2. it should automatically log me out of the user when i click a admin cp link.
besides that it's great.
Reply With Quote
  #79  
Old 28 Jun 2004, 14:05
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by Battle_Ring
ok ill do whatever is allowed

i just need someoen to help me :-(
lol, dont be crying

zip your file and upload to your server, send the link to me, I will take a look for ya :>
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #80  
Old 28 Jun 2004, 18:36
vishalsachar vishalsachar is offline
 
Join Date: Jun 2004
Hi guys, this is my first hack and i can't get it to work!

I have modified the code and added my leased licensed number beginning with a #

Now i log into my admin cp -- what do i do now?

I click users, but can't find anything. Any ideas?
Reply With Quote
  #81  
Old 28 Jun 2004, 19:05
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Real name: George E Collins Jr
Originally Posted by MRWARGOD
great hack but i would like to make two observations:
1. i'm the forums owner and therefor superadmin, how do i log into other admins?
2. it should automatically log me out of the user when i click a admin cp link.
besides that it's great.
As far as i can see, anyone in the admin group even if they are not in the config.php file as superadmin, you can not login as them.


about #2, that would be a nice feature.
Reply With Quote
  #82  
Old 28 Jun 2004, 20:03
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by vishalsachar
Hi guys, this is my first hack and i can't get it to work!

I have modified the code and added my leased licensed number beginning with a #

Now i log into my admin cp -- what do i do now?

I click users, but can't find anything. Any ideas?
DO NOT begin with a #

it should be

vbsetcookie('password', md5($user['password'] . '12345678'));


where 12345678
is your licence number (8 letters)

then you click to a user to "edit" this user, then you click on the quick link on top, there's something called "login as user"


1. i'm the forums owner and therefor superadmin, how do i log into other admins?
It doesnt matter if you are superadmin or not, as long as you can access to the member list in ACP

$_hack_canlogin = ""; // comma separated list of allowed userids. leave blank for all admins

If you have this field filled, you have to be "that person" indicated here, in order to use the function.

If you leave blank, all admins (usergroup=6) can use the function, and he can login as anyone else, except other admin.

If you want to login to other admins, you have to change this lines:

if($user['usergroupid']==6)
{
print_cp_no_permission();
}

maybe just remove it.
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 28 Jun 2004 at 20:08.
Reply With Quote
  #83  
Old 29 Jun 2004, 12:52
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Nice hack and works very well. Thx for sharing!
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #84  
Old 30 Jun 2004, 00:46
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Yay, works now!
Reply With Quote
  #85  
Old 30 Jun 2004, 01:13
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Real name: George E Collins Jr
Originally Posted by mtha
DO NOT begin with a #

it should be

vbsetcookie('password', md5($user['password'] . '12345678'));


where 12345678
is your licence number (8 letters)

then you click to a user to "edit" this user, then you click on the quick link on top, there's something called "login as user"


It doesnt matter if you are superadmin or not, as long as you can access to the member list in ACP

$_hack_canlogin = ""; // comma separated list of allowed userids. leave blank for all admins

If you have this field filled, you have to be "that person" indicated here, in order to use the function.

If you leave blank, all admins (usergroup=6) can use the function, and he can login as anyone else, except other admin.

If you want to login to other admins, you have to change this lines:

if($user['usergroupid']==6)
{
print_cp_no_permission();
}

maybe just remove it.

Or maybe use the userid instead of the usergroupid??
Reply With Quote
  #86  
Old 04 Jul 2004, 00:34
Jolten Jolten is offline
 
Join Date: Mar 2004
Okay.. perhaps I'm blind... I've installed but I see no option anywhere to log in as a user. Where's it at?

Edit Found it. But it would be nice if the log in opened without the admin frameset or in a new window. I can adjust that here. But it might be somethign to include in the hack.

Last edited by Jolten; 04 Jul 2004 at 00:36.
Reply With Quote
  #87  
Old 04 Jul 2004, 09:25
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
great hack

/me clicks install
Reply With Quote
  #88  
Old 06 Jul 2004, 18:52
rms-2004 rms-2004 is offline
 
Join Date: Jan 2004
VERY nice hack. Thanks!
Reply With Quote
  #89  
Old 12 Jul 2004, 16:50
Wifey Wifey is offline
 
Join Date: Mar 2004
Okay, I had this before and when I downgraded then reupgraded I got rid of it. Now when I try to log in as a user it takes me to my account. How do I fix this?

edit: *kicks cookies* I cleared my cookies and temp files and it's working. le sigh

Last edited by Wifey; 13 Jul 2004 at 01:04.
Reply With Quote
  #90  
Old 14 Jul 2004, 16:52
blubber12 blubber12 is offline
 
Join Date: Nov 2003
I'm having similar problems. I did a clean install of 303 and recoded the user files, and still I get logged in under my account. I cleaned all cookies and files as well..and I know I have the proper license number included. any clues?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:20.

Layout Options | Width: Wide Color: