![]() |
Quote:
|
in the latest version, you can select which users ARE able to log into administrators accounts.
But keep in mind without editing it yourself (as i did) , it only works if administrators, have their PRIMARY usergroup set as administrators. |
Quote:
|
Nice mod, however a few problems.
My forum uses forum.php for the equivalent of index.php (Because of the arcade). I'm assuming your code deletes a cookie when pushing the go back to my account button. However, when you login to the acp using your real account, VB automatically switches your account you're logged in under on the forums to that account. Therefore I sometimes get the message:Eric, You are currently using Eric's account. Click here to go back to your admin account. This causes some template errors using the method I explained as well. Just a few things to touch up before I'll make this mod permanent on my forums. Very nice though! |
Another Question, how can i rewrite the xml to let Co-Admin use this (UsergroupID9).
Tried different versions but nothing works. A little help would be very fine. |
Two things I'm really wondering hard about, and that nobody else in this thread seems to care about at all:
-If I log in to a users account, and that user is currently logged on.. what happens? -If I post on behalft of another user, can other admins see that I was the "real" poster or not? If not, implement it! (it's necessary that noone ever can be totally anonymous, in situations where someone might get a split nerv and post stuff on behalft of someone else, as a result of a grudge against a sertain user or whatever) Fix this, and I'll install it in a jiffy! :D |
1) nothing really happens you are still both logged in.
2) No there is no way to do that, the only way to check would be the check the IP address which is a pretty sure indicator, and have faith in your admins. If you think you admins WOULD do something like that, then they shouldnt be admins for on and shouldnt have access to this tool. |
Quote:
Quote:
EDIT: So i installed the hack even though my concerns aren't fixed, only, when setting admins.. i get to the SMILEY guide o_0 You could just as easy have linked to the misc.php page only.. =\ Could it be that "Cyb - Advanced Forum Rules" and "Cyb - Check If Already Posted" have like 90% same name on hooks? (same name of hooks is a BIG no-no of what I've allways heard from other developers) |
You get the smiley guide if you are NOT a superadmin.
|
Quote:
Code:
// ****** SUPER ADMINISTRATORS ****** |
Ok then just out of interest by any chance is your PRIMARY usergroup NOT Administrators.
|
Quote:
Oh my: Where do I change that hiddeous GREEN color on the "Forum rules" link in the navbar? o_0 EDIT: is it supposed to be: $config['SpecialUsers']['superadministrators'] = '1, 2'; or $config['SpecialUsers']['superadministrators'] = '1', '2'; ? EDIT2: - Back-To-Admin does not work - Get's 404page (the other admin at my forum with userID #1 can use the system) - Latest activity on the userprofile shows if admins log in to the account, in that other hack (on second hand, it might have been the 3.5.4 version of that hack), it doesn't (read it in the posts of that hacks thread).. would be cool if fixed! EDIT3: The other admin at the forum with UserID #1 wrote me down in the "Set Admins" page, I can now see the link to "log in as user" in the userprofiles, though, I just get a strange vbulletin-message saying that the user is not registred and therefor there is no profile to view! could this be more agitating? |
kk:
'1, 2'; Is correct so that is fine. 2) i am not sure what your saying. 3) no idea for that The hack works fine for me, as you read i modded it so it would work for admins whose primary usergroup was not administrators but that is it. I think CYB should answer these questions. |
Quote:
And by the way, "TIP" when doing stuff like adding a link to the menu for everyone to see, either put it in a template or include the colorchange of that link in the hack options. Especially when choosing a color like BoogerGreen o_0 EDIT1: OK I REALLY need to understand this hack! "cybfrules_forceuser" is located in the User Profile page, though it is not a bit of code included in the memberinfo template. Wich demands me knowing HOW and WHAT is saying where that Link is going to show up (in the user profile).. I need to move the link to another spot in the Users Profiles as it just takes up too much space lying on the same row as a bunch of other links! -_- (see picture) |
Now seriously, when needed support, it is most often needed as right away as possible.
And In this case, I couldn't care less if you've written that you suck at support, you really made it your responsibility when you posted a hack with this greatly hidden parts of code that _some people_ can't uderstand where to reach, and that _need_ to reach it! Summing it all up in one post as it seems I've got all the time in the world:
|
lol... this hack is pure evil...but I love it :p
|
Ok, I feel stupid. Edited a bogus config.php file -_-
Still one problem remains: Logging back into the admin account again. Following error follows: Code:
Database error in vBulletin 3.6.2: |
kk that error message is most likely caused by the cookie not being set.
as you can see from the statement: SELECT userid, username, password, salt, styleid FROM user WHERE userid = no userid is specified which is causing the error. Make sure you have cookies enabled and try again. |
by making a slight alteration to the code i have worked out how to stop it altering when the user last logged in:
I edited Cyb - Login To Other User Account - LTU: this section: Code:
vbsetcookie('userid', $cyb_target_user['userid']); Code:
vbsetcookie('userid', $cyb_target_user['userid']); But like the other one they still appear logged in , in the who is online section. |
Quote:
Quote:
|
i am not exactly sure how he done that then, i looked through the code and there was no particular special function other than that one, which i added in.
|
It does not work for me.
I click on Log In As User but nothing happens. There is no alert message, I still see the staff zone, the user does not show up in the member list -> I am not logged in as this member. Even via the ACP, if I try to login as a user I only get to his profile but nothing else happens. The link that is called is /member.php?do=cyb_loginasuser&u=12345 HMMM |
Quote:
- Have you set yourself as SuperAdmin in /includes/config.php? (if you do not have userID 1) - Have you added the template changes? - Is Administrator (usergroupID 6) your primary usergroup? And what do you mean by: Nothing happens? Everything's just as usual, with your own username in the welcome message? |
I am a superadmin
I don't have added the template changes because I see the link and yes, 6 is my admin group With nothing happens I mean nothing happens, the site reloads and thats it. no Username change in welcome, no user showing up in who's online except me, nothing ;) I have no clue why not |
I need to get some help changeing go back to admin, U have vBadvanced and it goes to the index, not index2
|
Great Mod!
Clicked installed and have one question.. I was testing it out on a couple of users that are on my board and now in the members list even though I switched back logged off they still show up in the members list as online. I tried clearing cookies that didn't seem to do anything either. Any ideas? Thanks in advance |
That is blocked in abes script, but abes doesnt work for me...=(
|
I have the same:
Database error in vBulletin 3.6.3: Invalid SQL: SELECT userid, username, password, salt, styleid FROM allwheeljunkies_user WHERE userid = LIMIT 1; MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4 Error Number : 1064 Date : Sunday, November 26th 2006 @ 05:22:58 PM Script : http://allwheelnetwork.com/index.php?do=backtoadmin Referrer : http://www.allwheelnetwork.com/index.php IP Address : 66.91.236.50 Username : Unregistered Classname : vb_database Error! I have tried on IE and FF and both do it and have cookies enabled and everything checks out. Cookie user id is not getting set for some reason. I give up and will deactivate the nav box info. If anyone figures this problem out let me know it is pain in the a s s. |
I've been trying to figure this out for a few days now (off and on), but can't figure out why my login name/ID does not display before the message:
, You are currently using Tesuser's account. Click here to go back to your admin account. Code:
<phrase name="cyb_ltoua_goback"><![CDATA[{1}, You are currently using {2}'s account. Click <a href="{3}">here</a> to go back to your admin account.]]></phrase> Any help would be greatly appreciated! |
Download latest XML and import it.
Be sure hack's templates are not customized. Be sure you have enabled cookies in your browser. |
Nice plugin, but I wouldn't use it. I feel that it is an invasion of users' privacy.
|
Quote:
Okay, I just downloaded and imported the latest XML, checked my cookie settings etc..., and I still have the same problem: See my prior post: #69 I even went as far as checking multiple browsers... |
Quote:
Be responsible with it, and no one gets hurts. |
Can you make it so that moderators can't see that the user has the same IP adress for postings as the admin. in other words: when an admin login as the user, it keeps the IP from the user, not the one from the admin. Hopefully you understand this :D
|
This is one of the best hacks ever :D
|
installed
|
Quote:
Then what would cause this if they are registered? Quote:
|
works great - thanks
|
Thanks for the great mod!
|
Loving this hack, thanks a lot!
|
All times are GMT. The time now is 04:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|