vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Admin Log In As User (https://vborg.vbsupport.ru/showthread.php?t=115351)

johnrizz 05-21-2006 05:54 PM

Just what the doctor ordered. Great little hack, now I can spy comfortable on my members pm's but only in a respectable way!;)

***Clicked Installed***

Boofo 05-21-2006 08:25 PM

Is there a way to have it say who you are logged in as at the top of the screen (in the header code)?

Abe1 05-21-2006 08:28 PM

Quote:

Originally Posted by Boofo
Is there a way to have it say who you are logged in as at the top of the screen (in the header code)?

Why do you need it there? Just look on the right part of the nav bar. It says there who you are logged in as.

Boofo 05-21-2006 08:44 PM

Quote:

Originally Posted by Abe1
Why do you need it there? Just look on the right part of the nav bar. It says there who you are logged in as.

Ahh, yes, but you have to rememeber that I am old and my eyesight isn't what it used to be. ;)

bada_bing 05-22-2006 02:41 AM

I have a couple questions as Im really interested in this hack...

Stupid question number one.. I am the administrator of my site.. How do I become a Super admin?

Also if im logged in as another user will I show up as being logged in as that user to other members? Hate to be logged in as another user and getting PM'd by one of his buddies?

Boofo 05-22-2006 02:58 AM

Quote:

Originally Posted by bada_bing
I have a couple questions as Im really interested in this hack...

Stupid question number one.. I am the administrator of my site.. How do I become a Super admin?

Also if im logged in as another user will I show up as being logged in as that user to other members? Hate to be logged in as another user and getting PM'd by one of his buddies?

Do like I did, make a phantom account and use that one to log in a another user. Great for testing an no worries about PMs and such. ;)

Abe1 05-22-2006 12:14 PM

Quote:

Originally Posted by bada_bing
I have a couple questions as Im really interested in this hack...

Stupid question number one.. I am the administrator of my site.. How do I become a Super admin?

Also if im logged in as another user will I show up as being logged in as that user to other members? Hate to be logged in as another user and getting PM'd by one of his buddies?

1) You can become a super admin in the config.php file.

2) If you are logged in as another user, NO-ONE will see you online. You will see your self as the first name in the 'who is online' spot on your forum home but no-one else will see you there. Also, go to that users profile and you will see that they are off-line and that their last log-in was NOT when you used the account.

Boofo 05-22-2006 12:34 PM

You're going to kill me for this, but I have to ask. Is there a way to have a setting for that so you can either show them as on-line like a regular user of off line? I use this for a phantom account I have for testing things with the board. It is the only time I ever use that account and it looks like that person never logs in at all. Does that make any sense? ;)

bada_bing 05-22-2006 01:09 PM

Quote:

Originally Posted by Abe1
1) You can become a super admin in the config.php file.

2) If you are logged in as another user, NO-ONE will see you online. You will see your self as the first name in the 'who is online' spot on your forum home but no-one else will see you there. Also, go to that users profile and you will see that they are off-line and that their last log-in was NOT when you used the account.

This is great I will try and install within the next few days...Before I install I need to know how or where in the config file can I make myself a superadmin and what rights difference is it between admin and super admin?

Boofo 05-22-2006 01:13 PM

Quote:

Originally Posted by bada_bing
This is great I will try and install within the next few days...Before I install I need to know how or where in the config file can I make myself a superadmin and what rights difference is it between admin and super admin?

Look for this:

Quote:

// ****** 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'] = '';
and add your userid in there. ;)

Abe1 05-22-2006 02:11 PM

Quote:

Originally Posted by Boofo
You're going to kill me for this, but I have to ask. Is there a way to have a setting for that so you can either show them as on-line like a regular user of off line? I use this for a phantom account I have for testing things with the board. It is the only time I ever use that account and it looks like that person never logs in at all. Does that make any sense? ;)

Maybe I'll add a set of options for this hack. I'll add this one to it.

bada_bing 05-22-2006 02:11 PM

Quote:

Originally Posted by Boofo
Look for this:



and add your userid in there. ;)

Do I add my administrator id here
$config['SpecialUsers']['superadministrators'] = '';

For example I still use my administrator ID so to become a super admin to I do this

$config['administrator']['superadministrators'] = '';

What rights do I gain except the ability to use this hack by making myself a Super Admin?

Abe1 05-22-2006 02:13 PM

Quote:

Originally Posted by bada_bing
Do I add my administrator id here
$config['SpecialUsers']['superadministrators'] = '';

For example I still use my administrator ID so to become a super admin to I do this

$config['administrator']['superadministrators'] = '';

What rights do I gain except the ability to use this hack by making myself a Super Admin?

You will aslo be able to set what parts of the ACP your other admins can see.

Abe1 05-22-2006 02:14 PM

Quote:

Originally Posted by bada_bing
Do I add my administrator id here
$config['SpecialUsers']['superadministrators'] = '';

For example I still use my administrator ID so to become a super admin to I do this

$config['administrator']['superadministrators'] = '';

What rights do I gain except the ability to use this hack by making myself a Super Admin?

If you are userid 1, you would make this:
$config['administrator']['superadministrators'] = '';
in to this:
$config['administrator']['superadministrators'] = '1';

Boofo 05-22-2006 02:16 PM

Quote:

Originally Posted by Abe1
Maybe I'll add a set of options for this hack. I'll add this one to it.

Thank you, sir. I hate to have an account that I use all the time and yet it looks like they are never there. Excellent hack, I've been using it like crazy. :)

The question I asked about adding the name of the account to the top bar, can this be done with just the template edit or would it take more than that?

Abe1 05-22-2006 02:57 PM

Quote:

Originally Posted by Boofo
Thank you, sir. I hate to have an account that I use all the time and yet it looks like they are never there. Excellent hack, I've been using it like crazy. :)

The question I asked about adding the name of the account to the top bar, can this be done with just the template edit or would it take more than that?

You can make the edit your self. Add: $bbuserinfo[username] where ever you want.

Boofo 05-22-2006 03:00 PM

Quote:

Originally Posted by Abe1
You can make the edit your self. Add: $bbuserinfo[username] where ever you want.

LOL I thought of that but didn't remember I would show up logged in as them. Your hack works too good. ;)

N8 05-25-2006 07:34 PM

Umm... I just installed this and it emptied out the code from one of my other plug-ins.

What the hell? :ermm:

Abe1 05-25-2006 07:41 PM

Quote:

Originally Posted by N8
Umm... I just installed this and it emptied out the code from one of my other plug-ins.

What the hell? :ermm:

Can you please explain more?

caliman 06-02-2006 04:44 PM

/me installs

This mod is fanatastic!!!

Works with my vbseo too. Very, very nice. Thank you.

Neo_Angelo 06-09-2006 05:18 PM

this is the funnest hack i've seen, and by far one of the most useful since usually to get into someones account i'd have to change their password now i don't have to, you rawk my friend!

*clicks install repeatably*

nymyth 06-14-2006 07:29 PM

ive done all the edits, however in memberinfo i cannot get that link to show up next to "user options" any thoughts on why??? thanks...

Peace

Abe1 06-14-2006 08:19 PM

Quote:

Originally Posted by nymyth
ive done all the edits, however in memberinfo i cannot get that link to show up next to "user options" any thoughts on why??? thanks...

Peace

Are your template cached with a hack or someting like that?

Do you have more then one style?

I-Web 06-15-2006 08:24 AM

Works superbly even with Vb 3.6 beta 2

nymyth 06-15-2006 12:34 PM

i used to have the template cache by trigunflame, but i have since removed it. Still not showing. I am using a custom style, however im 100% sure i have put the template edit within that style.....

Peace

Mastar 06-17-2006 02:34 PM

How can I make this so that no one can't login as userid 1

Abe1 06-18-2006 01:49 AM

With editing the plug-in, yes. But I can't find the places for you now.

barca4ever 06-18-2006 06:22 AM

Question 1: What will hepened if I want to logged in as user x and user x was already online?

Question 2: What will hepened if I was already logged in as user x and user x was trying to login?

Abe1 06-18-2006 11:51 AM

Quote:

Originally Posted by barca4ever
Question 1: What will hepened if I want to logged in as user x and user x was already online?

Question 2: What will hepened if I was already logged in as user x and user x was trying to login?

Nothing. and Nothing.

This hack does not show your apperance or log that you were there.

Wordplay 06-18-2006 06:47 PM

anyway to make the user's you log out as stay online (stay in who's online)?

Abe1 06-18-2006 08:15 PM

Quote:

Originally Posted by Wordplay
anyway to make the user's you log out as stay online (stay in who's online)?

It doesn't ever show them online.

Surviver 06-19-2006 01:19 PM

Thank you for this nice Hack :)

barca4ever 06-19-2006 08:11 PM

I just downloaded the hack and installed it successfully on 3.5.4

I looged in as another "test" user from users's profile page, BUT its showing as online! I think it should not show as online as the latest version here said!

Abe1 06-19-2006 10:04 PM

Quote:

Originally Posted by barca4ever
I just downloaded the hack and installed it successfully on 3.5.4

I looged in as another "test" user from users's profile page, BUT its showing as online! I think it should not show as online as the latest version here said!

It only shows YOU that he is online.

2 things to prove to you -
1) If you go into his profile, it will say he is offline and that the last time he was online didn't change.
2) If you use another browser and logon to your forum, you will see that user is not logged in.

Mastar 06-20-2006 02:40 AM

Abe1, would be able to tell me how to make it so that no one can't login as userid 1 ?

barca4ever 06-20-2006 08:34 AM

Abe1, after I installed AWS (Advanced Warning System), your hack didn't work! I can login to any other account with no problem, but I click any link, it send my out (as a guest)

I disabled (AWS) but still, same problem :( any idea?

Abe1 06-20-2006 11:47 AM

Quote:

Originally Posted by Mastar
Abe1, would be able to tell me how to make it so that no one can't login as userid 1 ?

Look in the plug-in. You have to replace the if superadmin with if user 1.

Abe1 06-20-2006 11:47 AM

Quote:

Originally Posted by barca4ever
Abe1, after I installed AWS (Advanced Warning System), your hack didn't work! I can login to any other account with no problem, but I click any link, it send my out (as a guest)

I disabled (AWS) but still, same problem :( any idea?

Sorry, no ideas.

nymyth 06-20-2006 02:42 PM

Finally got it to work, had to replace the php file for it to kick in.....thats been happening with a few hacks, where i would have to replace the php file for the hack to work....very wierd....

Peace

Surviver 06-20-2006 06:26 PM

Hello, Abe1.

Thank you for this nice Hack, but i've a Problem.
If I'd like to add a user via ACP, on top of the page there is an error:
Quote:

Warnung: array_merge() [function.array-merge]: Argument #1 is not an array in \admincp\user.php(442) : eval()'d code (Zeile 9)
But i can even though add members ;)

Thank you even though !!!

mfg Surviver


All times are GMT. The time now is 06:47 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.01409 seconds
  • Memory Usage 1,829KB
  • 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
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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