vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Login as user (https://vborg.vbsupport.ru/showthread.php?t=39841)

Smoothie 06-17-2002 03:27 AM

Anyone post a text version of this, please?

SWRoleplay.com 06-17-2002 03:55 AM

Quote:

Exactly where and how would you put that code?
After:

PHP Code:

require("./global.php"); 


Boofo 06-17-2002 05:06 AM

???

Quote:

Originally posted by SWRoleplay.com


After:

PHP Code:

require("./global.php"); 



Derek 06-18-2002 11:37 AM

Use this if you want... in the first user.php edit, you can instead of using "Login as User" you can type in the following and it will show up as "Login as Johnny" or whatever the person's username is.

Code:

Login as $user[username]

Derek 06-18-2002 11:56 AM

Another thing... I can't get the work only for userid=1 thing to work... I admined my Test Account and two things happened...

1. After clicking on the Find for the user search and after I typed in the name or partial on either the front page or in the find page, I got a blank page.

2. Second, I copy and pasted the link that logs me in as the other user into my browser address bar while I was logged in the admin CP under Test Account and I was able to get access.

Please help.

Boofo 06-18-2002 12:05 PM

I'm not sure if you got this yet, but here it is. :)

Text version of this hack

Quote:

Originally posted by Smoothie
Anyone post a text version of this, please?

inetd 07-29-2002 10:46 PM

good hack
work's fine!
click install :)

dwh 08-10-2002 03:24 AM

Excellent hack...here's an addition...so you have the link when searching for user:

replace
PHP Code:

makelinkcode("edit access masks","user.php?s=$session[sessionhash]&action=editaccess&userid=$user[userid]").

with

PHP Code:

makelinkcode("edit access masks","user.php?s=$session[sessionhash]&action=editaccess&userid=$user[userid]").
makelinkcode("login as user","user.php?s=$session[sessionhash]&action=loginas&userid=$user[userid]",1).


BrAinZ 08-23-2002 04:00 PM

Sounds like it could be useful, although I'm guessing that logging in as a user is going to reset all their New posts / New PMs etc ?

Would there be any way of keeping all the last visit info etc, sort of "stealthy" log in as user ??

wolfman 08-30-2002 12:56 AM

man I love this hack this is a great life saver on checking permisions

wolfman 09-04-2002 03:10 AM

Well I have a problem with this hack as it does not let me login as the user. I am sure I have done something wrong or possibly messed it up with another hack. I will go back step by step through this to see if there is something I missed.

Thanks

Automated 12-18-2002 03:36 PM

Silly question here, but how do i login as the user? The vbhacker file said everything was done correctly, but i dont see any links :(

Pls help! Thanks
Matthew

Automated 12-18-2002 03:48 PM

The vbhacker file for this doesnt work! I had to use the text file, which didnt really bother me, But now i when i click the link to login as the user it just takes me to my forum home page logged in as me!

Whats going on?

over 12-19-2002 12:18 PM

nice.

Chris M 12-19-2002 12:38 PM

Automated - Refresh;)

Satan

Brahm 12-21-2002 01:04 AM

Yeah,
I installed it according to instructions, but when I click "login as user" it takes me to my board logged in as admin (myself). I have tried refresh. I have tried clearing cookies, etc. It still does the same thing.

TheComputerGuy 02-24-2003 12:37 AM

Great hack, I love it!

msimplay 02-24-2003 01:03 AM

I only have one question b4 i attempt to install i know it says 2.26
but i need to know if it works for 2.30
Please

msimplay 02-24-2003 02:45 AM

ok forget what i just sed
i installed the hack
but i really dont get it
how on earth do i sign in as a user
i dont even know where the link is
and if there is a template to add why didn't it say so in the hack :S

msimplay 02-24-2003 02:54 AM

LOLLLLLLLLLLLLLLL
i finally got it
after searching for aaaaages

ummmmm
Love da hack i must say but pleaaaaase give better instructions next time :D

Grunt 02-26-2003 12:12 PM

worked like a champ on 2.27 - no problems whatsoever using just the hack from the posted text file

Bad Bunny 03-04-2003 11:01 AM

Great hack. Works perfectly. Sure makes my job much simpler at times. :)

Merjawy 03-04-2003 01:41 PM

This hack is great.. thnx man.. I have done it manualy many times when users have problems I reset their password and login as them then they change password.. its just a mess


now I can login with a user's name and still stay on as admin :)
thats cool


only think if you could explain a little more on how to make it used by admin 1 only not any other admins and that will be great


thanks again ..... INSTALLED

TranceMaster 03-07-2003 12:12 PM

works perfect man
thank you :)

Zelda-King 04-30-2003 01:12 PM

I was logged in as another admin and tried out the feature again, then when it went to the logout screen it didn't work properly because /admin/ was in the directory.

Courage 05-16-2003 09:29 PM

I canno use this on vb 2.3.0 :(

When I try to login as a user i get a violet vb page..

gmarik 05-24-2003 08:55 AM

Oh - me to! Please rebuild it for 2.3!

reismarktq2 06-17-2003 08:11 PM

/me clicks install.

Courage/gmarik: It's working fine on my 2.3.0...

DannyBoy8406 07-04-2003 03:25 AM

It seems to work fine, I had no porblems installing this at all, but when I click the link to login as the user this is the message I get:

Quote:

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

Warning: Cannot add header information - headers already sent by (output started at /home/wb-devotions.com/html/admin/adminfunctions.php:19) in /home/wb-devotions.com/html/admin/functions.php on line 1667

DannyBoy8406 07-04-2003 03:53 AM

nevermind.....

Quote:

Try adding the "if ($action=="loginas"){" - Code before "cpheader();" at the beginning of the file (near line 42)
thx Hotte

ImportPassion 09-02-2003 12:58 PM

this is sweet as pie

alkatraz 11-25-2003 01:00 AM

awesome hack!

works great on 2.28

Xxman 01-11-2004 02:53 PM

It doesent work on my 2.2.9


Why this error ?

Quote:

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/global.php:314) in /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/functions.php on line 1688

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/global.php:314) in /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/functions.php on line 1688

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/global.php:314) in /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/functions.php on line 1688

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/global.php:314) in /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/functions.php on line 1688

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/global.php:314) in /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/functions.php on line 1688

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/global.php:314) in /home/httpd/vhosts/uniportal.org/httpdocs/portal/forum/admin/user.php on line 50

Xxman 01-13-2004 07:27 PM

..anybody ? :(

Xxman 01-24-2004 12:20 PM

Awesome ,nobody answer me..

Red Blaze 01-30-2004 04:29 PM

Ah, thanks, a really nice hack. Will be very useful for understanding some errors that I can't see.

Xxman 02-05-2004 08:46 PM

It's doesent work on 2.2.9. Hotte ..please make a fix.

Alidar 11-10-2004 02:08 AM

<font color="Green">****Clicks Install ****</font>

Bad Bunny 08-19-2005 02:20 PM

Quote:

Originally Posted by Alidar
****Clicks Install ****

It would be nice to have something like this for 3.5

Eagle Creek 03-05-2006 08:11 PM

Quote:

Originally Posted by Bad Bunny
It would be nice to have something like this for 3.5

https://vborg.vbsupport.ru/showthrea...3.5#post737648


All times are GMT. The time now is 04:53 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.01463 seconds
  • Memory Usage 1,818KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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