vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Admin Log In As User (https://vborg.vbsupport.ru/showthread.php?t=122939)

Luggruff 10-24-2006 02:45 AM

strange, same as with CYB's hack.. I'm userID 2.. I'm in the config:
Code:

        //        ****** SUPER ADMINISTRATORS ******
        //        The users specified below will have permission to access the administrator permissions
        //        page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1, 2';

..still, only the guy with UserID 1 can view this.. and It's getting seriouslt agitating! o_0

Abe1 10-24-2006 03:57 AM

Quote:

Originally Posted by Luggruff
strange, same as with CYB's hack.. I'm userID 2.. I'm in the config:
Code:

        //        ****** SUPER ADMINISTRATORS ******
        //        The users specified below will have permission to access the administrator permissions
        //        page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1, 2';

..still, only the guy with UserID 1 can view this.. and It's getting seriouslt agitating! o_0

get rid of the space. should be '1,2'

Luggruff 10-24-2006 10:05 AM

Quote:

Originally Posted by Abe1
get rid of the space. should be '1,2'

Allready tried that, sorry =\

Luggruff 10-24-2006 07:04 PM

Ok seriously, now I feel dumb. I've been trying to edit a config.php file located in the wrong folder. ha!

Now it works fine, only that when I log onto a user that is offline, I can see him/her as online in "who's online" ..am I alone or can everyone else see the user as online too?

JoshHighland 10-24-2006 10:03 PM

question.. if I log in as a user then read their private messages, when they come in, will it show their PM's as read?

Abe1 10-24-2006 10:14 PM

Quote:

Originally Posted by Luggruff
Ok seriously, now I feel dumb. I've been trying to edit a config.php file located in the wrong folder. ha!

Now it works fine, only that when I log onto a user that is offline, I can see him/her as online in "who's online" ..am I alone or can everyone else see the user as online too?

Only you can see that he is online. No one else can see you online. Go look in the users profile. It will show them offline.

Abe1 10-24-2006 10:14 PM

Quote:

Originally Posted by JoshHighland
question.. if I log in as a user then read their private messages, when they come in, will it show their PM's as read?

You have to mark them as unread.

Luggruff 10-25-2006 06:56 AM

Quote:

Originally Posted by Abe1
Only you can see that he is online. No one else can see you online. Go look in the users profile. It will show them offline.

sweet<3duude!

Luke Brown256 10-25-2006 12:59 PM

Hi abe with your hack i saw that:

Code:

unset($vbulletin->db->shutdownqueries['lastvisit']);
That will stop the users last visit information being updated when the admin logs in.

But where in your code does it stop the user from being displayed in who is online?

Luke

Abe1 10-26-2006 02:12 AM

Quote:

Originally Posted by Luke Brown256
Hi abe with your hack i saw that:

Code:

unset($vbulletin->db->shutdownqueries['lastvisit']);
That will stop the users last visit information being updated when the admin logs in.

But where in your code does it stop the user from being displayed in who is online?

Luke

If the visit info is not updated, then they wont show up online.

try this

Open 2 diff browsers.

In one log in as your self

In the other, log in to an off line user using this hack.

Use the other browser to look at who is online. You will see that the user you just logged in as is not online. Also, you will notice that his last log-in time did not change.


All times are GMT. The time now is 11:27 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.01419 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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