Jump to content

HELP!!! I cannot hook \IPS\Member


Xiaodidi8

Recommended Posts

I want to use \IPS\Member::load($idVal, 'ex_id') with my new `ex_id` field.

I hooked the \IPS\Member class and try to overwrite the static variable:

    protected static $databaseIdFields = array (
      0 => 'name',
      1 => 'email',
      2 => 'fb_uid',
      3 => 'live_id',
      4 => 'google_id',
      5 => 'linkedin_id',
      6 => 'ipsconnect_id',
      7 => 'twitter_id',
      8 => 'ex_id'
    );

After then, the forum gives me ERROR: Call to undefined method IPS\Member::setName() on init.php:432

Can anyone help me? Or should I do it in another way?

Thanks

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...