Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Xiaodidi8 Posted August 20, 2015 Posted August 20, 2015 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:432Can anyone help me? Or should I do it in another way?Thanks
Xiaodidi8 Posted August 20, 2015 Author Posted August 20, 2015 oops!!! I found that I used a wrong method, should be set_name.We can close this topic
Recommended Posts
Archived
This topic is now archived and is closed to further replies.