Jibeji Posted October 24, 2018 Share Posted October 24, 2018 Hello, One more question with \IPS\Member class. 🙂 I am looking for a way to rename a user, something like : $member = \IPS\Member::load( $member_id ); $member->rename( $new_name ); Is it feasible ? Link to comment Share on other sites More sharing options...
Daniel F Posted October 24, 2018 Share Posted October 24, 2018 There's no method, you can just set the new name value. $member = \IPS\Member::load( $member_id ); $member->name = $new_name; $member->save(); Â Link to comment Share on other sites More sharing options...
Jibeji Posted October 24, 2018 Author Share Posted October 24, 2018 Thank you Daniel ! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.