Extension, Module

Archived
Forum
(read-only)

Socialee

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Shotwell Company

     

No longer working, contradictory documentation

General

Dane C Collins
Dane C Collins

This is no longer working.  This makes 3 times it’s worked for a bit, then no longer worked after an EE upgrade, and the docs haven’t reflected the changes… and I haven’t had it that long.

On the site, it says:

Open system/expressionengine/libraries/Auth.php and go to (aboutline 295 where it says:
$hashed_pair $this->hash_password($password$m_salt$h_byte_size); 
and 
add this code after it:
/* -------------------------------------------
/* 'member_member_password_override' hook.
/*  - Override the password for login with a third party provider
/*  - Added for Shotwell's Socialee 1.2
*/

$ext_password $this->EE->extensions->call('member_member_password_override',
$this->EE->input->get_post('username'), $m_pass);

$hashed_pair['password'= ($ext_password)? $ext_password:$hashed_pair['password'];

if (
$this->EE->extensions->end_script === TRUE) return;

/*
/* -------------------------------------------*/ 

In the instructions in the package, it says something entirely different:

Add the following at line 300 of this file system/expressionengine/modules/member/mod.member_auth.php
  
/* -------------------------------------------
       /* 'member_member_password_override' hook.
       /*  - Override the password for login with a third party provider
       /*  - Added for Shotwell's Socialee 1.2
       */
        
$password $this->EE->extensions->call('member_member_password_override'$this->EE->input->get_post('username'), $query->row('password'));
        if (
$this->EE->extensions->end_script === TRUE) return;
  
/*
       /* -------------------------------------------*/ 

I’ve tried both, neither works.  I uninstalled.  Other than not updating docs, this may not be your fault (just changes to EE), but I don’t have time to keep doing this.

shotwell
# 1
Developer
shotwell

Hi Dane,
We hear you. We end up doing the same thing each time we upgrade a client site with it. That’s why we’ve come up with a way to avoid hacking the core file. We’re trying to find a day to integrate this into the next Socialee build but it should be very soon.

Did you end up getting it working? This is EE2 right?