Jump to content

Download: (TVC32) Log In As Member


roc13x
 Share

Recommended Posts


At the moment, I am trying to do that, but so far the only way seems to be by editing an IPB file. I might discover a better way soon, but if you want to enable privacy now:



In /admin/sources/handlers/han_login.php


Go to line 253



Change:


$privacy	= 0;

to:

$privacy	= 1;



That will make any logins using the hook anonymous



this affects only your mod RIGHT?????
I do not want to do anything weird.... :)
Link to comment
Share on other sites


People do have rights, this may be crossing a few boundaries...




Sometimes it helpful. Just a little example:

As everyone knows their are cheat/haxes in online multilayer games. Most of the good servers run anti cheat tools to keep cheaters away. But once your community gets bigger those little hackers target your forums and PM people to "sell" their cheats. I wouldn't like personally that my forum is getting used as a medium to sell their cheats.

Now during this situations mod's like this, PM reading, etc. comes handy so you can check what user is doing.

Every community has its own needs. ;)
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

This would be a handy tool if I could get it working.

It seems to clash with the PIN Awards application. When I turn this Log in as member application I get this error

Fatal error: Call to undefined method pinAwardsProProfileSkinOverload::logInAsMember() in /var/www/vhosts/mysite.com/httpdocs/hooks/LogInAsMemberTemp_f9755ed1b7628a1f211883bf36e0f0f3.php on line 45



If I disable the (PIN) Awards Pro - Profile Modern Skin Overloader Hook I get this error

Fatal error: Call to undefined method skin_profile_11::logInAsMember() in /var/www/vhosts/mysite.com/httpdocs/hooks/LogInAsMemberTemp_f9755ed1b7628a1f211883bf36e0f0f3.php on line 45



Would you have a fix for this please.

Thanks.
Link to comment
Share on other sites

I am not able to bring out a fix, because I simply cannot reproduce it in any way. I have installed Awards Management System, and it still works for me.
If you have trouble with it, try removing it, recaching everything, make sure hook file is deleted, then reimport.

If you are still having problems, can you PM me with a list of the apps and hooks you have installed and which skin you are using, to work out what is causing it on some boards

Thank you

Link to comment
Share on other sites


I am not able to bring out a fix, because I simply cannot reproduce it in any way. I have installed Awards Management System, and it still works for me.


If you have trouble with it, try removing it, recaching everything, make sure hook file is deleted, then reimport.



If you are still having problems, can you PM me with a list of the apps and hooks you have installed and which skin you are using, to work out what is causing it on some boards



Thank you




Thanks very much for the advice.

Looking back on my post I omitted to say that the errors ocurred when I clicked on a members profile in 'Members'.

Anyway, I did as you advised, un-installed, re-cashed everything and then re-installed. Works a treat.

Thanks very much for a great mod.
Link to comment
Share on other sites

  • 1 month later...

FWIW, I installed this and it's working like a champ. Ideally I wouldn't have to log out before trying to spoof another person, but a small quibble. I like that the person I'm spoofing doesn't show up as logged in, which was a failing of previous products for v2 of the boards.

And no, we don't use this casually, but when there is some serious mis-behavior it's a relief to be able to confirm/deny an allegation by checking someone's PM box.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Thanks, I installed this, and have a feature suggestion.


There is a similar mod for Vbulletin, and what's handy is that when you are logged in as a different user, there is a status at the time that lets you know you're logged in as someone else. When you're done, you can click "logout", and it takes you back to your previously used account.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Thanks for the mod.

I'm using it to import blogs from my previous Wordpress blog.

As Admin I cannot create blogs for members - the member has do create it whilst logged in - so I am unable to import the blog entries for selected members of the site.

With this mod, however, I can now login as member "x" - create the blog - import the RSS/XML data - then logout - job done :)

Cheers,
Shaun :D

Link to comment
Share on other sites

  • 1 month later...

Does this work w/3.1.4? I get this error

Argument 1 passed to han_login::__construct() must be an instance of ipsRegistry, null given, called in /home/domain/public_html/hooks/LogInAsMemberSource_hash.php on line 22 and defined in /home/domain/public_html/admin/sources/handlers/han_login.php on line 99

Link to comment
Share on other sites


Does this work w/3.1.4? I get this error



Argument 1 passed to han_login::__construct() must be an instance of ipsRegistry, null given, called in /home/domain/public_html/hooks/LogInAsMemberSource_hash.php on line 22 and defined in /home/domain/public_html/admin/sources/handlers/han_login.php on line 99




I did a test install on a 3.1.4 board and it seemed to work fine. Try re-caching all under "Cache Management" and recaching your skins
Link to comment
Share on other sites

the hook is OK and it is good piece of work

may I suggest adding to the stting new features to protect the privacy of the logged in member ie when I as a moderator login the user say xyz I should not be able to alter the password or see the contents of his private messages and also I should not be able to add posts carrying his name.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Similar Content

    • By Miss_B
      What does it do?
      This app log 5 extra actions of your members and it will display them in their history logs at the Admin Panel and on a new page. The extra actions are as follow. 1. Searching Keywords
      Whenever a member will search for something in your forum, the keyword/phrase will be logged and displayed on their member history. This can come in handy imo, as it will show you what your members are looking for, so you can make adjustements/changes accordingly to attract more members and get better results. 2. Ignoring Members
      Whenever a member will ignore someone, it will be logged and displayed on their member history. 3) Profile Viewing
      Whenever a member will view someone 's profile, it will be logged and displayed on their member history. 4) Forum Viewing
      Whenever a member will visit a forum, their visit will be logged and displayed on their member history. 5) Topic Viewing
      Whenever a member will visit a topic their visit will be logged and displayed on their member history. Visits to own topics are not logged. 6) Log In
      Whenever a member logs in the forum, it will be logged and displayed on their member history. 7) Log Out
      Whenever a member logs out of the forum, it will be logged and displayed on their member history.  
      Logs
      The above mentioned extra member history logs will be displayed on a new page in the Admin Panel->Members->Extra History Logs. These logs can be searched for member names and time frame.  They can also be filtered based on each action.  Note:
      All these extra actions mentioned above, will be logged and displayed on members history from the time that the app is installed.   
    • By BookSeller
      Just made a new member up in the ACP - or rather edited an old one
      Tried to log in with email and pw
      Getting the attached
       

      And then I seem to be stuck on the page as clicking the forum home page gives me the 
      my website/register/?do=validating URL which is the same as above screen shot
       
    • By Mr World
      A bit of API testing first to know it's working:
      \IPS\Member::load('some_username', 'name'); //works as expected, I get the user
      \IPS\Member::load($member_id, 'member_id'); //works as expected, I get the user
      Authenticating a user via the API:
      $session = \IPS\Session\Front::i();
      $session->setMember($member);
      $member = \IPS\Member::load('username', 'name');
      $device = \IPS\Member\Device::loadOrCreate($member);
      $device->anonymous = false;
      $device->updateAfterAuthentication($rememberMe, null);
      $member->memberSync('onLogin');
      $member->profileSync();
      At this point, if I visit the forum, I see that I am logged in as the user so the authentication works.
      But, if I do a $member = \IPS\Member::loggedIn(); I get guest, regardless if I do the call right after authentication or after page refresh.
      Any idea on what am I missing here?
       
    • By Adriano Faria
      About This File
      Logs information about all logins performed on your site, whether they are successful or not. The following information is logged:
      Time of attempt, Member account Username/Email used, IP Address Attempt number Result It should be noted that there is the potential for massive amounts of data to be stored with this application on busy sites, so I recommend you use the LOG PRUNING setting to prune old logs daily.
      Upgrade from version 1.1.0 (IP.Board 3.X):
      Simply perform a FRESH INSTALL of version 2.0.0 and the installer will insert the logs from the old app into the new and will delete all data from old app.  
       
    • By Adriano Faria
      This plugin will create a new topic every time a user gets warned. If the user was already warned, a new post on his topic will be created.
      Settings:
      Topic/Post Author Topic Title Post Content, with several variables to be used Increment author content count Forum (where to create the topic/posts) Groups (users that will have a topic created when they got warned)  
      Note:
      Due to the rework on plugin (every new resource has to be done from the scratch to run on  IPS4), a new purchase is required. Thank you for your understanding.  

×
×
  • Create New...