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)

Chris M 06-15-2002 10:32 AM

Before :

PHP Code:

if ($action=="loginas"){ 

IMO, This Hack is great for helping newer users - Some new users want to upload Custom Avatars etc, but dont have a clue as to how...

I know you can do it via the CP, but it is bland and boring that way:D

It can also be useful, because with one hack, you can read ALL the User's PMs, and delete their messages etc...

It isnt very reassuring to know that an Admin can login as you, so thats why I would only give access to this to Userid=1 (me)...Most likely I would never use it for practical reasons, but at least I have the chance to, and users dont have to worry about other admins doing it...

Satan

Hotte 06-15-2002 12:08 PM

When the users don´t trust the admin, why are they still registered at your board? This hack helps much, if you use the vbulletin-permission system with own 3rd party scripts but with standard errorreportings from users too. In my case i´ve over 190 forums in my vbulletin with many permission-settings. If I change something there, it is very usefull to check the perms if they are working as intended. And yes, my users know about that and they have nothing against it.
(hope the translationservice has done acceptable work with this post.... )

plattopus 06-15-2002 02:11 PM

It could be good to test hacks etc with other members' settings without having to demote yourself to Registered and changing your own settings.

Good job.

Lovaboye 06-15-2002 03:18 PM

Quote:

Originally posted by Hotte

This error seems to occur, if a board doesn?t use gzip.

YES i have to enable gzip! Thx it works perfectly!

malc 06-15-2002 07:41 PM

Quote:

Originally posted by Hotte

Do you have copied the complete "if ($action=="loginas"){"-Part before cpheader();?
Make sure that you move
PHP Code:

if ($action=="loginas"){
    
$user=$DB_site->query_first("SELECT password FROM user WHERE userid='$userid'");
    
vbsetcookie("bbuserid","",1);
      
vbsetcookie("bbpassword","",1);
    
vbsetcookie("sessionhash","",1);
    
vbsetcookie("bbuserid",$userid);
    
vbsetcookie("bbpassword",$user[password]);
    
Header("Location: ../index.php");


before cpheader();
This error seems to occur, if a board doesn?t use gzip.

thanks works finely :)

Lovaboye 06-15-2002 08:55 PM

ok it seems that that probs fixed, but its time for the only allow a certain admin feat ure to be fixed. Did anyone test it with success? Cause i did, and bummer! No luck?????????

DRnetman86 06-16-2002 12:42 AM

does it work with 2.2.5?

Brad 06-16-2002 10:17 AM

Quote:

Originally posted by DRnetman86
does it work with 2.2.5?

yes as long as you enable GZIP (found in vbulletin options part of the CP)

sphinx 06-16-2002 12:11 PM

I nstalled and works fine,it I had a problem where my mods couldn't see the staff and used this hack to check everything nice hack m8

Lovaboye 06-16-2002 02:06 PM

ok it seems that that probs fixed, but its time for the only allow a certain admin feature to be fixed. Did anyone test it with success? Cause i did, and bummer! No luck?????????


All times are GMT. The time now is 07:49 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.01158 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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